[KLUG Members] LVM woes

Mike Williams knightperson at zuzax.com
Fri Feb 23 17:11:48 EST 2007


greenproc 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?
>  
>
Doesn't lvm keep a backup of its database somewhere?  I seem to remember 
"backup metadata" or something as one of the options in the lvm 
commands.  I'm in Windows at the moment or I would look into it some more.



More information about the Members mailing list