Bug 47059

Summary: Disk Druid rounds sizes *down*
Product: [Retired] Red Hat Linux Reporter: Brent Nordquist <b-nordquist>
Component: anacondaAssignee: Michael Fulbright <msf>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
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: 2001-07-05 16:48:57 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 Brent Nordquist 2001-07-02 20:41:29 UTC
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
value.

Steps to Reproduce:
1. Click "New".
2. Mount Point "/var", Size (MB) "512", (*) Fixed Size:
3. Click "Ok".

Actual Results:
Partition's created size of "509M" (results vary with hard drive's cylinder
size, of course).

Expected Results:
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.

Comment 1 Michael Fulbright 2001-07-06 16:52:21 UTC
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.