netfs init script on RHEL 5 and 6 always mounts netdev devices after NFS devices

Solution Verified - Updated -

Issue

  • When the system reboots, the NFS devices are mounted before the _netdev devices and a umount/remount of the NFS devices is required to ensure the desired mount sequence.

    Example /etc/fstab entries:

/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 _netdev device's filesystem hierarchy, this results in the undesirable situation where the NFS device is mounted before the _netdev device.

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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.