FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I recently upgraded to FC8 and when I did a final reboot, my lvm volumes
failed to come back up. Poking around shows that the data on the disk
(happens to be /dev/md1, a RAID5 volume) is still intact, but pvscan, etc.,
report an 'Invalid metadata area header checksum'.
The disk contains a valid physical volume (pv0), volume group (raid5a),
and 3 logical volumes. The disk is intact, but cannot be started by lvm.
Is there a way (via 'dd' or some other fashion) to copy the data off of
this disk and on to another volume such that I can recover the files?
I have other disks available, but don't know how to get the data off in a
form that I will be able to read later. I tried some experiments with
'dd' but couldn't see how I was going to get the files out of it.
After re-reading the linuxjournal article, I tried removing the PV and
recreating it. This time, I was able to create the VGs and LVs using
'vgcfgrestore'. This is good news. Not sure why it worked, but it did.
The logical volumes are now all ACTIVE.
So, now I have my three logical volumes, but when I try to fsck them,
it tells me there is a bad superblock (on all three). I've tried
specifying a different superblock, but no joy.
I 'grep'ed the volume and my data appears to be there (still).
Any suggestions on mounting these?
When I try to mount one I get:
mount: wrong fs type, bad option, bad superblock on /dev/mapper/vg0-homes,
missing codepage or helper program, or other error
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.