linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Marcos Dutra <macdutra@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] Volume group inconsistent
Date: Sat, 7 Feb 2015 13:47:53 -0200	[thread overview]
Message-ID: <CAPcfVV_VVvYDf0oa7pZZ1iFkK6XJDBM4wYU9=EnYpCo4ogrbjQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1975 bytes --]

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 platinum
  /dev/mapper/plt-03: Checksum error
  /dev/mapper/plt-22: Checksum error
  /dev/mapper/plt-19: Checksum error
  /dev/mapper/plt-16: Checksum error
  /dev/mapper/plt-13: Checksum error
  /dev/mapper/plt-11: Checksum error
  /dev/mapper/plt-09: Checksum error
  /dev/mapper/plt-07: Checksum error
  /dev/mapper/plt-01: Checksum error
  /dev/mapper/plt-05: Checksum error
  /dev/mapper/plt-25: Checksum error
  /dev/mapper/plt-23: Checksum error
  /dev/mapper/plt-20: Checksum error
  /dev/mapper/plt-17: Checksum error
  /dev/mapper/plt-14: Checksum error
  /dev/mapper/plt-02: Checksum error
  /dev/mapper/plt-24: Checksum error
  /dev/mapper/plt-21: Checksum error
  /dev/mapper/plt-18: Checksum error
  /dev/mapper/plt-12: Checksum error
  /dev/mapper/plt-10: Checksum error
  /dev/mapper/plt-08: Checksum error
  /dev/mapper/plt-04: Checksum error
  /dev/mapper/plt-06: Checksum error
  Cannot restore Volume Group platinum with 24 PVs marked as missing.
  Restore failed.

Thanks for help me.

[-- Attachment #2: Type: text/html, Size: 2725 bytes --]

             reply	other threads:[~2015-02-07 15:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-07 15:47 Marcos Dutra [this message]
2015-02-09  9:34 ` [linux-lvm] Volume group inconsistent Zdenek Kabelac
2015-02-09 16:37   ` Marcos Dutra
2015-02-11 11:17     ` service hofman
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='CAPcfVV_VVvYDf0oa7pZZ1iFkK6XJDBM4wYU9=EnYpCo4ogrbjQ@mail.gmail.com' \
    --to=macdutra@gmail.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).