[linux-lvm] Volume group inconsistent

Marcos Dutra macdutra at gmail.com
Mon Feb 9 16:37:30 UTC 2015


Hi Zdenek,

I attached 2 files, one with missing status and another my backup today. I
restored my vg from backup but I still have problem, if I create some new
lv volumes, vg status come back with missing status, I don't know why.
Since saturday night I don't create any volumes in this vg and I don't have
any missing status until now, but I would like come back to create new lv
in this volume.
My server is centos-6.6 with lastest updates.

Thanks

Marcos Dutra

2015-02-09 7:34 GMT-02:00 Zdenek Kabelac <zkabelac at redhat.com>:

> Dne 7.2.2015 v 16:47 Marcos Dutra napsal(a):
>
>> Hi everybody,
>>
>> Yesterday some storage discs of my VG was with missing status
>> /dev/mapper/plt-01                                        platinum
>>  lvm2
>> a-m  500.00g   24.95g
>>    /dev/mapper/plt-02                                        platinum
>> lvm2 a-m  500.00g   12.93g
>>
>> I tried recover the discs and I used the command:
>> # vgextend --restoremissing platinum /dev/mapper/plt-01
>>
>> It worked, removing missing status, but I did a big mistake, i tried to
>> run
>> this command with multiple discs:
>> # vgextend --restoremissing platinum /dev/mapper/plt-0[2-9]
>>
>> After that when I ran pvs command the output shows me checksum error:
>>    /dev/mapper/plt-04: Checksum error
>>    /dev/mapper/plt-06: Checksum error
>>    /dev/mapper/plt-01: Checksum error
>>    Couldn't read volume group metadata.
>>    /dev/mapper/plt-02: Checksum error
>>    Couldn't read volume group metadata.
>>    /dev/mapper/plt-03: Checksum error
>>
>> I tried restore metadata without success:
>> # vgcfgrestore -f platinum_02336-1600706364.vg
>> <http://platinum_02336-1600706364.vg> platinum
>>
>
>
> Without having access to your current metadata - it's hard to give
> proper advice.
>
>
> So please attach  'vgcfgbackup' of your current setup.
>
> Have you tried to 'extend' your existing vg   'plt' with referencing LVs
> from itself???
> Is 'plt' VG ?
>
> Zdenek
>
> _______________________________________________
> 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20150209/c6f4396d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: platinum_after_missing.vg
Type: application/octet-stream
Size: 210000 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20150209/c6f4396d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: platinum_current_setup
Type: application/octet-stream
Size: 209456 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20150209/c6f4396d/attachment-0001.obj>


More information about the linux-lvm mailing list