linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: service hofman <service.hofman@googlemail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Volume group inconsistent
Date: Wed, 11 Feb 2015 11:17:13 +0000	[thread overview]
Message-ID: <CAKPhfZOe2=qPCr4kHeVXw-vrRY5LG4SRLa1KjUW795tQJun3tQ@mail.gmail.com> (raw)
In-Reply-To: <CAPcfVV_7WGzNCYJt1xGOnSGmDe7Hu4i-FBeZJ58=eLW8vVDAqg@mail.gmail.com>

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@gmail.com









2015-02-09 16:37 GMT, Marcos Dutra <macdutra@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@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@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

  reply	other threads:[~2015-02-11 11:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-07 15:47 [linux-lvm] Volume group inconsistent Marcos Dutra
2015-02-09  9:34 ` Zdenek Kabelac
2015-02-09 16:37   ` Marcos Dutra
2015-02-11 11:17     ` service hofman [this message]
2015-02-11 11:19       ` service hofman
2015-02-11 21:45         ` Marcos Dutra
2015-02-11 14:27     ` Zdenek Kabelac
2015-02-11 18:35       ` Marcos Dutra
2015-02-11 23:49       ` service hofman
2015-02-12 13:57         ` Marcos Dutra
2015-02-13 20:37           ` service hofman
2015-02-23 18:00             ` Marcos Dutra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKPhfZOe2=qPCr4kHeVXw-vrRY5LG4SRLa1KjUW795tQJun3tQ@mail.gmail.com' \
    --to=service.hofman@googlemail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).