[mdlug] LVM woes

Aaron Kulkis akulkis3 at hotpop.com
Fri Feb 23 12:13:00 EST 2007


Fati wrote:
> 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!

Or... if that fails get the files off of your backup tapes or whatever backup
system you use....you do make regular backups, right?

> 
> 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?





More information about the mdlug mailing list