Oracle Solaris File Systems and Disk Management (MOSC)

MOSC Banner

Increasing Swap Memory

edited Dec 10, 2012 10:39PM in Oracle Solaris File Systems and Disk Management (MOSC) 9 commentsAnswered
Hi,
I'm trying to increase swap memory on my Solaris Server.

This is what i ran: 

1. I tried increasing the #rpool/swap but it said the dataset was busy
   # zfs set volsize=90G rpool/swap

2. So since my current swao area is in use, i added another swap volume.
   # zfs create -V 90G rpool/swap2

3. I then activated my 2nd swap volume.
   # swap -a /dev/zvol/dsk/rpool/swap2

4. Confirmed, i can see it # swap -l then i ran a # top, all good i can see it.

Now the problem is on a reboot, my 2nd swap volume is deactivated and i'm only running on the initial swap=2G.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center