Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Last active May 2, 2018 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/2f208e127ac74fd83decbb27453d286d to your computer and use it in GitHub Desktop.
Save cleverca22/2f208e127ac74fd83decbb27453d286d to your computer and use it in GitHub Desktop.
[clever@nas:~]$ zfs list -o name,used,compression,dedup,com.sun:auto-snapshot
NAME USED COMPRESS DEDUP COM.SUN:AUTO-SNAPSHOT
naspool 1.73T lz4 off true
naspool/1tb_backup 55.7G gzip-9 off true
naspool/1tbbackup 65.6G lz4 off true
naspool/amd-nixos 16.8G lz4 off true
naspool/gits 3.64M lz4 off true
naspool/home 5.25G lz4 off true
naspool/laptop-root 95.0G on off true
naspool/mc1 856M lz4 off true
naspool/mc2 3.35G lz4 off true
naspool/nas 1.28T gzip-9 off true
naspool/root 59.9G lz4 off true
naspool/windows-extra 114G lz4 off true
[clever@amd-nixos:~]$ zfs list -o name,used,compression,dedup,com.sun:auto-snapshot
NAME USED COMPRESS DEDUP COM.SUN:AUTO-SNAPSHOT
amd 213G gzip-9 off false
amd/coredumps 134M lz4 off false
amd/dedup 21.8G gzip-9 on true
amd/docker 10.4M gzip-9 on false
amd/home 103G gzip-9 off true
amd/nix 46.3G off off false
amd/root 6.96G gzip-9 off true
amd/vbox 31.4G gzip-9 on true
[clever@system76:~]$ zfs list -o name,used,compression,dedup,com.sun:auto-snapshot
NAME USED COMPRESS DEDUP COM.SUN:AUTO-SNAPSHOT
tank 334G lz4 off true
tank/docker 2.58G lz4 off true
tank/home 67.7G lz4 off true
tank/nix 57.1G lz4 off false
tank/root 11.7G lz4 off true
tank/swap 66.0G lz4 off true
tank/vbox 127G lz4 on true
[clever@amd-nixos:~]$ zfs get com.sun:auto-snapshot -t filesystem
NAME PROPERTY VALUE SOURCE
amd com.sun:auto-snapshot false local
amd/coredumps com.sun:auto-snapshot false inherited from amd
amd/dedup com.sun:auto-snapshot true local
amd/docker com.sun:auto-snapshot false inherited from amd
amd/home com.sun:auto-snapshot true local
amd/nix com.sun:auto-snapshot false inherited from amd
amd/root com.sun:auto-snapshot true local
amd/vbox com.sun:auto-snapshot true local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment