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

Phillip Susi psusi at ubuntu.com
Sun Dec 7 21:24:55 UTC 2014


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

On 12/05/2014 05:12 AM, Anatoly Pugachev wrote:
> Phillip,
> 
> can you please paste the commands you've used to convert the
> volume? I don't have ubuntu , but rhel7 manual page for lvconvert,
> example section is pretty clear on how to convert back to flat
> (-m0) volume and what physical device you remove from logical
> volume, quote:
> 
> 
> Converts mirror logical volume "vg00/lvmirror1" to linear, freeing 
> physical extents from /dev/sda:
> 
> lvconvert -m0 vg00/lvmirror1 /dev/sda

I simply used lvconvert -m0 vg/lv.  I did not think I would need to
specify which leg should be kept; obviously it should be the one
currently in use rather than the out of date copy.


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

iQEcBAEBCgAGBQJUhMWnAAoJENRVrw2cjl5RVKMH/3j5a4RMudXELHbEn5JpGs2r
I9UY+ioN1OZC25FpUkopP1C6agpjX3ZoLduPgLekigHmTQZk6YvnpTsxC81dSQJD
9wK9n4fzuUA0mDu6fBruiAZ0pJFzQ8PE/3uQBDNH0Be61NsBALlNSaoy7QzsdsOe
/v1GlWLVqOMftTIhtmg6p8MIa3f8zegdSsL6YsGr06F9uqZxQgKq8RwZi/YYmbHc
GAeWGl8QUZCjRvnOIFsS/UTt+JcDufTCk/p22QWPB18iWLIwnuuecE5dbA7KgT56
H5ct150LBLlGdjhzBEUT/dK00II1eMDOUAuaucr8j4jOJYM6GEZ1VsdX4hp1M4w=
=F78H
-----END PGP SIGNATURE-----




More information about the linux-lvm mailing list