Skip to content

Instantly share code, notes, and snippets.

@sam
Created January 16, 2012 18:32
Show Gist options
  • Save sam/1622208 to your computer and use it in GitHub Desktop.
Save sam/1622208 to your computer and use it in GitHub Desktop.
Creating a swap volume for SmartOS
# 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