All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] LVs corrupted after pvresize
@ 2008-10-16 21:09 Christian Völker
  2008-10-16 22:31 ` Stuart D. Gathman
  0 siblings, 1 reply; 9+ messages in thread
From: Christian Völker @ 2008-10-16 21:09 UTC (permalink / raw)
  To: linux-lvm

-----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-----

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-10-21 14:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-16 21:09 [linux-lvm] LVs corrupted after pvresize Christian Völker
2008-10-16 22:31 ` 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

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.