From owner-freebsd-fs@FreeBSD.ORG Fri Feb 7 20:44:54 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AD75E9AE for ; Fri, 7 Feb 2014 20:44:54 +0000 (UTC) Received: from internet06.ebureau.com (internet06.ebureau.com [65.127.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id 870BF1708 for ; Fri, 7 Feb 2014 20:44:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by internet06.ebureau.com (Postfix) with ESMTP id 0481E9F1840 for ; Fri, 7 Feb 2014 14:44:48 -0600 (CST) X-Virus-Scanned: amavisd-new at ebureau.com Received: from internet06.ebureau.com ([127.0.0.1]) by localhost (internet06.ebureau.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c4gRZjltaje5 for ; Fri, 7 Feb 2014 14:44:47 -0600 (CST) Received: from square.office.ebureau.com (square.office.ebureau.com [10.10.20.22]) by internet06.ebureau.com (Postfix) with ESMTPSA id 8FF249F1831 for ; Fri, 7 Feb 2014 14:44:47 -0600 (CST) From: Dustin Wenz Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Using the *real* sector/block size of a mass storage device for ZFS Message-Id: <1487AF77-7731-4AF8-8E44-FF814BB8A717@ebureau.com> Date: Fri, 7 Feb 2014 14:44:47 -0600 To: "" Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1811\)) X-Mailer: Apple Mail (2.1811) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 20:44:54 -0000 We have been upgrading systems from FreeBSD 9.2 to 10.0-RELEASE, and I'm = noticing that all of my zpools now show this status: "One or more = devices are configured to use a non-native block size. Expect reduced = performance." Specifically, each disk reports: "block size: 512B = configured, 4096B native". I've checked these disks with diskinfo and smartctl, and they report a = sector size of 512B. I understand that modern disks often use larger = sectors due to addressing limits, but I'm unsure how ZFS can disagree = with these other tools. In any case, it looks like I will need to rebuild every zpool. There are = many thousands of disks involved and the process will take months (if = not years). How can I be I sure that this is done correctly this time? = Will ZFS automatically choose the correct block size, assuming that it's = really capable of this? In the meantime, how can I turn off that warning message on all of my = disks? "zpool status -x" is almost worthless due to the extreme number = of errors reported. - .Dustin