Bug 37754 - Installer force using /SWAP athough I have a swap aprtition
Installer force using /SWAP athough I have a swap aprtition
Product: Red Hat Linux
Classification: Retired
Component: installer (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Brent Fox
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-04-26 05:22 EDT by Milan Kerslager
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-26 11:11:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Milan Kerslager 2001-04-26 05:22:10 EDT
Installer force me to create /SWAP during upgrade even I have swap partiton
on my first disk:

Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       319   2562336    b  Win95 FAT32
/dev/hda2           320       472   1228972+  17  Hidden HPFS/NTFS
/dev/hda3           473      4865  35286772+   f  Win95 Ext'd (LBA)
/dev/hda5           473       727   2048256   83  Linux
/dev/hda6           728      1747   8193118+   b  Win95 FAT32
/dev/hda7          1748      4832  24780231    b  Win95 FAT32
/dev/hda8          4833      4865    265041   82  Linux swap

Also - I have 256MB RAM so why /SWAP is needed during upgrade?
Comment 1 Brent Fox 2001-04-26 11:11:41 EDT
This is documented in the release notes:

    o Swap-related issues -- The 2.4 kernel is more aggressive than the 2.2
      kernel in its use of swap space.  However, as with previous versions
      of the kernel, the optimal sizing of swap space remains dependent on
      the following:

        - The amount of RAM installed
        - The amount of disk space available for swap
        - The applications being run
        - The mix of applications that are run concurrently

      No rule-of-thumb can possibly take all these data points into
      account.  However, we recommend the following swap sizes:

        - Single-user systems with less than 128MB physical RAM: 256MB

        - Single-user systems and low-end servers with more than 128MB
          physical RAM: two times physical RAM (2xRAM)

        - Dedicated servers with more than 512MB physical RAM: highly
          dependent on environment (must be determined on a case-by-case

      While it is certainly possible for systems with specific
      configurations and application loads to run with less (or even no)
      swap space, these guidelines attempt to ensure that you will not run
      out of swap.  The old saying certainly applies to swap space:

          "It's better to have it and not need it, than to need
           it and not have it."

    o Swap-related issues specific to upgrades -- If you are performing a
      fresh Red Hat Linux 7.1 installation, the sizing of swap partitions
      is a relatively-straightforward process.  However, if you have an
      older Red Hat Linux system that you wish to upgrade to Red Hat Linux
      7.1, please keep in mind that the size of the swap partition(s) you
      had previously created may no longer be sufficient.

      The Red Hat Linux 7.1 installation program now examines the available
      swap space.  If insufficient swap space exists, it will configure
      additional swap space in the form of a swap file.  The installation
      program will do this by asking you to select a partition on which to
      create a swap file.  You will also be asked for the desired size of
      the new swap file.

      (NOTE: In no instance will the Red Hat Linux 7.1 installation program
      create a swap partition or file larger than 2GB.  Should your swap
      requirements exceed this size, you will need to address this after
      the installation has completed.)

Note You need to log in before you can comment on or make changes to this bug.