差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
zfs [2017/11/26 00:19]
jz
zfs [2018/12/27 00:41] (目前版本)
jz
行 24: 行 24:
 # load key # load key
 zfs load-key POOL_NAME/​DATASET_NAME zfs load-key POOL_NAME/​DATASET_NAME
 +
 +# mount all
 +zpool import -a -f
 +zfs mount -a
  
 # get property # get property
行 46: 行 50:
 zfs list zfs list
 zfs get quota zroot/​usr/​home/​username zfs get quota zroot/​usr/​home/​username
 +</​code>​
 +
 +====== Snapshot ======
 +
 +===== Manual =====
 +<​code>​
 +zfs snapshot tank/​pool@snapshot
 +zfs rename tank/​pool@snapshot tank/​pool@snapshot-renamed
 +zfs rollback tank/​pool@snapshot-renamed
 +zfs destroy tank/​pool@snapshot-renamed
 +</​code>​
 +
 +===== Scheduled =====
 +<​code>​
 +yaourt znapzend
 +znapzendzetup create --recursive SRC '​7d=>​1h,​30d=>​6h,​60d=>​1d'​ tank/pool
 +znapzend --debug --runonce tank/pool
 +zfs list -t snapshot
 +systemctl enable znapzend
 +systemctl start znapzend
 </​code>​ </​code>​
  
行 52: 行 76:
   * https://​lildude.co.uk/​zfs-cheatsheet   * https://​lildude.co.uk/​zfs-cheatsheet
   * https://​wiki.archlinux.org/​index.php/​ZFS   * https://​wiki.archlinux.org/​index.php/​ZFS
 +  * https://​blog.heckel.xyz/​2017/​01/​08/​zfs-encryption-openzfs-zfs-on-linux/​