diff --git a/Debian-Stretch-Root-on-ZFS.md b/Debian-Stretch-Root-on-ZFS.md index 8fdb20b..b1c95cc 100644 --- a/Debian-Stretch-Root-on-ZFS.md +++ b/Debian-Stretch-Root-on-ZFS.md @@ -130,6 +130,9 @@ Properties are inherited, if you want to create (for example) `rpool/var/lib` yo If this system will store local email in /var/mail: # zfs create rpool/var/mail + If this system will use docker-ce (which creates snapshots by default): + # zfs create -o mountpoint=/var/lib/docker rpool/var/docker + If this system will use NFS (locking): # zfs create -o com.sun:auto-snapshot=false \ -o mountpoint=/var/lib/nfs rpool/var/nfs diff --git a/Ubuntu-18.04-Root-on-ZFS.md b/Ubuntu-18.04-Root-on-ZFS.md index d5a1f41..609484c 100644 --- a/Ubuntu-18.04-Root-on-ZFS.md +++ b/Ubuntu-18.04-Root-on-ZFS.md @@ -151,6 +151,9 @@ With ZFS, it is not normally necessary to use a mount command (either `mount` or If this system will store local email in /var/mail: # zfs create rpool/var/mail + If this system will use docker-ce (which creates snapshots by default): + # zfs create -o mountpoint=/var/lib/docker rpool/var/docker + If this system will use NFS (locking): # zfs create -o com.sun:auto-snapshot=false \ -o mountpoint=/var/lib/nfs rpool/var/nfs