[linux-lvm] Recovering a volume after lost disk

Heinz Mauelshagen heinzm at redhat.com
Tue Nov 29 10:03:56 UTC 2011


vgreduce --removemissing $VGName ; vgchange -ay

Of course you'll loose any LV data on the lost drive.

Heinz

On 11/28/2011 01:46 PM, lvm at qasmos.net wrote:
> I have a file system that spanned two physical disks on my Linux machine but one disk was lost and had to be pulled out due to excessive errors.  Are there instructions anywhere for being able to truncate the file system to the size of the good disk and mount it that way?  The disk that is left is good so data in it should be intact.  It is just that volume manager commands don’t see the volume in it, only the disk group itself.
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 
===============================================================
Heinz Mauelshagen                               +49 2626 141200
Consulting Development Engineer             FAX +49 2626 924446
Red Hat GmbH
Am Sonnenhang 11
56242 Marienrachdorf
Germany                                       heinzm at redhat.com
===============================================================




More information about the linux-lvm mailing list