LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

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

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


Greetings,

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,

--dave;
 
Old 12-05-2007, 05:46 PM   #3
yello
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


Thanks.

--dave;
 
  


Reply

Tags
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 04:18 PM
logical volume question binary_0011 Other *NIX 3 01-11-2007 09:43 AM
Logical Volume recovery plythgam Linux - Software 2 03-27-2006 07:44 PM
logical volume manager plythgam Linux - Software 1 11-08-2004 11:47 AM
Logical Volume Management jatimon Linux - General 0 04-17-2002 03:57 PM


All times are GMT -5. The time now is 11:17 PM.

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