Creating a bootable ZFS disk?

Dr Josef Karthauser joe at tao.org.uk
Sun Dec 28 07:37:19 UTC 2014


On 27 Dec 2014, at 22:57, Warren Block <wblock at wonkity.com> wrote:

> On Sat, 27 Dec 2014, Dr Josef Karthauser wrote:
> 
>> I only have 'zfs_load=?YES?? in my /boot/loader.conf. I?m hoping the problem is that I missed the ?-a4k? on the ?gpart add?. I?m starting again and will report back whether it now works or not! :).
> 
> Misalignment just makes for slow performance, particularly on writes.
> 

Ok, fixed. With -a4k is it now booting. Looks like the partitions weren’t aligned!

As to whether they ought to be aligned by default, this box is on a slightly older version:

  10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #0: Tue Jul  8 06:37:44 UTC 2014

so perhaps that’s been fixed since.

Many thanks folk for your help!

Cheers,
Joe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20141228/8a18be35/attachment.sig>


More information about the freebsd-stable mailing list