Sanoid install from Ubuntu repo

I am installing Sanoid from the ubuntu repo, and it installs 2.1.5. It sets up the systemd calls and everything okay.

However, at the top of the sanoid README it says that sanoid has to have a defaults config at /etc/sanoid/sanoid.defaults.conf.

However, I do not have a file there after installing sanoid from the Ubuntu repo. It looks like this file is now at /usr/share/sanoid/sanoid.defaults.conf. Is it okay for me to still put my own config file at /etc/sanoid/sanoid.conf? Or should it also go in /usr/share/sanoid directory?

On Ubuntu 22.04 LTS, the default config file is where the README says:

ubuntu@zfs-node1:~$ dpkg -L sanoid
/.
/etc
/etc/sanoid
/etc/sanoid/sanoid.defaults.conf ← HERE :slight_smile:
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/sanoid-prune.service
/lib/systemd/system/sanoid.service
/lib/systemd/system/sanoid.timer
/usr
/usr/sbin
/usr/sbin/findoid
/usr/sbin/sanoid
/usr/sbin/sleepymutex
/usr/sbin/syncoid
/usr/share
/usr/share/doc
/usr/share/doc/sanoid
/usr/share/doc/sanoid/README.Debian
/usr/share/doc/sanoid/README.md.gz
/usr/share/doc/sanoid/TODO
/usr/share/doc/sanoid/changelog.gz
/usr/share/doc/sanoid/copyright
/usr/share/doc/sanoid/sanoid.conf.example
ubuntu@zfs-node1:~$

It’s also usually recommended to run the latest version of the OS if possible…

HTH