more commands

This commit is contained in:
benoit 2020-09-21 10:24:06 +00:00
parent 3aa786a49b
commit 252828431e

View file

@ -5,9 +5,12 @@ apt install zfsutils-linux
zpool create local /dev/xxx zpool create local /dev/xxx
zpool list zpool list
zfs create local/home zfs create local/home
zfs set compression=lz4 local/home
zfs list zfs list
zfs set compression=lz4 local/home
zfs get compression zfs get compression
zfs get compressratio local/home
zfs set dedup=on local/home
zpool get dedupratio local/home
zfs set mountpoint=/home local/home zfs set mountpoint=/home local/home
zfs set sharenfs="rw=@10.0.1.0/24" local/home zfs set sharenfs="rw=@10.0.1.0/24" local/home
zfs share local/home zfs share local/home