From mboxrd@z Thu Jan 1 00:00:00 1970 References: <2048a92a-0505-78c3-da00-8bf2043f4cbf@yahoo.co.uk> <38e06f2a-5af9-6469-ec2c-5bde2c1b199b@gmail.com> <3e790d03-8da8-13c4-d1d3-e1f5f7b3c6f9@yahoo.co.uk> <7242e565-8540-74c1-d7db-39e84d029bf1@redhat.com> <570e1a57-6b36-3f09-af6c-f147c728e217@yahoo.co.uk> From: Marian Csontos Message-ID: <96c8bb8b-7678-07cc-dea4-579c62a85c32@redhat.com> Date: Tue, 11 Apr 2017 19:37:36 +0200 MIME-Version: 1.0 In-Reply-To: <570e1a57-6b36-3f09-af6c-f147c728e217@yahoo.co.uk> Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] stripped LV with segments vs one segment Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: lejeczek , linux-lvm@redhat.com On 04/10/2017 04:27 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. >> > convert from stipe to raid0 would not preserve stripe sizes? is this > correct? It should keep stripe size and if it does not it is a bug. > nor it would: > > -I/--stripesize not allowed for LV dellH200.InternalB/0 when converting > from striped to raid0. As it says, the option is simply not allowed. Also it would be meaningless - one can not change stripe size while converting stripe to raid0. At least not in RHEL-7.3 (lvm2-2.02.166). This is supposed to work in upstream/2.02.169, but keep in mind that is a new feature, and it is altering data, so better keep a working backup. > > LVM version: 2.02.166(2)-RHEL7 (2016-11-16) > Library version: 1.02.135-RHEL7 (2016-11-16) > Driver version: 4.35.0