NFS mount doesnt work anymore since upgrade to 1.3RC (trunk)
-
Hello,
i did an upgrade of my FOG server, webinterface is ok but the NFS mount from my NAS is not working anymore…
I do not edit anything, i have just upgraded.I get this:
mounting filesystem failed permission denied
My /etc/exports:
/images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0) /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
Any idea? Where can i look at ? Thank you
-
How would a FOG upgrade impact your NAS? I’m assuming we’re talking two different devices, yes?
-
yep two different devices…FTP/NFS from the nas is ok, i can manually mount NFS and FTPs too.
I dont really know where to look in the FOG server, all the settings seem ok for me, nothing changes…
-
@raumin What does your storage node settings look like?
Do your NAS Image folders have .mntcheck files?
-
@raumin Can you post the screenshot of your storage node (NAS) configuration from web ui ?
-
.mntcheck are presents in /image/ and /images/dev on the NAS.
Here the screenshots of the settings
-
@raumin Check if the password matches with your NAS.
Also, what do the permissions and ownership of the images folder on the NAS look like? (ls -lah /images)
-
Password is ok.
Here the rights:
root@rudolf:/var/log/fog # ls -lah /images/ total 181K drwxrwxrwx+ 23 500 users 4.0K Jul 18 10:52 . drwxr-xr-x 26 root root 1.0K Sep 20 10:16 .. drwxrwxrwx+ 2 500 users 4.0K Dec 21 2015 764 drwxrwxrwx+ 2 500 users 4.0K Oct 19 2015 764New drwxrwxrwx+ 2 500 users 4.0K Jan 22 2015 764v2 drwxrwxrwx+ 2 500 users 4.0K Nov 3 2015 764v3 drwxr-xr-x+ 2 500 users 4.0K Jun 30 17:03 CELAB_30062016_POSTSYSPREP drwxr-xr-x+ 2 500 users 4.0K Jul 18 10:52 CELAB_30062016_PRESYSPREP drwxrwxrwx+ 2 500 users 4.0K Jul 18 10:52 dev drwxrwxrwx+ 2 500 users 4.0K Dec 21 2015 GOTTIFORMATIONCONTINU -rwxrwxrwx+ 1 500 root 0 Jan 12 2015 .mntcheck drwxrwxrwx+ 2 500 users 4.0K Mar 2 2016 postdownloadscripts drwxrwxrwx+ 2 500 root 4.0K Jan 12 2015 @Recycle drwxr-xr-x+ 2 500 users 4.0K Mar 24 16:22 test_windows10 drwxrwxrwx+ 2 500 users 4.0K Jun 23 2015 uniserv drwxr-xr-x+ 2 500 users 4.0K Jun 27 14:22 WIN10CELABLABO drwxrwxrwx+ 2 500 users 4.0K Jul 15 2015 win732bits drwxrwxrwx+ 2 500 users 4.0K Jun 26 2015 win764vierge drwxrwxrwx+ 2 500 users 4.0K Mar 1 2016 windows10v1 drwxrwxrwx+ 2 500 users 4.0K Mar 3 2016 windows10_v2 drwxrwxrwx+ 2 500 users 4.0K Mar 4 2016 windows10_v3_avant_sysprep drwxrwxrwx+ 2 500 users 4.0K Mar 7 2016 Windows10v4 drwxrwxrwx+ 2 500 users 4.0K Mar 17 2016 Windows732bitCELAB drwxrwxrwx+ 2 500 users 4.0K Apr 23 2015 XPCELABO
-
@raumin Can you post the result of :
showmount -e 172.20.25.204
? -
@raumin said in NFS mount doesnt work anymore since upgrade to 1.3RC (trunk):
/images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
/images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
Fyi it’s useless because it’s your NAS that export NFS shares, not your FOG server.
-
I made a couple of test with @raumin, the showmount is OK, he tried to mount the nfs share on the FOG server without problème with
mkdir /tmp/willy && mount -t nfs -o rw 172.20.25.204:/images /tmp/willy
, he can write in…Any other ideas ? xD
-
@ch3i What does the exports file on the NAS look like?
-
@Quazz I think the exports in his post is the FOG server export not the NAS exports file
-
Picture of error :
-
@raumin I don’t know if it’s normal that you have a double backslash in the nfs url
//images/
-
After removing the
/
in the path (in web ui), it’s functional… -
Yep, everything is ok.
Thank you !