Computer Hope

Software => BSD, Linux, and Unix => Topic started by: Chris Barbot on April 14, 2004, 08:56:34 AM

Title: remove swap file
Post by: Chris Barbot 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
Title: Re: remove swap file
Post by: prashant shivmath 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