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

Solution In Progress - 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In