Home / Software / BSD, Linux, and Unix / remove swap file
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: remove swap file  (Read 3144 times)
Chris Barbot
Guest
« 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
IP logged
prashant shivmath
Guest
« 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
IP logged
Pages: [1] - (Top) Print 
Home / Software / BSD, Linux, and Unix / remove swap file « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.109 seconds with 18 queries.