[nzlug] LVM and toast....

Jasper Bryant-Greene jasper at albumltd.co.nz
Sun Apr 1 18:34:28 NZST 2007


The file in /etc/lvm/backup is what you want. It's a textual dump of
your volume group's configuration.

Cheers,
Jasper


On Sun, 2007-04-01 at 16:58 +1200, Nevyn wrote:
> Hi,
> 
> Things are going very badly at the moment - suddenly the output of
> /proc/mdstat was showing that 2 disks had suddenly dropped off - 1 was
> showing a failure and I have no idea why the other one wasn't in there
> except that it was showing (s) next to it.
> 
> Of course this meant that suddenly the array wasn't working which
> explains all the wierd behaviour I had suddenly started experiencing.
> After a few failed attempts to get the array to rebuild itself, I
> reboot the machine and lo and behold, the raid seems to have gotten
> itself together.
> 
> Still wasn't mounting though so I ran vgscan - and got the following message:
>   Reading all physical volumes.  This may take a while...
>   Incorrect metadata area header checksum
> 
> The lvm howto has this to say about it:
> "If you get the warning "incorrect metadata area header checksum" or
> something about not being able to find PV with UUID foo, you probably
> toasted the volume group descriptor area and lvm startup can't occur."
> 
> and then has a command to restore the stuffed bits:
> pvcreate --uuid "<some_long_string>" --restorefile
> /etc/lvm/archive/VolumeGroupName_XXXXX.vg <PhysicalVolume>
> 
> However, I don't have a .vg file anywhere that I can find. There is a
> file in the back up directory but I'm a little unsure about this as it
> doesn't have a .vg extension.
> 
> Does anyone know how I can fix all this?
> 
> Regards,
> Nevyn.
> 
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
-- 
Jasper Bryant-Greene <jasper at albumltd.co.nz>
Album Limited
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.linux.net.nz/pipermail/nzlug/attachments/20070401/95b88a52/attachment.pgp


More information about the NZLUG mailing list