Re: [opensuse] Swap Devices



On Tuesday 12 June 2007 20:13, Fernando Costa wrote:
I don't know exactly what this errors mean and how to repair them.
Sounds like your swap partition (virtual memory partition) is damaged and can
not be activated. It is relatively easy to recreate a swap partition.
Please take a look at these files:
man swapon
man swapoff
man mkswap

My /etc/fstab entry for the swap partition looks like this:

/dev/sda3 swap swap defaults 0 0

My partition is on device /dev/sda3. I would use these commands:

swapoff -a
mkswap -v1 -L swap /dev/sda3
swapon -a

You may have more than one swap area, and one or more may be corrupted.

You can rebuild each of the areas, or all of them, and you can specify more
parms (you will have to decide by reading the man pages I listed).

Hope this helps you :)


--
Kind regards,

M Harris <><
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • [SLE] SuSE Dell System Delays
    ... intensive applications for gene sequencing and mapping. ... the first time might cause the machine to pause for anywhere from 2 to ... occurs when executing commands at the shell, ... swap partition, and moved all swapping to it. ...
    (SuSE)
  • Re: [SLE] Could Not Create Swap Partition
    ... > A Swap partition is good to have, ... > also create a swap file on your system. ... you can issue these commands ... Bryce Hardy ...
    (SuSE)
  • Re: Swap partition
    ... Both commands are intended to be run by root. ... I don't have a swap partition. ... I went with the defaults in the SUSE 10 installation and it only created the root partition. ...
    (alt.os.linux.suse)
  • Re: Swap partition
    ... First you have to initialize your swap partition with "mkswap", ... it to the system with "swapon". ... Both commands are intended to be run by ...
    (alt.os.linux.suse)
  • Re: [opensuse] /dev/disk/by-uuid ?
    ... You can't reformat a swap partition while it's being used, ... Use "swapoff" to take it out of service before recreating it then ... all I want to do is "label" the swap partition and update my ... Litigation Triage Solutions Specialist ...
    (SuSE)