From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx07.extmail.prod.ext.phx2.redhat.com [10.5.110.31]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1CDE199699 for ; Mon, 10 Apr 2017 11:03:43 +0000 (UTC) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 52469C04B927 for ; Mon, 10 Apr 2017 11:03:42 +0000 (UTC) Received: by mail-wm0-f51.google.com with SMTP id t189so34392197wmt.1 for ; Mon, 10 Apr 2017 04:03:42 -0700 (PDT) References: <2048a92a-0505-78c3-da00-8bf2043f4cbf@yahoo.co.uk> From: Zdenek Kabelac Message-ID: <38e06f2a-5af9-6469-ec2c-5bde2c1b199b@gmail.com> Date: Mon, 10 Apr 2017 13:03:39 +0200 MIME-Version: 1.0 In-Reply-To: <2048a92a-0505-78c3-da00-8bf2043f4cbf@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: LVM general discussion and development , peljasz@yahoo.co.uk Dne 10.4.2017 v 11:29 lejeczek napsal(a): > hi there > > I could not extend my stripped LV, had 3 stripes and wanted to add one more. > Only way LVM let me do it was where I ended up with this: > > --- Segments --- > Logical extents 0 to 751169: > Type striped > Stripes 3 > Stripe size 16.00 KiB > Stripe 0: > Physical volume /dev/sdd > Physical extents 0 to 250389 > Stripe 1: > Physical volume /dev/sde > Physical extents 0 to 250389 > Stripe 2: > Physical volume /dev/sdc > Physical extents 0 to 250389 > > Logical extents 751170 to 1001559: > Type linear > Physical volume /dev/sdf > Physical extents 0 to 250389 > > 1st question - was this really the only way LVM would extend? > 2nd - is there performance penalty with segments like above vs one stripped > segment? > Hi Not really sure what you aim to do. If you have LV segment with 3 stripes - you have to keep also extension using 3 stripes - you can't have 1st. halve of LV spanning 3 disk and add there a new LV segment as linear - as listed in this post. Both segments must by striped. Regards Zdenek