I would like to run my system on a zpool mirror as the root device. Probably using FreeBSD 11.3-RELEASE.
This document makes good sense and I am following it:
... until it gets to section 2: "Installing FreeBSD to the ZFS filesystem" ... where they are manually creating the entire filesystem with "zfs create" commands and (weirdly) making individual filesystems for /var/crash, /var/db, /var/db/pkg ... and on and on ...
And then they manually unpack the whole system:
for dir in base catpages dict doc games info lib32 manpages ports; \
do (cd $dir ; ./install.sh) ; done
Two things I don't understand:
1) why are they making so many individual filesystems with 'zfs create' for every little dir in /var and also /usr/ports, /usr/ports/distfiles, etc. ?
2) Why are they manually installing the system instead of just jumping back out and finishing with plain old sysinstall ? The filesystems are already up and mounted so ... why can't sysinstall just finish the job ?
Thanks.
This document makes good sense and I am following it:
RootOnZFS/GPTZFSBoot/Mirror - FreeBSD Wiki
wiki.freebsd.org
... until it gets to section 2: "Installing FreeBSD to the ZFS filesystem" ... where they are manually creating the entire filesystem with "zfs create" commands and (weirdly) making individual filesystems for /var/crash, /var/db, /var/db/pkg ... and on and on ...
And then they manually unpack the whole system:
for dir in base catpages dict doc games info lib32 manpages ports; \
do (cd $dir ; ./install.sh) ; done
Two things I don't understand:
1) why are they making so many individual filesystems with 'zfs create' for every little dir in /var and also /usr/ports, /usr/ports/distfiles, etc. ?
2) Why are they manually installing the system instead of just jumping back out and finishing with plain old sysinstall ? The filesystems are already up and mounted so ... why can't sysinstall just finish the job ?
Thanks.