3Jan/100
How to run fsck on a Logical Volume in Linux.
I recently had a problem on my laptop running Fedora 11 where my X session just totally froze when trying to bring the laptop back from a hibernate state. Outside of the occasional issues coming out of hibernate (usually X not restoring) I'd say Fedora 11 has been pretty solid. This particular time, my X session restored but everything locked up. I tried switching to another virtual terminal to log in and kill GDM but some sort of inode error just streamed down the console. My only option was a hard reboot and after that I couldn't boot Fedora with any kernel. To fix my problem I booted off the Fedora install CD into rescue mode without mounting / . I then performed the following:
# lvm pvscan # lvm vgscan # lvm lvchange -ay /dev/VolGroup00/LogVol_home # lvm lvscan # fsck -yfv /dev/VolGroup00/LogVol_home