After issuing `umount -a` the GFS2 fs hangs when mounting it
Environment
- Red Hat Enterprise Linux Server 5 (with the High Availability and Resilient Storage Add Ons)
- Red Hat Enterprise Linux Server 6 (with the High Availability and Resilient Storage Add Ons)
Issue
- After issuing
umount -athe GFS2 fs hangs when mounting it
Resolution
Do not use the command umount -a on a Red Hat Enterprise Linux Server 5/6 (with the High Availability and Resilient Storage Add Ons) cluster.
Root Cause
The GFS and GFS2 filesystems require that the /sys/kernel/config of type configfs be mounted. That mount point is where the DLM information is located and DLM is used by GFS and GFS2. Unmounting the /sys/kernel/config mount point will cause your cluster to become unstable, because DLM is used for more than just GFS and GFS2.
The filesystem /sys/kernel/config of type configfs is mounted when cman is started and is unmounted when cman is stopped.
Diagnostic Steps
- Is the service
cmanstarted? - Is the
configfsfilesystem mounted to the directory/sys/kernel/config? If the filesystem is mounted correctly, then it should look something like this below:
$ mount | grep "/sys/kernel/config"
none on /sys/kernel/config type configfs (rw)
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.