All,
I am using SOLARIS 7. I have formated my hard drive to consist of only 150MB of swap space. This isn't enough considering I am running Oracle. How do I create additional swap space?
Please list sources or commands.
PS mkswap doesn't work on my machine. ( I have swap and swapadd)
To add a raw swap partition to a Solaris 2.x system, identify an unused partition on a disk. Traditionally, slice 1 is used for swap space. Add the following entry to /etc/vfstab, taking care to use the correct device name:
/dev/dsk/c0t1d0s1 - - swap - no -
Enable the new partition with the swap command:
swap -a /dev/dsk/c0t1d0s1
There are many kinds of swap space. PxT accurately decribes disk space swap. Mr JuniorUnix accurately describes file space swap. Most people consider file space swap to be much less efficient and slower than disk space swap. I would recommend some research into the subject and make sure that you will be happy with file space swap vs. disk swap. Just to let you know, we never use file swap and always use raw disk swap. There is a considerable difference in performance between the two, as I recall.