LVM and HDD Failure

Soldato
Joined
26 Oct 2002
Posts
3,753
Location
Surrey
Hi All,

I have 3 120GB harddisks that are all part of an LVM group. One harddisk has physically failed (Can't even see it in fdisk -l) and now my entire logical volume is un-mountable.

# mount /share
mount: special device /dev/mapper/Vol1-share does not exist

I'm not sure about how to recover this... Obviously I've lost some data (There was over 240GB in use) but is it possible to save the rest of the volume?

I can't even remove the damaged PV as lvm see's it as "unknown device":

l# lvm pvscan
Couldn't find device with uuid 'VDIXIB-QE60-PrqH-4YqO-aXud-6XfA-7922zu'.
Couldn't find device with uuid 'VDIXIB-QE60-PrqH-4YqO-aXud-6XfA-7922zu'.
PV /dev/hda4 VG Vol1 lvm2 [106.79 GB / 0 free]
PV /dev/hdb1 VG Vol1 lvm2 [111.75 GB / 0 free]
PV unknown device VG Vol1 lvm2 [114.49 GB / 0 free]
Total: 3 [333.04 GB] / in use: 3 [333.04 GB] / in no VG: 0 [0 ]

Any advice on how I can recover this?

Thanks, Nick
 
Try fsck'ing the whole disk, though if you can't see it from fdisk -l it sounds like you got bigger problems. Make sure your in single user mode or even better do it from a livecd.
 
Last edited:
Back
Top Bottom