[ale] Linux Swap

Steve Jones SJones at btsquared.com
Fri Apr 23 10:26:59 EDT 1999


Apparently the swap partition was somehow messed up.
I deleted then recreated the partition using fdisk.
Then ran mkswap on it.

Works great now..(Netscape loads a lot faster)

Thanx all



-----Original Message-----
 From: Eric Ayers [mailto:eric.ayers at mindspring.com]
Sent: Friday, April 23, 1999 6:16 AM
To: Steve Jones; ale at ale.org
Subject: Re: [ale] Linux Swap


Steve Jones wrote:
> 
> While we're at it...I ran into the following message on booting up using
> rh5.2:
> 
> "Swap: /dev/hdb6 Operation not supported by device"
> 
> /etc/fstab looks ok. When I check out /proc/memInfo it says that I have no
> swap space. From looking thru the man pages it looks like I am going to
have
> to either create a swapfile or do some repartitioning of hard drive space.

Maybe there is something wrong with your partition table.  Check the
output of:

fdisk /dev/hdb
fdisk> p    # print the partition table

> 
> Am I headed in the right direction or is there something else I can/should
> do?
> 
> Thanx
> Steve
> 
> -----Original Message-----
> From: tracc [mailto:tracc at abraxis.com]
> Sent: Thursday, April 22, 1999 2:42 AM
> To: ale at ale.org
> Subject: [ale] Linux Swap
> 
> Ive installed redhat 5.2 on a p133 and was told that the system had 64M of
> RAM...but found out later that that is was  16M ..is there anyway to
change
> the size of the swap partition . The swap is at 64M.

Do you want to make it smaller?  I would say that 64MB is a pretty good
size 
for a swap partition for a Linux machine.  It's pretty much guess work
anyway.  I like
to err on the side of making my partition 'too big' I usually make it
the limit of 
127MB if I have 128 MB or less.  This amount of disk space is usually
less than 5% of
the total disk space anyway.

If you want to  make it larger, depending on how your partitions are
laid out, the 
easiest thing to do might be to make a new partition and add both.  If
you've
configured all of the disk space on your hard drive (which is what
everyone usually does), 
then you will likely have to nuke the swap partition and one of hte
partitions next to
it in order to change the size.
-Eric.






More information about the Ale mailing list