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


Search
Twitter Updates

    Blog Categories
    Section2
    « VMWare ESXi 4.0 + HP ProLiant DL160 G5 | Main | Deltek Vision - upgrades and service packs - hold your horses! »
    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.

    PrintView Printer Friendly Version

    Reader Comments

    There are no comments for this journal entry. To create a new comment, use the form below.

    PostPost a New Comment

    Enter your information below to add a new comment.

    My response is on my own website »
    Author Email (optional):
    Author URL (optional):
    Post:
     
    All HTML will be escaped. Hyperlinks will be created for URLs automatically.