Unmounting a file system that is mounted on a subdirectory of a gfs2 filesystem will fail in RHEL 6 Resilient Storage clusters
Issue
- Mounting a filesystem as a submount on a
GFS2filesystem will cause umount to fail - I have a file system mounted on a subdirectory of GFS2, and
umountfails 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 kernelreleases starting with2.6.32-431.20.1.el6up to (but not including)2.6.32-504.1.3.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
