Ubuntu/Debian: Add more optional datasets

These were suggested by one or more Ubuntu developers.
Richard Laager 2019-03-17 13:42:52 -05:00
parent 3d9fa7f2af
commit 760b6c9622
2 changed files with 12 additions and 0 deletions

@ -145,6 +145,12 @@ The primary goal of this dataset layout is to separate the OS from user data. Th
# zfs create -o com.sun:auto-snapshot=false \
-o mountpoint=/var/lib/nfs rpool/var/nfs
If this system will use Snap packages:
# zfs create rpool/var/snap
If you use /var/www on this system:
# zfs create rpool/var/www
If you want a separate /tmp dataset (choose this now or tmpfs later):
# zfs create -o com.sun:auto-snapshot=false rpool/tmp
# chmod 1777 /mnt/tmp

@ -169,6 +169,12 @@ With ZFS, it is not normally necessary to use a mount command (either `mount` or
# zfs create -o com.sun:auto-snapshot=false \
-o mountpoint=/var/lib/nfs rpool/var/nfs
If this system will use Snap packages:
# zfs create rpool/var/snap
If you use /var/www on this system:
# zfs create rpool/var/www
If you want a separate /tmp dataset (choose this now or tmpfs later):
# zfs create -o com.sun:auto-snapshot=false rpool/tmp
# chmod 1777 /mnt/tmp