[mdlug] LVM woes

Fati fati at venerealinjection.com
Fri Feb 23 06:55:45 EST 2007


If you're using LVM 2 backups of your volume group configurations will
be stored in /etc/lvm/backup/ .  If this is the case using
vgcfgrestore -n <volume_group> to restore the backup may do the trick!

On 2/22/07, greenproc <greenproc at charter.net> wrote:
> I accidentally have destroyed an lvm group.  My intent was to mount an lvm volume, but accidentally created a new one instead.  Now pvscan tells me there is an physical volume group using 0 of 9GB -- the expected size but not the usage.
>
> Let this be a warning to those who are tempted to use lvm, but are not familiar with the proper use of the tools.  My original intent was to mount the volume
> group with a live CD and back up the data -- the result was inadvertently deleting the volume group.
>
> TestDisk has not been able to recover the partitions.  It looks like I have to do a disk dump and perform recovery on the raw data.  Any suggestions?
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
>


-- 
Fati
"I don't know what weapons World War Three will be fought with, but
World War Four will be fought with sticks and stones."  - Albert
Einstein



More information about the mdlug mailing list