Red Hat Bugzilla – Bug 47059
Disk Druid rounds sizes *down*
Last modified: 2007-04-18 12:34:24 EDT
Description of Problem:
When using Fairfax beta1 disk druid to create a partition, specified "512M"
but got "509M"... had to specify "514M" to get "517M", the desired round up
Steps to Reproduce:
1. Click "New".
2. Mount Point "/var", Size (MB) "512", (*) Fixed Size:
3. Click "Ok".
Partition's created size of "509M" (results vary with hard drive's cylinder
size, of course).
In the past, sizes were always rounded *up* to the nearest cylinder
boundary (so that the filesystem would always be at least as big as you
specified). Now it appears to round down, too.
We are now using parted to do partitioning and it does round down to the closest
cylinder. We have added the option of partitioning using cylinders if you have
exact size requirements.