Connect
email: vic @ hong . com . au
mobile: +1 604-783-6519
office: +1 604-677-2829


Search
Twitter Updates

    Blog Categories
    Section2

    Entries in swap file (1)

    Wednesday
    21Oct2009

    NexentaStor - increasing swap space

    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.