From owner-freebsd-stable@FreeBSD.ORG Wed Apr 1 05:54:34 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BFA1B5A8; Wed, 1 Apr 2015 05:54:34 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B66D2BB; Wed, 1 Apr 2015 05:54:34 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::e062:65ef:5878:a9d3] (unknown [IPv6:2001:7b8:3a7:0:e062:65ef:5878:a9d3]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id E8CFA5C2E; Wed, 1 Apr 2015 07:54:30 +0200 (CEST) Subject: Re: Trying to clone a ZFS drive, can't get ashift=12 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_5AA92C1F-EFFB-4B3E-B56A-F4644C6E715E"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b6 From: Dimitry Andric In-Reply-To: Date: Wed, 1 Apr 2015 07:54:19 +0200 Message-Id: <2706C67D-9E00-434E-A295-B8FF5AE8DE30@FreeBSD.org> References: To: Daniel Eischen X-Mailer: Apple Mail (2.2070.6) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2015 05:54:34 -0000 --Apple-Mail=_5AA92C1F-EFFB-4B3E-B56A-F4644C6E715E Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 01 Apr 2015, at 06:30, Daniel Eischen wrote: > > I have an Oracle (nee Sun) X4-2 server with identical 300GB SAS > drives. I did an MBR ZFS install from FreeBSD 10.1-RELEASE CD > and have it updated to p6: ... > # zpool create -o cachefile=/tmp/newpool.cache bootpoolNew label/boot0 > # zdb -U /tmp/newpool.cache | grep ashift > ashift: 9 > > What gives? How do I get it to use 4k? sysctl vfs.zfs.min_auto_ashift=12 And also put that in your /etc/sysctl.conf. I don't know why it isn't the default yet... :) -Dimitry --Apple-Mail=_5AA92C1F-EFFB-4B3E-B56A-F4644C6E715E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.27 iEYEARECAAYFAlUbiBYACgkQsF6jCi4glqObfgCgrJPxBz1HS29+BhQGRwEFsmoK uykAoNCSdhz5f0dBREn6qMGjhmqoNk4R =xJpw -----END PGP SIGNATURE----- --Apple-Mail=_5AA92C1F-EFFB-4B3E-B56A-F4644C6E715E--