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, 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