Red Hat Bugzilla – Bug 43050
installer doesn't recognise existing swap partitions
Last modified: 2007-04-18 12:33:30 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
Description of problem:
When upgrading from 7.0 to 7.1 the installer only recognised 1 out of 8
swap partitions and strongly recommended that I create a swap file (I did
so). I tried to reinitialize the swap space with Linux conf and webmin
with no luck. The partitions were orginally set up on a 7.0 install as
raid. Now when I boot the machine I get a failure to mount these
partitions and a failure with /etc/fstab
worked with Trish from tech support Friday night. We were able to
cause /etc/fstab to not fail on start up. We also noted that from some reason
the system had marked the swap partition it recognized and the one it
recommended I create on upgrade as having a mount point of swap.
Although /etc/fstab no longer fails at start, I am receiving the following
messages on atleast two swap partitions ...operation not allowed
Is it possible for you to attach your original /etc/fstab file?
Created attachment 20272 [details]
orginal fstab....I think
Created attachment 20273 [details]
assuming you'd ask for this as well
Although /etc/fstab no longer failes at startup ....swapon does
I think that the kernel has a limit of 8 swap spaces. It looks like you have 9
swap partitions and 1 swap file.
I would recommend trying to consolidate those swap spaces into one or two swap
partitions. My guess is that the installer saw all those partitions and didn't
know what to do. I'm curious as to how you had 9 swap partitions in the first
place, since the kernel only supports 8. I think this isn't really a bug so
much as it is a limitation of the kernel.
There is another problem, though, and that is that the installer will let you
make more than 8 swap partitions. It will also let you make more than 16
partitions on one IDE drive, which is not supposed to happen. I'm filing an RFE
for these issues as bug #44115
The system was setup from 6.0 criteria for swap partitioning (ie. minimum
equals twice your Ram and no single partition greater than 127 Mb (I think)).
Since the goal two years ago was to allow for 512Mb of Ram that called for 9
swap partitions....When I upgraded through the releases 6.1,6.2,7.0 and finally
7.1 I never changed this setup (it wasn't broke so I didn't fix it). At 7.1 the
installer only saw one of the swap partitions at 133Mb (actual size) and
strongly suggested I create the swap file.
I've rebuilt the system tailoring down the swap to one partition.
Thanks for the help.
I don't remember back quite that far, but I do know that with the 2.4 kernel
(and also at least with the latter 2.2.x series kernels) that the maximum size
of a swap parititon is 2GB.
Thanks for your report. I'm going to resolve this bug as a dupe of bug #44115,
even though it's not really. But when we fix the partitioning screen, this bug
will be fixed too. Partitioning is currently getting reworked.
*** This bug has been marked as a duplicate of 44115 ***