Skip to content

Instantly share code, notes, and snippets.

@thelander
Last active August 29, 2015 14:12
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 thelander/3df7c2d63ce6dab48bd1 to your computer and use it in GitHub Desktop.
Save thelander/3df7c2d63ce6dab48bd1 to your computer and use it in GitHub Desktop.
ZFS commands

ZFS commands

Activate lz4 compression.

$ zfs set compression=lz4 tank/dataset

Check compression ratios.

$ zfs get compressratio

Share dataset over NFS.

$ zfs set sharenfs=ro=@10.0.2.0/24 tank/dataset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment