Bug 3761

Summary: existing swap partitions initialised witd incorrect size
Product: [Retired] Red Hat Linux Reporter: stano
Component: installerAssignee: Matt Wilson <msw>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-07-07 17:07:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description stano 1999-06-27 11:27:52 UTC
I was doing a fresh install on a machine
with a bit exotic setup:

/dev/hda1             1        32    257008+   6  FAT16
/dev/hda2   *        33       163   1052257+  83  Linux
/dev/hda3           164       527   2923830    5  Extended
/dev/hda5           164       172     72261   82  Linux swap
/dev/hda6           173       368   1574338+  83  Linux
/dev/hda7           369       527   1277136    7  HPFS/NTFS

/dev/hdc3             1       508    512032+   7  HPFS/NTFS
/dev/hdc4           509       827    321552    5  Extended
/dev/hdc5           509       574     66496+  82  Linux swap
/dev/hdc6           575       827    254992+  83  Linux


The hda6 is an old copy of Linux. I was installing
RH 6.0 on /dev/hda2 with swap space on /dev/hda5
and /dev/hdc5. The setup has detected both
swap partitions and I let it to reinitialise
them. Being curious as always I watched
the log messages on the other virtual screen.
To my horror I noticed that the size of the
both swaps was exact the same, corresponding
to the /dev/hda5 :-(

I verified the situation and corrected it
manually, but if unnoticed, this could
lead to severe problems.

Comment 1 Jay Turner 1999-06-28 13:22:59 UTC
Verified in test lab.  Created 72M and 56M swap partitions, and the
log messages showed that the installer was creating two 72M
partitions.  Completed installation and rebooted to find the
following: "free" shows 144+M of swap space available to the system;
fdisk shows a 72M and a 56M swap partition with 8 sectors and 6
sectors in use.  Pretty strange!

Comment 2 Jay Turner 1999-07-07 17:07:59 UTC
*** This bug has been marked as a duplicate of 3518 ***