Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2022 15:51:30 +0300
From:      Stefan Parvu <sparvu@kronometrix.org>
To:        John Kennedy <warlock@phouka.net>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: From UFS to ZFS as root on RBPI4
Message-ID:  <FA3814F8-6B00-4516-B1CE-BC11F692E7A7@kronometrix.org>
In-Reply-To: <YwJY4/IbSR6rgoir@phouka1.phouka.net>
References:  <YwJY4/IbSR6rgoir@phouka1.phouka.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for pointers.=20

Will start soon this and report back my progress. The idea would be to have a=
 ready freebsd microsd image with ZFS installed by default

Best Regards,
Stefan Parvu

> On 21. Aug 2022, at 19.12, John Kennedy <warlock@phouka.net> wrote:
>=20
> =EF=BB=BFOn Fri, Aug 19, 2022 at 01:38:56PM +0300, Stefan Parvu wrote:
>>> My RPI4 8GB runs on ZFS on a USB-disk.
>> Would this work for another microSD card, as well, I bet. Right? =20
>> Boot from the microSD card and plug-in via USB another microSD card, repe=
at the procedure and build sort of FreeBSD 13.1 with ZFS root on microSD.
>> Are there any problems why ZFS wont work for a microSD card ?
>=20
>  I've done ZFS on SD and much smaller RAM sizes on older RPIs when it
> was arguably way more painful.  I'd probably recommend doing a
> bsdinstall onto the USB-attached SDcard, but the RootOnZFS page is what
> I used back when that was a new thing.
>=20
>  Two things I'd definitely do differently are:
>=20
>  1:  Having your swap be a real, proper swap partition (if you do hit
>    your swap hard, you really don't want disk buffering messing
>    up your performance, plus it's always nice to get kernel
>    dumps if you ever want to contribute that way).
>  2:  Break out /usr/obj/usr into it's own dataset/filesystem.  If you
>    compile your own kernel+world, that is where the objects end up
>    and if you do things like boot-environments, that'll really blow
>    up the size for something you probably won't care about.
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FA3814F8-6B00-4516-B1CE-BC11F692E7A7>