LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to unmount actual swap and mount a new(bigger) swap space? (http://www.linuxquestions.org/questions/linux-newbie-8/how-to-unmount-actual-swap-and-mount-a-new-bigger-swap-space-190224/)

isaac 06-06-2004 12:56 AM

How to unmount actual swap and mount a new(bigger) swap space?
 
Hi,

I have 792 MB of swap space. Now I am installing Oracle Database, that requires 1GB of swap space.

How to unmount actual swap and mount a new(bigger) swap space?

Thanks!! :Pengy:

btmiller 06-06-2004 01:23 AM

To disable your existing swap, type swapoff -a and then swapon /dev/hdxx where /dev/hdxx is your new swap partition (or swap file). You can use more than one swap partition/file just by enabling swap on all the swap files/partitions your system knows about with swapon -a. Or you can enable swap on each partition/file individually. See man swapon for more details.


All times are GMT -5. The time now is 04:59 AM.