You can in crease the swap size in two ways
1. By Adding another slice
2. By adding file
Example: Please follow the below steps
Adding Swap Files
To add a swap file, complete the following steps:
1. The
/export/data file system appears to have adequate space to
create an additional swap file. Create a 20-Mbyte swap file named
swapfile
in the /export/data directory.
#
mkfile 20m /export/data/swapfile
2. Add the swap file to the system's swap space.
#
swap -a /export/data/swapfile
3. List the details of the modified system swap space.
#
swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0t0d0s1 136,1 16 1206736 1084736
/export/data/swapfile - 16 40944 40944
4. List a summary of the modified system swap space.
#
swap -s
total: 106256k bytes allocated + 8512k reserved = 114768k used,
587512k
available
5. To use a swap file when the system is subsequently rebooted, add an
entry for the swap file in the
/etc/vfstab file.
#
vi /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot opt
/export/data/swapfile - - swap - no -
Adding Slice
all the above steps are followed
except here u mention ,
#swap -a /dev/rdsk/c*t*d*s*
make an entry in /etc/vfstab, to make it permanent.
Hope this will help you....