Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 12-03-2007, 09:28 PM   #1
LQ Newbie
Registered: Nov 2007
Location: Hawaii
Distribution: Fedora8
Posts: 6

Rep: Reputation: 0
upgrade to FC8 left me with a bad logical volume


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.

Thanks for your help,

Old 12-04-2007, 02:56 PM   #2
Registered: May 2006
Distribution: Kubuntu
Posts: 96

Rep: Reputation: 15
Have you read


Old 12-05-2007, 04:46 PM   #3
LQ Newbie
Registered: Nov 2007
Location: Hawaii
Distribution: Fedora8
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks, abejarano!

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




fc8, lvm, raid5

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
i tried resizeing my logical volume, rahman.athiq Linux - General 1 07-13-2007 03:18 PM
logical volume question binary_0011 Other *NIX 3 01-11-2007 08:43 AM
Logical Volume recovery plythgam Linux - Software 2 03-27-2006 06:44 PM
logical volume manager plythgam Linux - Software 1 11-08-2004 10:47 AM
Logical Volume Management jatimon Linux - General 0 04-17-2002 02:57 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration