USC2025+SE2 — Backups for the people!
We have started deploying a new backup server, levering the zfs
filesystem together with FreeBSD jails
🤓
We have started deploying a new backup server, levering the zfs
filesystem together with FreeBSD jails
🤓
So, we’ve seen how to create a native jail using FreeBSD’s toolset, and we’ve fine-tuned a few of its settings, including mounting select directories from the host into the jail.
Is that really enough though? 🙃
We want zfs
inside our jail, period!
Since we use a dedicated zfs dataset per jail, isn’t that enough? Well, dataset management (and anything disk-related) is handled on the host.
Practically speaking, this means that the root
user inside the jail cannot
alter dataset properties, nor create new ones.
So, we’ve seen how to create a native jail using FreeBSD’s toolset. Meaning we have a brand-new system to configure!
Some jail-related specificities:
vnet
jails allows for virtualizing the entire network stack;Let’s copy /etc/resolv.conf
& /etc/localtime
from the host into the jail,
so that it can issue DNS requests, and most importantly be on time ;)