NexentaStor - increasing swap space
Wednesday, October 21, 2009 at 8:19AM
Here's another tip I forgot to post yesterday. How to increase the swap space on your NexentaStor server.
When I was trouble shooting our NexentaStore server when it has low available drive space, in the NexentaStor documentation I found that the default swap size is the memory size. For some reason we had a 1 gig swap file, and 4 gig of ram. Perhaps we didn't have all the ram populated on original install, so just to make sure everything was setup correct to help my trouble shooting, I went looking for a way to increase the swap space.
Since there wasn't any option I could find in the web gui, I was certain it was going to be a CLI thang. After some googling, I came across this:
http://www.crypticide.com/dropsafe/article/2649
I ssh-ed into the NexentaStor server as the admin user, and ran:
zfs set volsize=4G syspool/swap
This changed the swap space to the same size as the physical ram in the server.
nexenta,
nexentastor,
swap file,
swap space in
opensolaris 



Reader Comments