[Gluster-users] Disabling NFS

Mike Hanby mhanby at uab.edu
Wed Mar 30 17:20:38 UTC 2011


Howdy,

With 3.1.3 the option was added to disable the builtin Gluster NFS.

Does that mean that the following scenario should work:
1. Disable Gluster NFS "gluster volume set <VOLUME> nfs.disable on"
2. Restart the gluster servers for good measure
3. On one of the gluster servers, mount the volume using the gluster fuse client:

mkdir /export/users

# In /etc/fstab add
localhost:/users /export/users           glusterfs defaults,_netdev       0 0

mount /export/users

4. Export the gluster mounted volume from the gluster server using CentOS 5.5 provided NFS server:
cat /etc/exports

/exports/users/someuser   192.168.2.10(rw,async,root_squash)

5. Start system provided NFS server on the gluster server, configure the firewall properly for NFS access

6. On the client machine, 192.168.2.10, check that the export is advertised:

$ /usr/sbin/showmount -e nas-srv-01
Export list for nas-srv-01:
/export/users/someuser 192.168.2.10

7. Mount it on the client 192.168.2.10 machine

mount -t nfs nas-srv-01:/export/users/someuser /mnt/someuser

mount: nas-srv-01:/export/users/someuser failed, reason given by server: Permission denied


The server reports:
Mar 30 11:59:50 nas-srv-01 mountd[20233]: authenticated mount request from 192.168.2.10:909 for /export/users/someuser (/export/users/someuser)
Mar 30 11:59:50 nas-srv-01 mountd[20233]: Cannot export /export/users/someuser, possibly unsupported filesystem or fsid= required



=================================
Mike Hanby
mhanby at uab.edu
UAB School of Engineering
Information Systems Specialist II
IT HPCS / Research Computing





More information about the Gluster-users mailing list