RE: Swap memory

From: Harry Nicholls (hnicholls_at_sympatico.ca)
Date: 09/29/05

  • Next message: Gene Heskett: "Re: OT: Massachusetts Verdict: MS Office Formats Out"
    To: "'For users of Fedora Core releases'" <fedora-list@redhat.com>
    Date: Thu, 29 Sep 2005 16:58:55 -0400
    
    

    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@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
    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

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Gene Heskett: "Re: OT: Massachusetts Verdict: MS Office Formats Out"

    Relevant Pages

    • Re: [opensuse] /dev/disk/by-uuid ?
      ... Use "swapoff" to take it out of service before recreating it then ... sda1, use mkswap to recreate it with a label, then revert the process ... kernel might not see the label till next reboot. ... not running - unless the live founds swap space and uses it. ...
      (SuSE)
    • Re: How to set label on swap partition
      ... so it is no longer recognized by Fedora as a swap. ... > doesn't want to set label since it is not a ext2/ext3 partition. ...
      (Fedora)
    • Re: LABEL for swap partition.
      ... I have it ready to go and want to include it in my fstab. ... I can't find how to label a swap disk/space. ... You can label it with the mkswap command: ...
      (comp.os.linux.setup)
    • Re: Sata controller order
      ... This has the effect of juggling the drives so mount does not work. ... solution posted is to mount by label rather than by drive. ... This is possible for EXT2/EXT3 but it is not possile AFAIKS for swap. ... Ron Johnson, Jr. ...
      (Debian-User)
    • Re: Swap memory
      ... and followed the instructions to create and activate a swap area. ... With this change the swap area is properly initialized. ... >If you find a way to change the label of the swap slice, ... >>From which it appears that swap memory is not active. ...
      (Fedora)