I’ve come across a minor annoyance that I figured it was worth documenting.
I was looking to grow a shared (clustered) GFS2 file system I’m using for my web server and did the “usual” magic of extending the underlying logical volume (clvm managed), extend the disk label with fdisk and fsck -f the device so as to ensure there’s nothing latent in the metadata or data to cause my “grow” command to fail.
Then I issued
# gfs2_growfs /webroot
Which failed with the following error:
[snip] GFS2 rindex not found. Please run gfs2_fsck
Well, that’s interesting….
Turns out an update to GFS2 didn’t get reflected in gfs2_grow, so it’s looking in the wrong place for the rindex. The problem has been addressed upstreamand you can (I hope) expect to see the next version of the gfs2-utils (3.0.7) contain the fix.
UPDATE: The linked .rpm for Fedora 12 resolves the problem. The bug is a minor fix, thankfully, so I’d be surprised if a fixed version of the gfs2-utils package will not be included when they make the Cluster v3.0.7 packages available in the fedora-updates repository.
Thanks to the stellar help from the folks in the #linux-cluster channel on the Freenode IRC network! (fabbione, bob_home and abhi)