Explain the comment commands for ZFS NFS Shares.
This commit is contained in:
parent
6c2ac5e4a0
commit
65e969579d
1 changed files with 4 additions and 0 deletions
|
@ -19,9 +19,13 @@
|
||||||
zfs.extraPools = [ "eru" ];
|
zfs.extraPools = [ "eru" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# ZFS NFS Share settings for read/write. Allows root passthrough with no user permission squash. Multiple IPs.
|
||||||
# sudo zfs set sharenfs="rw=10.1.2.0/24:10.5.0.8/32,no_root_squash,sec=sys,anonuid=548,anongid=548" eru/xen-backups
|
# sudo zfs set sharenfs="rw=10.1.2.0/24:10.5.0.8/32,no_root_squash,sec=sys,anonuid=548,anongid=548" eru/xen-backups
|
||||||
|
# Read Only
|
||||||
# sudo zfs set sharenfs="ro=10.1.2.0/24,no_root_squash,sec=sys,anonuid=548,anongid=548" eru/borg
|
# sudo zfs set sharenfs="ro=10.1.2.0/24,no_root_squash,sec=sys,anonuid=548,anongid=548" eru/borg
|
||||||
|
# Read Only and Read Write
|
||||||
# sudo zfs set sharenfs="ro=10.1.2.0/24,rw=10.1.1.55/32,no_root_squash,sec=sys,anonuid=548,anongid=548" eru/borg/nextcloud
|
# sudo zfs set sharenfs="ro=10.1.2.0/24,rw=10.1.1.55/32,no_root_squash,sec=sys,anonuid=548,anongid=548" eru/borg/nextcloud
|
||||||
|
# Disables NFS share for dataset.
|
||||||
# sudo zfs set sharenfs inherit eru/xen-backups
|
# sudo zfs set sharenfs inherit eru/xen-backups
|
||||||
|
|
||||||
# Network settings
|
# Network settings
|
||||||
|
|
Reference in a new issue