Bloc notes | Mémo ZFS


Posted on February 17, 2015 by Alex comments [zfs]

Set attribut

~/drive/org $ sudo zfs set dedup=on zroot/home/alex
~/drive/org $ sudo zfs set compress=gzip zroot/home/alex
# ex compression +++
~/drive/org $ sudo zfs set compress=gzip-9 zroot/home/alex

Allow

zfs allow alex create,destroy,snapshot,rollback,clone,promote,rename,mount,send,receive,quota,reservation zroot/home/alex
zfs allow -u alex create,mount,receive zroot/bkp/xps15

Send incremental snap

zfs send -v zroot/root/home@zfs-auto-snap_daily-2018-12-24-12h36 | ssh arc sudo zfs receive -v -s -F zroot/bkp/xps15
zfs send -v -I @zfs-auto-snap_daily-2018-12-24-12h36 zroot/root/home@zfs-auto-snap_frequent-2018-12-29-00h30 | ssh arc sudo zfs receive -v -s zroot/bkp/xps15 
zfs send -v -RDI zroot/home/alex@170215-0923 zroot/home/alex@170215-0957 | zfs recv -F -v -d zusb
zfs allow alex create,destroy,snapshot,rollback,clone,promote,rename,mount,send,receive,quota,reservation zroot/home/alex