Computing.Net > Forums > Linux > Adjusting Swap Space.

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Adjusting Swap Space.

Reply to Message Icon

Name: Damien
Date: January 31, 2001 at 04:41:26 Pacific
Comment:

Hi, I was hoping somebody could help with re-adjusting the size of my swap partition in the easiest possible way. It is 100mb and I have run out of disk space so I would like to shrink it to about 50mb with minimal messing around. Any help would be greatly appreciated.

Damien.



Sponsored Link
Ads by Google

Response Number 1
Name: Apple
Date: February 1, 2001 at 11:44:05 Pacific
Reply:

If I remember right, the swap partition can't be larger than 64Mb. You needed to make 2 or more to have more swap space.

As for resizing your partitions, there's a utility that comes on the distribution CDs to do that. I don't remember the name. I BELIEVE there're utilities to enable the swap partition called swapon and swapoff. you just type "swapoff /dev/hda4", resize the partition and "swapon /dev/hda4".



0

Response Number 2
Name: Aron
Date: February 1, 2001 at 15:46:06 Pacific
Reply:

Hi!

According to the last message, I just wanted to add that the maximal size of a Linux swap-partition is 128 MBytes.

/Aron.


0

Response Number 3
Name: James
Date: February 1, 2001 at 20:32:08 Pacific
Reply:

The swap partition 128 meg limitation is no
longer valid in even the 2.2 kernel. Yes you
can reformat it but you will be stuck with a
small partition. You could have gone with
swap files or if you dual boot use the
windows swap.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


True time font newbie windows VS unix/li...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Adjusting Swap Space.

Adjusting Swap Partition www.computing.net/answers/linux/adjusting-swap-partition/24522.html

How to find the Swap Space ? www.computing.net/answers/linux/how-to-find-the-swap-space-/14765.html

snable swap space-stuck www.computing.net/answers/linux/snable-swap-spacestuck/11524.html