Creating a bootable ZFS disk?

Dr Josef Karthauser
Sun, 28 Dec 2014 18:15:46 -0000

On 28 Dec 2014 at 5:30:23 pm GMT, Dr Josef Karthauser <joe at
karthauser.co.uk> wrote:

> On 28 Dec 2014 at 4:53:59 pm GMT, Steven Hartland <killing at
multiplay.co.uk> wrote:
>
> > On 28/12/2014 07:36, Dr Josef Karthauser wrote:
> > > 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!
> > >
> > Would you mind testing to see if this is indeed fixed in 10.1 or
current?
> >
> > Would be good to ensure this is actually fixed?
> >
>
> Grr. I've just updated to 10.1 and now my ata controllers are erroring
like crazy! Luckily booting kernel.old works.
>
> We're there issues with 10.1?
>

For reference this previously reported problem is what I am also seeing:

http://lists.freebsd.org/pipermail/freebsd-stable/2014-November/081136.html

Things were stable and fine under 10.0 but quite quickly borked under 10.1

Joe