Date: Tue, 8 Oct 2013 13:25:14 -0700 From: Freddie Cash <fjwcash@gmail.com> To: Nathan Whitehorn <nwhitehorn@freebsd.org> Cc: FreeBSD-Current <freebsd-current@freebsd.org>, Allan Jude <freebsd@allanjude.com> Subject: Re: [CFT] Patch to bsdinstall to support root-on-ZFS and GELI Message-ID: <CAOjFWZ4BMMna25KnD7RgRiLr5dszjrT9AdGjJi5XQXB9q1=Tmw@mail.gmail.com> In-Reply-To: <52546844.2010608@freebsd.org> References: <52531295.7090700@allanjude.com> <52546844.2010608@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 8, 2013 at 1:17 PM, Nathan Whitehorn <nwhitehorn@freebsd.org>wr= ote: > 4. What is this gnop stuff for? > Can't comment on the rest, but gnop is required to create 4K-aligned vdevs where the minimum block size is 4K (aka ashift=3D12). Without this, ZFS relies on the underlying disk driver providing the correct information, and most don't. Also, if you don't do this, and create a vdev using 512B sectors, the ashift will be set to 9, and replacing the drive down the line with 4K Advanced Format drive will drop your drive performance in the toilet.=E2=80=8B=E2=80=8B Thus, to future-proof your pool, you need to: - set the ashift of the pool to 12 (4 KB) - align the disk/partition on 4 KB boundaries (starting partition at 1 MB works well) Until our ZFS gains the ability to set a minimum ashift for the pool, or to set the ashift at vdev creation, or all drive manufacturers write perfect firmware, than we need to fake it with gnop. --=20 Freddie Cash fjwcash@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ4BMMna25KnD7RgRiLr5dszjrT9AdGjJi5XQXB9q1=Tmw>