bind mount entries in fstab file mounts the file system many times after mount-a command is executed

Solution Verified - Updated -

Issue

  • Multiple entries found of bind mount in /proc/mounts and /etc/mtab file after running mount -a command.
# grep -i test /proc/self/mounts
/dev/mapper/rootvg-test on /test type xfs (rw,nosuid,nodev,relatime,seclabel,attr2,inode64,noquota)
/dev/mapper/rootvg-test on /test type xfs (rw,nosuid,nodev,relatime,seclabel,attr2,inode64,noquota)
/dev/mapper/rootvg-test on /test type xfs (rw,nosuid,nodev,relatime,seclabel,attr2,inode64,noquota)

Environment

  • Red Hat Enterprise Linux 7
  • util-linux : util-linux-2.23.2-61.el7_7.1.x86_64

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