Unmounting a file system that is mounted on a subdirectory of a gfs2 filesystem will fail in RHEL 6 Resilient Storage clusters

Solution Verified - Updated -

Issue

  • Mounting a filesystem as a submount on a GFS2 filesystem will cause umount to fail
  • I have a file system mounted on a subdirectory of GFS2, and umount fails with "not found", but seems to leave the device mounted.
# mount | grep gfs2
/dev/dm-2 /mnt/a gfs2 rw,seclabel,relatime,hostdata=jid=0 0 0
/dev/dm-3 /mnt/a/b gfs2 rw,seclabel,relatime,hostdata=jid=0 0 0
# umount /mnt/a/b 
umount: /mnt/a/b: not found
# echo $?
1

Environment

  • Red Hat Enterprise Linux (RHEL) 6 with the Resilient Storage Add On
  • A file system of any type mounted on a subdirectory of a Global File System 2 (gfs2) mountpoint
  • kernel releases starting with 2.6.32-431.20.1.el6 up to (but not including) 2.6.32-504.1.3.el6

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