Red Hat Bugzilla – Bug 54122
Disk Druid formats oversized swap partitions when they're created in fdisk
Last modified: 2007-04-18 12:37:24 EDT
Description of Problem:
When you make swap partitions in fdisk and then go into Disk Druid to
assign mount points, Disk Druid happily says "I found a swap partition!
Would you like me to format it for you?" and goes about doing just that --
no matter how large the swap partition is. For example, if one uses fdisk
to create an 8 gig swap partition, Disk Druid happily formats and uses it,
even though one could not create such a large swap partition in Disk Druid
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use fdisk to create a >2GB swap partition
2. go into disk druid to assign mount points
3. click ok when prompted to format the swap partition
Voila, one has a large swap partition.
"I'm sorry, we're going to have to cut your slightly oversized swap
partition down to 2 gigs."
I don't know, it may be better to say that we won't format a swap partition >
2GB. They can go back into fdisk and fix it if they want to. I'd be reluctant
to cut it down to 2GB without any sort of override from the user. Perhaps we
could simply take the partition and cut it into 2GB slices. That way, instead
of one 8GB swap, we'd slice it up into 4 2GB swap partitions.
katzj, what do you think?
I just asked Zeke to file it so that we could make sure and do something about
it for Hampton. Really, it falls into the larger class of bugs called
"fdisk/disk druid don't interact well"
Deferring to future release.
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.