[linux-lvm] LVM1 problem, exported volumegroup with one dead drive (fwd)

Melinda Taylor melinda at phys.unsw.edu.au
Tue Jul 22 17:35:01 UTC 2003

Hi Stefan,

I am working through the exact same scenario so you may like to look through my
posts and peoples advice in the LVM archive (july): 


Basically I had 2 disks fail which were part of my VG. I now have 2 of 4 LV's
left and am trying to retrieve the data. As suggested the only way to recover
data from a partial VG is to upgrade to LVM2. 

I have done that and LVM2 can now activate my partial VG - but I haven't quite
retrieved the data from it yet.

Hope that helps,


Quoting ratler at lunar-linux.org:

> Hi,
> I think I have tried all solutions google could give me without any luck
> restoring any data.
> The problem is the following:
> 1. I had to reinstall a server to where this volumegroup belonged
> 2. I umounted all LVs. And deactivated the VG. And then I did a vgexport
> of the VG
> 3. After the reinstall of the linux server it was time to import the VG
> that had 2 harddrives. I ran a pvscan and it only detected one drive! I
> started some investigation and i noticed the second drive was totaly dead!
> And of course since this was a server at my home I didnt have any backups
> of this VG. And since one drive is missing it's impossible to import the
> part of the VG I have left. I know that most of all PEs for my /home
> are on the drive that is still working.
> Now I wonder how on earth can I restore any of the data that is still on
> my working drive? I had 4 years of mail and some source code I would die
> for to get back. Since I only have metadata from the only drive working I
> think I have a little problem ;)
> All I want is to get as much of the data out from datavg/homelv.
> I attached a log file with the output from pvscan and pvdata.
> Sincerely
> Stefan Wold

More information about the linux-lvm mailing list