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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content