Swap memory

Gustavo J Mata matag at usb.ve
Fri Sep 30 16:47:00 UTC 2005


Harry,

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

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159087#c17


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.

Gustavo

 





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
>file.
>
>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 at redhat.com [mailto:fedora-list-bounces at redhat.com]
>On Behalf Of matag at usb.ve
>Sent: September 29, 2005 1:28 PM
>To: fedora-list at redhat.com
>Subject: Swap memory
>
>Hi everybody,
>
>I am running Fedora Core 4. When I use the 'free command' I get the
>following
>output:
>
>
>             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
>memory.
>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
>
>
>  
>




More information about the users mailing list