[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] lvm and a dead disk



Hello,

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:

/dev/scsi/host0/bus0/target5/lun0/part1
/dev/scsi/host0/bus0/target3/lun0/part1
/dev/scsi/host0/bus0/target4/lun0/part6

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:

/dev/ide/host0/bus0/target0/lun0/part2
/dev/scsi/host0/bus0/target3/lun0/part1
/dev/scsi/host0/bus0/target4/lun0/part6

(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,

    Peter

--
.signature: No such file or directory.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]