Re: stripped LV with segments vs one segment

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

 



On 04/10/2017 03:35 PM, lejeczek wrote:


On 10/04/17 13:27, Marian Csontos wrote:
On 04/10/2017 01:16 PM, lejeczek wrote:


I had 3 stripe LV, you know, three PVs, and wanted the LV to have 4
stripes, wanted to add 4th PV, you can see it from above lvdisplay.

What you want is "reshape" not extend. This was committed as RAID
feature to 2.02.169, but it is still somewhat experimental. You would
need to convert stripe LV to RAID0 (aka takeover) and then reshape.

thanks, I see it more clearly now.
Is it possible to get rid of that second segment now? Have the LV prior
to extension?

Either lvresize to previous size or vgcfgrestore would work UNLESS you resized the filesystem as well. vgcfgrestore has more limitations - no other metadata altering operations were performed on VG since the change.

Marian

_______________________________________________
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