[linux-lvm] stripped LV with segments vs one segment

Marian Csontos mcsontos at redhat.com
Tue Apr 11 17:16:01 UTC 2017

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.


More information about the linux-lvm mailing list