Skip to contentSkip to conversation

Hardlock and volume loss ?

linux-lvm Kirth 2 participants 3 messages Mar 13, 2001 – Mar 14, 2001

lore
Share & tools
lore

Kirth

author
#0 lore raw

Hi,
I've been playing with LVM for a few days, and finally decided to
risk 80gigs of data to it... bit of a mistake with hindsight. Earlier this evening during an ftp transfer to the machine the box hardlocked. No errors or anything, just completely dead to the world. On reboot I found i could not access my LVM. After reading the postings, I had a poke and found that while pvscan initally said it found the drives but didnt know which VG, using vgcfgrestore i could fix that. The problem is if I try to make the PV active, it "looses" this information and says

milita:/etc/lvmconf# vgchange -ay
vgchange -- ERROR "Invalid argument" activating volume group "media"

I've posted what I thought was relavent to
http://black.hole.org/deadlvm.txt

I'm pretty sure the data is intact, and I hope the lvm can be
put back together (hopefully so I can still resize/add to it)

Any help would be apprecaited, oh and I'm running todays (12/13th
March 2001) cvs lvm programs.

Thanks in advance

Richard

#1 lore raw
Quoted 6 lines · Richard

The problem is if I try to make the PV active, it "looses" this information and says:

milita:/etc/lvmconf# vgchange -ay
vgchange -- ERROR "Invalid argument" activating volume group "media"
Quoted 8 lines

I've posted what I thought was relavent to
http://black.hole.org/deadlvm.txt

I'm pretty sure the data is intact, and I hope the lvm can be
put back together (hopefully so I can still resize/add to it)

Any help would be apprecaited, oh and I'm running todays (12/13th
March 2001) cvs lvm programs.

In your other posting, you say:

Quoted 5 lines

Any ideas ? the software is:
Logical Volume Manager 0.9
Heinz Mauelshagen, Sistina Software 13/11/2000 (IOP 10)

installed from lvm-0.9-2 via debian apt-get from sistina.com

Which one? The 0.9 software has bugs that may cause this problem (missing UUIDs).

Cheers, Andreas

Signature · 3 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
author
#2 lore raw

I was using 0.9 originally when the machine hardlocked
I then upgraded to CVS after reading the mailing lists, this didnt help I spoke to Hans who said go back to original 0.9 and try rebooting and just running vgchange -a y (which fixed my problem, well at least allows me to mount the drive, vgscan etc... still reset the UUID's)

I would like to fix the problem fully, so I can carry on using the LVM and expand it, but at least right now I can copy the data off the drive.

Regards
Richard

Quoted 36 lines · * Andreas Dilger ([email protected]) wrote:
Quoted 6 lines · Richard

The problem is if I try to make the PV active, it "looses" this information and says:

milita:/etc/lvmconf# vgchange -ay
vgchange -- ERROR "Invalid argument" activating volume group "media"
Quoted 8 lines

I've posted what I thought was relavent to
http://black.hole.org/deadlvm.txt

I'm pretty sure the data is intact, and I hope the lvm can be
put back together (hopefully so I can still resize/add to it)

Any help would be apprecaited, oh and I'm running todays (12/13th
March 2001) cvs lvm programs.

In your other posting, you say:

Quoted 5 lines

Any ideas ? the software is:
Logical Volume Manager 0.9
Heinz Mauelshagen, Sistina Software 13/11/2000 (IOP 10)

installed from lvm-0.9-2 via debian apt-get from sistina.com

Which one? The 0.9 software has bugs that may cause this problem (missing UUIDs).

Cheers, Andreas

Signature · 7 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm