How to Grow GFS/GFS2 File System and the Underlying Storage
Issue
When attempting to grow the size of a clustered file system, specifically the GFS and GFS2 file systems, and it's underlying storage. One or multiple of the following occurs:
- The lvmeta data (LVM meta data) is not being written successfully to the Logical Volume (lv)
- The GFS/GFS2 file system becomes corrupt
- typically discoverd either immediately or after a reboot a node or following a
umount <fs>; mount <fs>
operation
- typically discoverd either immediately or after a reboot a node or following a
- The GFS/GFS2 file system is not able to be mounted following a reboot or
umount <fs>; mount <fs>
operation, after an online filesystem resize was performed - After growing GFS2 file system, the
fatal: invalid metadata block
error was logged
Environment
Operating Systems:
- Red Hat Enterprise Linux (RHEL) 5
- Red Hat Enterprise Linux (RHEL) 6
- Red Hat Enterprise Linux (RHEL) 7
- Red Hat Enterprise Linux (RHEL) 8
Clustered File System Types:
- GFS (Global File System version 1)
- GFS2 (Global File System version 2)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.