GFS2 filesystem fails to mount after attempting a gfs2_grow and fsck.gfs2 fails

Solution In Progress - Updated -

Issue

  • After an attempt to extend a gfs2 filesystem hung, the gfs2 filesystem will not mount and then fsck.gfs2 dies when checking the filesystem:
# fsck.gfs2 -v -y /dev/mapper/shared_fs-lvol1 | tail
   [length 0xfffd]
    rgrp 767 at block 0x2fdfefc intactrgrp found at 0x2fdfefc, length=1, used=0, free=65528
   [length 0xfffd]
    rgrp 768 at block 0x2fefef9 intactrgrp found at 0x2fefef9, length=1, used=0, free=65528
   [length 0xfffd]
    rgrp 769 at block 0x2fffef6 intact [length 0xfffd]
  L5: number of rgs expected     = 769.
  Block #-1 (0xffffffffffffffff) (-50396915 of 5) is not GFS2_METATYPE_RB.
  Attempting to repair the rgrp.
  bad read: Invalid argument from rewrite_rg_block:671: block 18446744073709551615 (0xffffffffffffffff)

Environment

  • Red Hat Enterprise Linux Server 6, 7 (with the High Availability Add On and Resilient Storage Add Ons)
  • A Global Filesystem 2(gfs2)

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