Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghfields opened this issue May 16, 2018 · 1 comment
Open

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

ghfields opened this issue May 16, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@ghfields
Copy link
Owner

No description provided.

@ghfields ghfields added the enhancement New feature or request label May 16, 2018
@ghfields
Copy link
Owner Author

ghfields commented May 17, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant