From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 78DCB881E6 for ; Tue, 9 May 2017 09:44:09 +0000 (UTC) Received: from mail.fibbs.org (phineas.fibbs.org [109.234.106.32]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AF32A80F97 for ; Tue, 9 May 2017 09:44:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.fibbs.org (Postfix) with ESMTP id 55D27411 for ; Tue, 9 May 2017 11:38:40 +0200 (CEST) Received: from mail.fibbs.org ([127.0.0.1]) by localhost (mail.fibbs.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id acTjPiH_ZVYz for ; Tue, 9 May 2017 11:38:40 +0200 (CEST) Received: from [192.168.178.33] (p4FC4A69C.dip0.t-ipconnect.de [79.196.166.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mail.fibbs.org (Postfix) with ESMTPSA id 17B5E407 for ; Tue, 9 May 2017 11:38:40 +0200 (CEST) From: Oliver Rath Message-ID: <6608b02f-fcce-4bd3-61d2-7002eab4ffac@mglug.de> Date: Tue, 9 May 2017 11:38:37 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [linux-lvm] Different stripesize on thinpool/thinlv + config issue 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" To: LVM general discussion and development Hi List, using different stripesize for Thinpools result 64kb stripesize for ThinLVs. ---------- snip ------------------ root@w541:/home/oliver# lvcreate -L 20G --thin-pool levg/mythinpool levg /dev/sda4 --stripes 1 --stripesize 1024 WARNING: Sum of all thin volume sizes (7,64 TiB) exceeds the size of thin pools and the size of whole volume group (901,17 GiB)! For thin pool auto extension activation/thin_pool_autoextend_threshold should be below 100. Logical volume "mythinpool" created. root@w541:/home/oliver# lvcreate --name fixi -V 10G -T levg/mythinpool Using default stripesize 64,00 KiB. Logical volume "fixi" created. ---------- snap ------------------ Odd thing: The striping-Options should prepare multiple disk in parallel for the thinpool. But then the ThinLV says "using 64kb stripe", although 1024MB is set for thinpool. Additionally: If I set in lvm.conf ---------------------------- metadata { stripesize = 1024 } ---------------------------- it results in correct stripesize: ---------------------------- # lvcreate --name fixi3 -V 10G -T levg/mythinpool Using default stripesize 1,00 MiB. WARNING: Sum of all thin volume sizes (7,67 TiB) exceeds the size of thin pools and the size of whole volume group (901,17 GiB)! For thin pool auto extension activation/thin_pool_autoextend_threshold should be below 100. Logical volume "fixi3" created. ---------------------------- BUT ---------------------------- # lvcreate --stripesize 1024 --name fixi4 -V 10G -T levg/mythinpool Command does not accept option: --stripesize 1024. ---------------------------- So setting stripesize in lvm.conf is allowed, in lvcreate (thinpool-mode) not. My used versions: root@w541:/home/oliver# lvcreate --version LVM version: 2.02.171(2)-git (2017-04-13) Library version: 1.02.140-git (2017-04-13) Driver version: 4.35.0 Configuration: ./configure --enable-lvmetad root@w541:/home/oliver# thin_check --version 0.7.0-rc6 Whats wrong here? Tfh! Regards, Oliver _______________________________________________ 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/