Re: Cannot mount old drive with LVM partition - help!



On Sat, 07 Oct 2006 21:33:05 +0000, Ohmster wrote this:

noi <noi@xxxxxxxx> wrote in news:2awVg.9477$vJ2.2722
@newssvr12.news.prodigy.com:

Thinking.

Would you have a backup that included /etc on FC3 prior to installing
the
FC5? This guy used a 6 month old backup to restore his data.

http://codeworks.gnomedia.com/archives/2005/general/lvm_recovery/

Since hdb2 is now v01 have you tried to mount it as a LVM?

$ mount /dev/VolGroup01/LogVol00 /mnt/VG01/LV_FC3

There is no VolGroup01 in dev. I went and tried to find a backup using the
dude's recovery method here:
http://www.linuxjournal.com/article/8874

And the VolGroup01 failed to restore. I went looking through the file that
dd created and found an original text for when the volume was 00 and that
is when things were good. Here is the code from it:

[root@ohmster recoverybox]# cat VolGroup00 VolGroup00 {
id = "3agBFX-D3N0-Bp3c-I7se-JVLY-ZIIa-fqMcIF" seqno = 1
status = ["RESIZEABLE", "READ", "WRITE"] extent_size = 65536
max_lv = 0
max_pv = 0
physical_volumes {
pv0 {
id = "v40FVM-IWMU-T26b-I9eD-UprZ-WNqu-a9MTGq" device = "/dev/hda2"
status = ["ALLOCATABLE"]
pe_start = 384
pe_count = 6074
}
}
# Generated by LVM2: Sat May 7 22:23:59 2005 [root@ohmster recoverybox]#

Only problem is that the hardware shows the drive as /dev/hda2 and the
group as VolGroup00. Currently, that is occupied by my FC5 installation. I
think that the only shot in hell I have of restoring this drive is to shut
down the box, reconnect the drive as hda, then booting with a rescue or
live CD that has LVM support, and then trying to restore the drive and
then renaming it to VolGroup01. That might be the only chance I have to
restore this drive. The sad part is that I cannot find a live CD that
supports LVM nor any instructions on how to do this. This sucks man.
Everything I had was on that disk and now it is gone. :(

Well. I'm also confused as to which of your volgroups is on which hd.
I'm thinking but maybe you could retrace what you've done from begining
to see if you've overlooked a step. And avoid Webmin for now.

IIUYC, you're ready for more experiments? Just be careful not to write
to you FC3 drive or change file permissions, ownership on FC3.

Here's the thing IMO you could change your bios to "not installed" for hda
and change the boot sequence to CDROM,IDE-1 or however your bios
determines the hd boot drive.

I'm sure you can download and install packages to LiveCDs but those
packages go away once you reboot the LiveCD. So, if you want to install
LVM to the Knoppix LiveCD try instructions at

http://www.knoppix.net/wiki/LVM2

Maybe with just the FC3 drive, Knoppix LiveCD and install of LVM to
Knoppix you could try

first to mount the FC3 volgroup and backup your data

If that fails that try the recovery procedures from the previous html
links.

First I'd try to download and install LVM for the Knoppix LiveCD.
Although it did mount the FC5 LVM volumes didn't it? Maybe the LVM2
tools are already on the CD and you can try the recovery using Knoppix and
just the FC3 drive.

.



Relevant Pages

  • Re: fedora-list Digest, Vol 53, Issue 291
    ... network configuration file ... Re: New support lists? ... LVM - Install F9 without LVM ...
    (Fedora)
  • RE: fedora-list Digest, Vol 12, Issue 203
    ... >the Install programs app to get all the Development stuff at once. ... >Yes, I have tried running it from the command line, it just died with no ... >which defaulted to LVM use on a single drive. ... > O splendente, che vieni dalle sorgenti del Nilo, ...
    (Fedora)
  • Re: Cannot mount old drive with LVM partition - help!
    ... I have an FC3 install on a 200Gb IDE hard disk. ... /dev/hda2 was an LVM partition that held the root file system. ... rearrange them at will to make the drives appear as I wish. ... LVM to the Knoppix LiveCD try instructions at ...
    (alt.os.linux)
  • FC3 screen freezes
    ... I'm new to FC3. ... On several occasions over a 15-18 day time frame, ... the install. ... I tried Linux nofb acpi=off for both. ...
    (Fedora)
  • Re: Synaptics touchpad driver help
    ... The last time I ran FC3 I had the touchpad working as ... >With my new install of FC3 the tap feature works but not the scroll. ... # Specify which keyboard LEDs can be user-controlled ...
    (Fedora)