1826592 Members
3710 Online
109695 Solutions
New Discussion

swap space

 
SOLVED
Go to solution
Jay Cantwell
Regular Advisor

swap space

hello everyone....I have asked many questions over in the hpux forum and have received a lot of help from the fantastic people there....now I have a linux question about swap space....

I have partitioned 256m of swap space. However, this is not enough to run an Oracle install....sooo...I would like to add more swap space....

I have installed a 14G hard drive and partitioned it as swap....

I then put it in the /etc/fstab and gave the
command swapon -a .. it is not picking up the new drive....

could you please explain the process to me as to how to add an additional disk as swap...does this need to be formatted ??

obviously, I have left out a step while attempting to get this done...any help is appreciated... thanks

Jay
1 REPLY 1
Marcin Golembski_1
Honored Contributor
Solution

Re: swap space

You have to run mkswap command on the new swap partition before you issue the swapon -a (e.g. 'mkswap -c /dev/hdb1' where -c forces mkswap to check the device for bad blocks).