[linux-lvm] Volume group inconsistent

service hofman service.hofman at googlemail.com
Wed Feb 11 11:17:13 UTC 2015


Hi

dd if=/dev/sda of=/boor/sda.mbr bs=512 count=4000
mcedit -e /dev/sda

look lvm list in bootrecord


eric hofman

service.hofman at gmail.com









2015-02-09 16:37 GMT, Marcos Dutra <macdutra at gmail.com>:
> 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/
>>
>


-- 
ComputerAlarmTechnologySystem©

http://plus.google.com/105013137826111836446
+44 77 04 24 74 00




More information about the linux-lvm mailing list