Red Hat Bugzilla – Bug 842253
Native client doesn't accept the _netdev mount option that's recommended in the Adminstration Guide
Last modified: 2015-04-10 03:16:16 EDT
Description of problem:
In chapter 184.108.40.206, Admin Guide states
To automatically mount a Gluster volume
• To mount a volume, edit the /etc/fstab file and add the following line:
HOSTNAME-OR-IPADDRESS:/VOLNAME MOUNTDIR glusterfs defaults,_netdev 0 0
but the option seems to be unknown to the FUSE client:
[root@client1 ~]# mount /distmnt1/
unknown option _netdev (ignored)
Version-Release number of selected component (if applicable):2.0
Steps to Reproduce:
Deleted _netdev option and the updated documentation is available at: http://documentation-devel.engineering.redhat.com/docs/en-US/Red_Hat_Storage/2.0/html/Administration_Guide/chap-Administration_Guide-GlusterFS_Client.html#sect-Administration_Guide-GlusterFS_Client-GlusterFS_Client-Mounting_Volumes
Verified it in the above mentioned link and looks fine.
Please note that the _netdev option should be ignored by the GlusterFS native client (see Bug 848320, Bug 827121 and Bug 858442).
It is crucial for automated mounts on boot to have the _netdev option in /etc/fstab. Without the _netdev option in /etc/fstab the /etc/rc.d/rc.sysinit script will try to mount the volumes before starting the network, and fail.
It is correct that any mount commands do not need the _netdev option, the only requirement is to have _netdev in /etc/fstab.
I have added _netdev option in the /etc/fstab entry for automated mount. The updated documentation is available at: https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Storage/2.0/html/Administration_Guide/chap-Administration_Guide-GlusterFS_Client.html#sect-Administration_Guide-GlusterFS_Client-GlusterFS_Client-Mounting_Volumes
Thanks Divya! That looks good to me.
Verified in the link above.