Created
August 31, 2010 23:23
-
-
Save bixu/559963 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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