LVM, Logical Volume Migraine

Migraine time. The past 3 days I've been waiting patiently for a system to finish a file system check on a couple of LVM partitions. The story is complicated by the fact that the hard drive in the system was incorrectly ghosted. The drive in question is a 120GB hard drive, but it was ghosted as if it was a 60GB hard drive.

I came into the picture about a year ago when I added the rest of the drive using LVM. Recently that drive started to fill so I added a second drive to the volume group. I got a call a few days ago saying that the drives on the server were no longer writable. I rebooted (mistake) and ever since the drive has been in a recovery shell (not a normal shell). Doing a fsck results in Illegal block #5020 (90367283) in inode 7 (example) and I have to press y to reallocate the blocks. Originally I just took a lead pipe and put it on the 'y' key before doing a fsck -h and seeing that all I had to do was fsck -y to get the same result (the lead pipe hack is cooler though).

The big problem is that fsck is only at block #25000 after 3 days. At this rate I'll never get the file system up to back it up. Everything is LVM. I'm wondering if it's possible to mount the LVM partitions from a Knoppix or Ubuntu CD? (Tried Knoppix 4.0.2, it didn't seem to have command line lvm tools).

Charles

Syndicate content Syndicate content