All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian Völker" <chrischan@knebb.de>
To: linux-lvm@redhat.com
Subject: [linux-lvm] LVs corrupted after pvresize
Date: Thu, 16 Oct 2008 23:09:12 +0200	[thread overview]
Message-ID: <48F7AD78.1000002@knebb.de> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yohoo!

I'm currently in big troubles :-(
What happened?

I have a single VG running on three RAID arrays.

I resized one of these RAID arrays for additional 250GB. After this was
done I needed to reboot for the kernel to pick up the new size.
Then I went into fdisk, deleted the 8e-LVM partition and re-created a
new one with the same starting sector but a later end sector.
Again, for the kernel to pick up the new partition table I rebooted.

After the reboot my VG was inaccessible because it complained about a
missing PV.
I checked
http://www.novell.com/coolsolutions/appnote/19386.html#DiskPermanentlyRemoved
Symptom2, Solution2.

vgcfgrestore showed the same error: "Couldn't find device with uuid ..."

So I re-created th PV with "pvcreate --uuid [...] /dev/sdd1.

vgscan and I had the new size and a running VG showing all my LVs. :)

Unfortunately ALL my LVs on the /dev/sdd1 PV are severely corrupted- the
complain about missing partition tables, fsck.ext2 prints thousands of
errors and so on.

I tried to reduce the PV again, but the LVs remain corrupted.

I don't expect my data to be recoverable- but I want to know what I did
wrong.

Though, if you can recover my LVs it would be fine ;-)


Any ideas?


Christian


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFI96130XNIYlAXmzsRAqMGAKDK13dabQD/LFGl460R410PQlNFCQCgt7ZT
iVCXd/QCUoSQIdfTaODAbPU=
=XMWS
-----END PGP SIGNATURE-----

             reply	other threads:[~2008-10-16 21:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16 21:09 Christian Völker [this message]
2008-10-16 22:31 ` [linux-lvm] LVs corrupted after pvresize Stuart D. Gathman
2008-10-17  4:05   ` Christian Völker
2008-10-17  5:23     ` Peter Larsen
2008-10-20 15:41       ` Stuart D. Gathman
2008-10-20 18:50         ` Peter Larsen
2008-10-21 11:13           ` Morten Torstensen
2008-10-21 14:07             ` Larry Dickson
2008-10-21 14:44               ` Stuart D. Gathman

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=48F7AD78.1000002@knebb.de \
    --to=chrischan@knebb.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.