Skip to content

Instantly share code, notes, and snippets.

@bixu
Created August 31, 2010 23:23
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 bixu/559963 to your computer and use it in GitHub Desktop.
Save bixu/559963 to your computer and use it in GitHub Desktop.
#!/bin/sh
until [ "`zpool list rpool`" ];
do
:
done
pfexec zfs set compression=on rpool
# For some reason, the rpool/ROOT dataset (which is the root filesystem
# doesn't inherit the compression property from the parent
# pool like the other datasets. So, we'll just set it manually
pfexec zfs set compression=on rpool/ROOT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment