Re: Raid1 -> linear conversion = destroyed data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux