problem cleaning up old drive

nepal google nepal.roade at googlemail.com
Fri Nov 21 18:34:04 UTC 2008


On Friday 21 Nov 2008, Hakan Koseoglu wrote:
> Brilliant. Turn on the swapfile:
> root at jupiter:~# swapon /swapfile
> root at jupiter:~# swapon -s
> Filename                                Type          
>  Size    Used    Priority /dev/sdb5                      
>         partition       3229024 880     -1 /swapfile    
>                           file            1048568 0      
> -2
>
> As you can see, now I have two swap areas.
> Now turn off the old swap partition

I've done up to this step correctly, but swapon -s only 
shows the swapfile I've just created. Does that mean 
this system has not been using a swapfile?

nepal at kub:~$ sudo swapon -s
Filename                                Type            Size    Used    Priority
/swapfile                               file            1048568 0       -1

free now shows this 

nepal at kub:~$ free
             total       used       free     shared    buffers     cached
Mem:        515844     509880       5964          0       5520     353952
-/+ buffers/cache:     150408     365436
Swap:      1048568        244    1048324

as the original figures for Swap were 0 does that mean I had no swap?

and can I safely delete the old swap partition now?

mucho mucho thanks for your help here. :)

nepal.




More information about the kubuntu-users mailing list