Freebsd root on zfs install

Richard P Mackerras mack63richard at
Fri Apr 6 20:32:06 UTC 2018


Zfs always writes to new space rather than overwriting a file. So the wear
(if that is what you are concerned about will tend to be relatively even.
You appear to have 2TB usb sticks. I wouldn’t bother to do more. I assume
your memory sticks are quick.

Back up important changing files to your spinning rust.
By the time you wear out a usb stick 2TB will be too small to care about..

Of course if your sticks are not quick then that is a different matter.
Swap is a biggie. You want to add swap in fast places.. you can add extra
swap and remove current swap so add extra swap via your fstab. You could
delete the current swap from fstab.



P.S. have you got Samba working?

On Fri, 6 Apr 2018 at 15:09, Rance Hall <ranceh at> wrote:

> I have a freebsd 11.1 server setup using root on zfs using a pair of
> matching usb keys.
> I have a pair of matching 1TB drives for data, and a pair of 6TB drives for
> media.
> I'm trying to minimize the number of disk writes to the usb keys so I'm
> working on a plan to remount some of the zroot mounts onto the spinning
> disks.
> I've already moved /tmp and /usr/home
> I'd like some suggestions of what to do next.
> Here's my current output of "zfs list | grep zroot":
> zroot                                            1.88G  10.2G    88K
> /zroot
> zroot/ROOT                                       1.26G  10.2G    88K  none
> zroot/ROOT/default                               1.26G  10.2G  1.26G  /
> zroot/usr                                         633M  10.2G    88K  /usr
> zroot/usr/ports                                    88K  10.2G    88K
> /usr/ports
> zroot/usr/src                                     633M  10.2G   633M
> /usr/src
> zroot/var                                         860K  10.2G    88K  /var
> zroot/var/audit                                    88K  10.2G    88K
> /var/audit
> zroot/var/crash                                    88K  10.2G    88K
> /var/crash
> zroot/var/log                                     400K  10.2G   400K
> /var/log
> zroot/var/mail                                     88K  10.2G    88K
> /var/mail
> zroot/var/tmp                                     108K  10.2G   108K
> /var/tmp
> I have my eye on /var/log and /var/tmp and adding a mount for /usr/local/
> Thanks for your time guys.
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list