Re: Swap problem on install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 11, 2003 at 01:41:22PM -0400, Darren R. Weber wrote:
> This may have been discussed before, if so sorry.  I have two nearly
> identical machines.  Each have 512MB of ram.  During the install I let
> the installer do an automatic partition each time and then checked the
> customize box and adjusted the layout to my liking.  The installer
> automatically chose to give me a 1GB swap file (double my ram) which is
> what I would expect and wanted.  Here is the problem:
> After the install I go back and look and suddenly I only have a 256MB
> swap file.  This happened on both boxes.  The first time I thought I
> just goofed it but this one confirmed that it was not my mistake.
> 
> Here is a quick look at my layout, see for yourself.
> 
> [dweber@xxxxxx dweber]$ df -k

df doesn't show swap partitions.  

> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/sda5             14405276   4962636   8710884  37% /
> /dev/sda1               101089     15084     80786  16% /boot
> none                    256600         0    256600   0% /dev/shm

Did you think this was it?  It isn't - it's shared memory.

> /dev/hda2             16121184     32828  15269444   1% /usr/local
> /dev/sda2              2063536    161032   1797680   9% /var
> /dev/hda1              3122956    164964   2799352   6% /var/www
> 
> In the installer swap was set to 1GB. . .that doesn't look like 1GB to
> me.  Has anyone seen this before?  Now that my system is built does
> anyone know of a cheap trick to fix it? (Something like partition magic
> only for linux?)

/sbin/fdisk /dev/sda -l
Substitue hdsa if you put your swap partition there.  Check /etc/fstab
for where it thinks it should be.
Confirm with:
# free
and check the Swap: line.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux