ghfields / rpooler

A guided installation script for zfs rpools
30 stars 6 forks source link

Add option to have multi-filesystems (/home /var /root) #4

Open ghfields opened 6 years ago

ghfields commented 6 years ago

From https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS

zfs create -o setuid=off rpool/home zfs create -o mountpoint=/root rpool/home/root zfs create -o canmount=off -o setuid=off -o exec=off rpool/var zfs create -o com.sun:auto-snapshot=false rpool/var/cache zfs create -o acltype=posixacl -o xattr=sa rpool/var/log zfs create rpool/var/spool zfs create -o com.sun:auto-snapshot=false -o exec=on rpool/var/tmp

If you use /srv on this system: zfs create rpool/srv

If this system will have games installed: zfs create rpool/var/games

If this system will store local email in /var/mail: zfs create rpool/var/mail

If this system will use NFS (locking): zfs create -o com.sun:auto-snapshot=false -o mountpoint=/var/lib/nfs rpool/var/nfs

==============
From https://wiki.archlinux.org/index.php/ZFS zfs set sync=disabled /tmp