[linux-lvm] lvm and a dead disk

Peter pk at q-leap.com
Mon Sep 15 06:49:01 UTC 2003


using lvm under Debian woody with packages 
lvm-common v1.5.5 and lvm10 v1.04-5 and linux 2.4.21 I once had a
volume group vg0 with three physical volumes:


Unfortunately the first disk failed, but while Linux was still up I
could still access some of the files.  That obviously changed after I
rebooted the system as the first disk was hopelessly broken and vg0
could no longer be activated.

Now as there still are two pv's left and I can see the data on them
(only with grep or strings), I was wondering if there is any way to
activate the volume group in some sort of broken mode?  Just to access
the files that are still there as it was before the reboot?

I already tried to vgcfgrestore the data to a newly created pv
actually with success:


(replaced the SCSI disk with an IDE) but I don't seem to be able to do
any useful (like mounting) with it.  I understand that the filesystem
is missing a lot of data in order to start up.  I just thought I ask
here before I finally overwrite the remaining partitions.

Before you ask why I don't restore the data from the backup I have to
admit that the last backup is almost a year old, and please don't ask
why :/

Thanks a lot in advance,


.signature: No such file or directory.

More information about the linux-lvm mailing list