To briefly summarize my end goal: I have a FreeNAS 11.2 machine with a RAID-Z1 (4x6TB) storage pool that I'd like to backup to a physically external volume (i.e. somewhere else in the house). I picked up a couple of cheap 10TB USB3 drives w/ external power sources that I plan to stripe, since redundancy isn't a big concern for a secondary backup. I have a Raspberry Pi model B (512MB RAM version) that I was thinking about trying to use to run the ZFS pool that the FreeNAS snapshots will replicate to, but first a couple of questions:
1. Is this sane to even attempt with the Pi model B's very modest horsepower? I did get a kernel warning about recommended memory for ZFS as follows:
Between that and the recommendations in the wiki article about ZFS tuning, I'd guess it's foolish to even try this on 512MB (actually less, since the Pi allocates some system memory to the GPU and I haven't found how to modify that amount in FreeBSD). But I wondered if the workload in my scenario might be light enough to get away with it.
(I'm not averse to picking up a Pi 4 for this purpose which almost certainly has enough oomph to do the job, but it's fun to put old hardware back into service when possible. I saw the recommendation to use the Pi 3's arm64 image for the 4 -- how is compatibility so far for anyone who's tried it?)
2. Once I settle on which Pi to use: Are ZFS pools created in FreeNAS compatible with FreeBSD and vice versa? I ask because copying several terabytes should go a lot faster over USB3 than over the network (even with the Pi 4's gigabit ethernet), so I was hoping to hook the drives straight to the FreeNAS machine, create the pool there, seed the initial backup, then move them to the Pi and import the pool into FreeBSD and run nightly incremental backups from there. Would that work?
Sorry if any of this is overly obvious or rudimentary, my experience with ZFS and FreeBSD is limited to about a year with FreeNAS.
1. Is this sane to even attempt with the Pi model B's very modest horsepower? I did get a kernel warning about recommended memory for ZFS as follows:
Code:
ZFS WARNING: Recommended minimum RAM size is 512MB; expect unstable behavior.
ZFS WARNING: Recommended minimum kmem_size is 512MB; expect unstable behavior.
Consider tuning vm.kmem_size and vm.kmem_size_max
in /boot/loader.conf.
Between that and the recommendations in the wiki article about ZFS tuning, I'd guess it's foolish to even try this on 512MB (actually less, since the Pi allocates some system memory to the GPU and I haven't found how to modify that amount in FreeBSD). But I wondered if the workload in my scenario might be light enough to get away with it.
(I'm not averse to picking up a Pi 4 for this purpose which almost certainly has enough oomph to do the job, but it's fun to put old hardware back into service when possible. I saw the recommendation to use the Pi 3's arm64 image for the 4 -- how is compatibility so far for anyone who's tried it?)
2. Once I settle on which Pi to use: Are ZFS pools created in FreeNAS compatible with FreeBSD and vice versa? I ask because copying several terabytes should go a lot faster over USB3 than over the network (even with the Pi 4's gigabit ethernet), so I was hoping to hook the drives straight to the FreeNAS machine, create the pool there, seed the initial backup, then move them to the Pi and import the pool into FreeBSD and run nightly incremental backups from there. Would that work?
Sorry if any of this is overly obvious or rudimentary, my experience with ZFS and FreeBSD is limited to about a year with FreeNAS.