zpool create -f <pool> <device1>
zpool create -fd <pool> mirror <device1> <device2>
zpool create -f -o ashift=12 <pool> raidz1 <device1> <device2> <device3>
zfs create zpool0/dataset
sudo apt-get install -y nfs-kernel-server zfs set sharenfs=on pool-name/dataset-name
zfs set sharenfs pool-name/dataset-name
wieder exportiert werdenzfs set sharenfs="rw=@192.168.11.0/24" pool-name/dataset-name zfs set share="name=my-share,path=/path/on/server,prot=nfs,sec=sys,rw=*,public" pool-name/dataset-name zfs set sharenfs="rw=@192.168.0.0/24,rw=@10.0.0.0/24" pool-name/dataset-name zfs set sharenfs=10.1.1.0/24:rw,fsid=100,no_subtree_check,async,no_root_squash zfs/home #Einstellungen für ESX(i)
exportfs
# add this to /etc/rc.local zfs share -a
[Unit] Description=Autostart [Service] Type=oneshot ExecStart=/sbin/zfs share -a
options zfs zfs_arc_max=8589934592
update-initramfs -u