User reduced LVM logical volume without resizing filesystem
- by Matthew
I received an email yesterday that one of our users was trying to make room for a heartbeat/clustering package which requires its own partition to act as a voting disk. To do this, he attempted to reduce the size of the root partition's logical volume, and then create a new logical volume for this purpose. However, he forgot to resize the filesystem first (or include the -r switch in the command). He also forgot to unmount the root partition by running this process from a rescue cd. The system is now refusing to boot into the OS with the following error:
Either the superblock or the partition table is likely to be corrupt!
Unexpected Inconsistency; run fsck manually.
The system them drops the user into single user mode.
Is it possible to rescue the filesystem, or is it hosed? Its running ext3.