ZFS tips and tricks

Quick notes on creating a ZFS filesystem.

root@ron:~/src/configs/gitosis-admin# zfs create tank/data/scratch
root@ron:~/src/configs/gitosis-admin# zfs set quota=10G tank/data/scratch
root@ron:~/src/configs/gitosis-admin# touch /tank/data/scratch/.duplicity-ignore
root@ron:~/src/configs/gitosis-admin#

Creating .duplicity-ignore will prevent Duply (well, Duplicity) from backing up this directory.

 

Checking the compression ratio:

zfs get all  | grep compressratio

Additional information