[linux-lvm] Restoring data after losing a drive

Ian Kent ikent at redhat.com
Sat May 12 19:51:34 UTC 2007


On Fri, 2007-05-11 at 23:29 -0400, Saad Shakhshir wrote:
> I lost one of my drives that was a physical volume in my lvm.  The
> volume group spanned across all the drives and so did the logical
> volume.  I know that the data on the good drives is still intact I
> just don't know how to get the lvm up and running again to be able to
> read the data. 
> 
> I tried running 'vgreduce --removemissing fileserver' and that managed
> to restore my other small logical volume that was located entirely on
> one of the (still good) physical volumes.  The other large logical
> volume is still not showing up. 
> 
> I'm going to attach the last good configuration from /etc/lvm/archive
> The drive that died was pv0.  
> 
> I really hope that someone can help with this.  It's terrible losing
> so much data... 

I don't understand the question.
How will LVM know what was contained in the blocks on the failed disk?

I think you'll need to restore the damaged volume from backup.

Ian





More information about the linux-lvm mailing list