From owner-freebsd-questions@FreeBSD.ORG Mon May 12 12:43:33 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7DF2B3B6 for ; Mon, 12 May 2014 12:43:33 +0000 (UTC) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2a01:138:a006::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anny.lostinspace.de", Issuer "anny.lostinspace.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DFF84219D for ; Mon, 12 May 2014 12:43:32 +0000 (UTC) Received: from server.idefix.lan (ppp-93-104-95-184.dynamic.mnet-online.de [93.104.95.184]) (authenticated bits=0) by anny.lostinspace.de (8.14.8/8.14.8) with ESMTP id s4CChMxd039187 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 12 May 2014 14:43:27 +0200 (CEST) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (localhost [IPv6:::1]) by server.idefix.lan (Postfix) with ESMTP id 6BACD713E1 for ; Mon, 12 May 2014 14:43:22 +0200 (CEST) X-Virus-Scanned: amavisd-new at fechner.net Received: from server.idefix.lan ([127.0.0.1]) by server.idefix.lan (server.idefix.lan [127.0.0.1]) (amavisd-new, port 10024) with LMTP id C-9AdljtsV-U for ; Mon, 12 May 2014 14:43:19 +0200 (CEST) Received: from [127.0.0.1] (p54A778A4.dip0.t-ipconnect.de [84.167.120.164]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id A5212713D9 for ; Mon, 12 May 2014 14:43:18 +0200 (CEST) Message-ID: <5370C1DE.4010805@fechner.net> Date: Mon, 12 May 2014 14:43:10 +0200 From: Matthias Fechner User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Change block size on ZFS pool X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (anny.lostinspace.de [0.0.0.0]); Mon, 12 May 2014 14:43:27 +0200 (CEST) X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on anny.lostinspace.de X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2014 12:43:33 -0000 Hi, I upgraded now a FreeBSD 9 to version 10. Now my zpool says: pool: zroot state: ONLINE status: One or more devices are configured to use a non-native block size. Expect reduced performance. action: Replace affected devices with devices that support the configured block size, or migrate data to a properly configured pool. scan: scrub repaired 0 in 42h48m with 0 errors on Mon May 5 06:36:10 2014 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gptid/504acf1f-5487-11e1-b3f1-001b217b3468 ONLINE 0 0 0 block size: 512B configured, 4096B native gpt/disk1 ONLINE 0 0 0 block size: 512B configured, 4096B native My partition are aligned to 4k: => 34 3907029101 ada2 GPT (1.8T) 34 6 - free - (3.0K) 40 128 1 freebsd-boot (64K) 168 8388608 2 freebsd-swap (4.0G) 8388776 3898640352 3 freebsd-zfs (1.8T) 3907029128 7 - free - (3.5K) But it seems that the ZFS pool is not aligned correctly. Is there a possibility to correct that online without taking the pool offline? Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook