Skip to contentSkip to conversation

Serious LVM Problem

linux-lvm TNJazzGrass 3 participants 3 messages Oct 4, 2006 – Oct 5, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Unfortunately, I don't have any idea what to do to accomplish this, or if I can even do it.

I created them with Disk Druid on FC3 a couple of years ago and pretty much hadn't touched the machine at all since then. When I "upgraded" to FC5 a couple of weeks ago, I unchecked all the boxes for the data drives (hdb, hdd, hde, hdf and hdg) so they should have been set to "do not format, keep existing data" but I can't remember exactly what I did with hda (which was also part of the array - at least some of it).

The box has been sitting in the corner for a month or so while I try to figure out if it's salvageable. I have not done anything with it since FC5 was loaded, except attempt to attach the Physical Volumes to the LVM using the LVM Management GUI.

So I'm not sure what you mean by "restore the LV's back" or how I would go about doing it.

I *may* have destroyed part of the array by reinstalling the OS on /dev/hda...although I'm not sure how it was set up in the first place.

If this is the case though, is the data that was on the other physical volumes still actually accessible in some way? At this point I'm ready to start over, but not before I've exhausted all my options.

Thanks,
Dirk

Quoted 13 lines · --- Josef Whiter

Usually the best thing to do in this case is to try and restore the LV's back
the way they were when you created them. You wouldn't happen to know exactly
how you created them in the first place would you? If you do you can try and
recreate the LV's exactly the way they were before and it should show up, kind
of like if your partition table eats it and you have the exact geometry of the
partition tables before they disappeared. Thank you,

Quoted 1 line

Josef

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#2 lore raw
Quoted 22 lines · TNJazzGrass

Unfortunately, I don't have any idea what to do to accomplish this, or if I can even do it.

I created them with Disk Druid on FC3 a couple of years ago and pretty much hadn't touched the machine at all since then. When I "upgraded" to FC5 a couple of weeks ago, I unchecked all the boxes for the data drives (hdb, hdd, hde, hdf and hdg) so they should have been set to "do not format, keep existing data" but I can't remember exactly what I did with hda (which was also part of the array - at least some of it).

The box has been sitting in the corner for a month or so while I try to figure out if it's salvageable. I have not done anything with it since FC5 was loaded, except attempt to attach the Physical Volumes to the LVM using the LVM Management GUI.

So I'm not sure what you mean by "restore the LV's back" or how I would go about doing it.

Quoted 8 lines

I *may* have destroyed part of the array by reinstalling the OS on /dev/hda...although I'm not sure how it was set up in the first place.

If this is the case though, is the data that was on the other physical volumes still actually accessible in some way? At this point I'm ready to start over, but not before I've exhausted all my options.

next question is what were the PVs

if the PVs were the whole drives hdb, hdd, hde, hdf and hdg (and possibly also all or some of hda), then quite a lot of metadata should be available there.

pvscan might help you here ?

IIRC, if you have some PVs, then you should have a copy of the table in those that will tell you what PVs there were in the VG.

supposing you have say 5 PVs out of 6 intact then there is a next step, but I'm not sure what it is off the top of my head. I expect it will have been discussed before on this list, so take a look at the archives.

Regards,
Paddy

Signature · 1 line
Perl 6 will give you the big knob. -- Larry Wall
#3 lore raw
In reply to a message not in the archive

I would suggest trying 'gpart' for recovery:

	http://home.pages.de/~michab/gpart/
Quoted 13 lines

Message: 1
Date: Wed, 4 Oct 2006 08:48:58 -0700 (PDT)
From: TNJazzGrass <[email protected]>
Subject: [linux-lvm] Serious LVM Problem
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1

Hi all,

This is my first post here and I'm fairly inexperienced with Linux, so please be gentle!

...

Quoted 5 lines

Can anyone provide me some troubleshooting assistance so I can determine what to do next? I'm not afraid of the command line, but I'm not all that skilled on it either (so I'd need instructions that are fairly straightforward).