Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: remove swap file  (Read 10080 times)

0 Members and 1 Guest are viewing this topic.

Chris Barbot

  • Guest
remove swap file
« on: April 14, 2004, 08:56:34 AM »
Hello,
I've just recently taken over a new linux box and ran into a problem today. The system load was up to 70 at times with user/system process load very low when doing an sar. Idle time was up into the 90's.
Anyway ... I found that the swap the system was running was sized at 300Megs on a machine that has 1 gig of memory.

After rebooting, the load leveled off and I was able to spend some time looking around.
I then went to create a new swap file using <mkswap /dev/sdb3 1000000>
Unfortunately, this took my /home directory to 100%.

I'd now like to "undo" what I've done. Is this possible?
When I try it now, I get an invalid arguement response.
I've tried swapoff /dev/sdb3.

Please tell me this is possible to undo. Uugh!

Thanks.

Chris

prashant shivmath

  • Guest
Re: remove swap file
« Reply #1 on: May 25, 2004, 11:19:16 AM »
TRY TO DELETE THE SWAP PARTITION AND RECREATE AGAIN THERE IS NO UNDO TO RECOVER THE PARTITON