Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2015 07:54:19 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Trying to clone a ZFS drive, can't get ashift=12
Message-ID:  <2706C67D-9E00-434E-A295-B8FF5AE8DE30@FreeBSD.org>
In-Reply-To: <Pine.GSO.4.64.1504010016170.26089@sea.ntplx.net>
References:  <Pine.GSO.4.64.1504010016170.26089@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <deischen@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2706C67D-9E00-434E-A295-B8FF5AE8DE30>