In RHEL7, how to configure bind mount for network based filesystem.

Solution Verified - Updated -

Issue

  • Following bind mount configuration in /etc/fstab does not work as expected at boot time.
gluster1:/test  /gluster    glusterfs   _netdev,defaults 0 0
/gluster/test   /test   none    bind,defaults   0 0
  • Is there any way to achieve bind mount for network based filesystem at boot time?

Environment

  • Red Hat Enterprise Linux 7
  • bind mount for network based filesystem.

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.