[linux-lvm] Raid1 -> linear conversion = destroyed data

Phillip Susi psusi at ubuntu.com
Thu Dec 4 23:07:37 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I used lvconvert -m 1 --type raid1 to clone my root volume onto a new
drive, and then used --splitmirrors to split off the original volume
as a backup while I worked off the new drive for a few days.  I then
decided the new drive was working well and used lvconvert -m 0 to
convert the volume back to linear.  Instead of dropping the split off
original leg, lvm dropped the NEW copy and redirected all IO to the
OLD data, causing massive filesystem corruption.

This is on Ubuntu 14.10 using lvm 2.02.98 and linux 3.16.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCgAGBQJUgOk5AAoJENRVrw2cjl5RWxIIAIFnwZCd/TSFmJ7x79OFV857
1Uv87aGTHV4kE58qPs0Q7jlhdEev0pw1H9rnBQo7VuGFOZPMNXG/ZbefEaK/I/UZ
1Kga+nIv+gWDmRjLCaWg6sAy+0LzYgOLs0YvNsloPOhPWBEHYZCTczLgvl3cGqGI
IlEJgqbokbwp8Y0it3Cz7xtTDDMwio00FrXBsSi5L5+/Pu5T5beBIssKC/nhQT3Q
pAzRfxPbQr2pw8fOcotXp0qYG+aR1qCEdQnCqSmRphWzY+0XMhP68LMb7W/cPExP
k8oDbhvam+N6jQegNAgzHuqKG1wPzEfuef4o+C1pRigIu3p5NqldXuY5upVwhWw=
=P8No
-----END PGP SIGNATURE-----




More information about the linux-lvm mailing list