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

Anatoly Pugachev matorola at gmail.com
Mon Dec 8 08:30:06 UTC 2014


On Mon, Dec 8, 2014 at 12:24 AM, Phillip Susi <psusi at ubuntu.com> wrote:
>
> -----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.


I wonder how many more people would lost their data before there would
be changes to lvconvert -m0 to require specification of physicalVolume
instead of optional requirement.




More information about the linux-lvm mailing list