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

Re: Swap memory


Following the suggestion of Alexander Dalloz I went to the page:


and followed the instructions to create and activate a swap area.

(I used /sbin/fdisk to find out the device name for the swap partition)

Then I edited /etc/fstab. I changed the line for the swap device and changed `LABEL = xxxxx' to 'LABEL = swap'

With this change the swap area is properly initialized.

Hope this helps.


Harry Nicholls wrote:

This happen on one of our servers in a fresh install of FC4. The swap label
somehow got created with a "space" character inside the label. I worked
around the problem, by putting the swap enabling command followed by
surrounding the label with quotes.  The command was put into the rc.local

If you find a way to change the label of the swap slice, post back. I'd be
interested to fix it properly someday.

Harry Nicholls

-----Original Message-----
From: fedora-list-bounces redhat com [mailto:fedora-list-bounces redhat com]
On Behalf Of matag usb ve
Sent: September 29, 2005 1:28 PM
To: fedora-list redhat com
Subject: Swap memory

Hi everybody,

I am running Fedora Core 4. When I use the 'free command' I get the

            total       used       free     shared    buffers     cached
Mem:        483196     350104     133092          0      29076     178420
-/+ buffers/cache:     142608     340588
Swap:            0          0          0

From which it appears that swap memory is not active.

In addition when the system is rebooted I get a warning that "line 10 of
/etc/fstab is bad", or something like this. Line 10 corresponds to swap
It reads as follows:

LABEL==i386 -mcpu=i68   swap                    swap    defaults        0 0

Any hints on how to correct this?

Thanks in advance,

Gustavo J. Mata

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