netfs init script on RHEL 5 and 6 always mounts netdev devices after NFS devices
Issue
-
When the system reboots, the NFS devices are mounted before the
_netdevdevices and a umount/remount of the NFS devices is required to ensure the desired mount sequence.Example
/etc/fstabentries:
/dev/vg1/vol /mnt ext3 _netdev 1 2
nfs-server:/nfsexport /mnt/nfsmount nfs defaults 0 0
- If there is an interdependency between mount points, e.g. mounting an NFS device in a sub directory of a
_netdevdevice's filesystem hierarchy, this results in the undesirable situation where the NFS device is mounted before the_netdevdevice.
Environment
- Red Hat Enterprise Linux (RHEL) 5
- Red Hat Enterprise Linux (RHEL) 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
