From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 43CE0672EE for ; Thu, 24 Jan 2019 14:54:56 +0000 (UTC) Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) (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 875CA356FE for ; Thu, 24 Jan 2019 14:54:45 +0000 (UTC) Received: by mail-oi1-f172.google.com with SMTP id i6so5021990oia.6 for ; Thu, 24 Jan 2019 06:54:45 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Eric Ren Date: Thu, 24 Jan 2019 22:54:32 +0800 Message-ID: Content-Type: multipart/alternative; boundary="00000000000016482805803564c3" Subject: Re: [linux-lvm] Question about thin-pool/thin LV with stripes 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: To: linux-lvm@redhat.com --00000000000016482805803564c3 Content-Type: text/plain; charset="UTF-8" Hi, As you can see, only "mythinpool_tdata" LV has 2 stripes. Is that OK? > If I want to benefit performance from stripes, will it works for me? Or, > should I create dataLV, metadata LV, thinpool and thin LV using > step-by-step way > and specify "--stripes 2" in every steps? > With single command to create thin-pool, the metadata LV is not created with striped target. Is this designed on purpose, or just the command doesn't handle this case very well for now? My main concern here is, if the metadata LV use stripped target, can thin_check/thin_repair tools work fine? > > Besides, is there anything I should take care of to extend the > VG/thin-pool with *striped thin-LV* > when out of space? > In this case, I should always vgextend the VG with 2 PVs, because thin pool will find the half-of-extending-size of free space on 2 seperate PVs for striping. If just adding one PV, the free space in VG cannot be used to extend the 2-striped thin-pool. Thanks, Eric --00000000000016482805803564c3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

As you can see, only "= mythinpool_tdata" LV has 2 stripes. Is that OK?
If I wan= t to benefit performance from stripes, will it works for me? Or,
= should I create dataLV, metadata LV, thinpool and thin LV using step-by-ste= p way
and specify "--stripes 2" in every steps?

With single command = to create thin-pool, the metadata LV is not created with striped
= target. Is this designed on purpose, or just the command doesn't handle= this case very
well for now?

My main co= ncern here is, if the metadata LV use stripped target, can thin_check/thin_= repair tools work fine?
=C2=A0

Besides, is there anything I should take = care of to extend the VG/thin-pool with *striped thin-LV*
when ou= t of space?

I= n this case, I should always vgextend the VG with 2 PVs, because thin pool = will find the half-of-extending-size
of free space on 2 seperate = PVs for striping. If just adding one PV, the free space in VG cannot be use= d
to extend the 2-striped thin-pool.

Tha= nks,
Eric
=C2=A0
--00000000000016482805803564c3--