Created
January 16, 2012 18:32
-
-
Save sam/1622208 to your computer and use it in GitHub Desktop.
Creating a swap volume for SmartOS
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
# Make sure that the swap volume is the same size as your available RAM or | |
# you'll have trouble starting as many guests as you think you should have | |
# RAM for. | |
zfs create -oprimarycache=none -osecondarycache=none -V256G zones/swap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment