Date: Fri, 10 Oct 2014 15:15:55 -0500 From: Mark Felder <feld@FreeBSD.org> To: freebsd-stable@freebsd.org Subject: Re: GPT partitions not 4k aligned by 10.1-RC1 installer Message-ID: <1412972155.2402830.177608133.7B9238D9@webmail.messagingengine.com> In-Reply-To: <54373F37.9030304@ijs.si> References: <54373F37.9030304@ijs.si>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 9, 2014, at 21:06, Mark Martinec wrote: > Today I did a quick install of a 10.1-RC1 from an installation > ISO DVD. Apart from choosing a ZFS filesystem, other options were > left to their default. In particular, the align-to-4k ZFS options > was left enabled. > > Guess what, the ZFS really ended up with ashift 12, > but neither the swap nor the zfs partition is 4k aligned: > > # gpart show /dev/ada0 > => 34 625142381 ada0 GPT (298G) > 34 1024 1 freebsd-boot (512K) > 1058 8388608 2 freebsd-swap (4.0G) > 8389666 616752749 3 freebsd-zfs (294G) > > I find this unacceptable and surprising, > regardless of what the underlying media is. > > Now that even Windows is aligning partitions to 1 MiB, > and SSD erase block is often cited as 1 MiB ... > > Worried about space waste of half of one JPG photo? > Thanks for the report. The installer should be using gpart -a to create the partition aligned, but your result shows that did not happen.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1412972155.2402830.177608133.7B9238D9>