Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2016 02:15:03 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: Mixed ashift?
Message-ID:  <56FCC067.3060101@freebsd.org>
In-Reply-To: <CAJpsHY6HV1xKcS8D=5pym4w-p4OyXhvma9efBaofyuYRWRLahg@mail.gmail.com>
References:  <CAJpsHY6HV1xKcS8D=5pym4w-p4OyXhvma9efBaofyuYRWRLahg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--lfdDAC2dBh2VRFK00GE5DsUFHOnA0UbaD
Content-Type: multipart/mixed; boundary="AcXIbOpfESreFwuG3LsnSCK1r2BQV2CGQ"
From: Allan Jude <allanjude@freebsd.org>
To: freebsd-current@freebsd.org
Message-ID: <56FCC067.3060101@freebsd.org>
Subject: Re: Mixed ashift?
References: <CAJpsHY6HV1xKcS8D=5pym4w-p4OyXhvma9efBaofyuYRWRLahg@mail.gmail.com>
In-Reply-To: <CAJpsHY6HV1xKcS8D=5pym4w-p4OyXhvma9efBaofyuYRWRLahg@mail.gmail.com>

--AcXIbOpfESreFwuG3LsnSCK1r2BQV2CGQ
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2016-03-31 02:13, Dustin Marquess wrote:
> I have what I think is a pretty normal setup.. a bunch of HDDs plus 2 S=
SDs
> (one ZIL, one SLOG).
>=20
> The HDDs are standard 512 byte sector drives.  The SSDs have 8k page si=
zes.
>=20
> In Illumos I added the SSDs to sd.conf and created the zpool and it sho=
ws
> the HDDs as ashift 9 and the SSDs as ashift 13, like normal:
>=20
> # zdb -C | grep ashift
>             ashift: 9
>             ashift: 9
>             ashift: 9
>             ashift: 9
>             ashift: 13
>=20
> The question is, how to replicate this in FreeBSD?  The old "gnop" meth=
od
> doesn't work anymore, and setting "vfs.zfs.min_auto_ashift=3D13" causes=
 it to
> use 13 for the HDDs, which seems like a waste.  Is this not supported?
>=20
> Thanks!
> -Dustin
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o=
rg"
>=20

gnop should work, and you'd set the ashift before you add the devices.
So add the hard drives with it set to 9, then set it to 13 and add the SL=
OG

--=20
Allan Jude


--AcXIbOpfESreFwuG3LsnSCK1r2BQV2CGQ--

--lfdDAC2dBh2VRFK00GE5DsUFHOnA0UbaD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJW/MBrAAoJEBmVNT4SmAt+RcwQAMV/VUNyYftybIFveAQMENaA
OXAKl22LdrOSjWX45jRfsP4r5CPOFXKaxZ6w0Rd57p5pYLeJi6e/rU0ejL+FwyTT
vy3lthnuWmDD+4rh2Skr503VqegcpKltsXp95jnOK2B8tgWgs2pie3/OYX6XYu6p
xlXbOYbaoSg45AMYUvB9mxXOQ7jBsFalSwGPigmhP9Eie7yqbP2kPzQC+zzkhAMy
N5d8sLAJ2BTZi+FrN2RMtH2NcL8li6DooOCV8fPyb++UMph0kyBlNO9J7yOSxMae
4BM4d+2c+ChDRSz8WjOszF3ERRwwfTXBv93Rebd1DLd2F60s/sIXe/KA0+t0M4JR
OeOezH8NPn5gbKQJrzkn1dBNn5e4VT6c1SYSlfokfIzU+qgiXIXtY3H08TOxNS1i
DPUSNGo/Ntd9A3Vnem/8jK452rTuk332NccL19dxrzdzu1nE88k2h/1XYKhcUaU4
RsVyRK96/iXqaDR7xU6oM+XRb0WNDoAhMUtFXLTIvpwU0atS50J4XTiGE5KJyGw+
CqgenFGV07eUttL11g4d66FXGsi/yf7gTmbdE/quRVaohFkXtMf6cf5gZjzxAW1p
5+V6I57Vc4rVZg1/pPJ9W06IO5iKda3Xc1QIzxkSzJbE2i1Ciz+jWpco9Ucy0dQN
KkRJrkmgk/0+n/51OxIB
=rWYZ
-----END PGP SIGNATURE-----

--lfdDAC2dBh2VRFK00GE5DsUFHOnA0UbaD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56FCC067.3060101>