Bug 850839
Summary: | unit for new device size defaults to bytes if not specified | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mukundan Ragavan <nonamedotc> | ||||||
Component: | anaconda | Assignee: | David Lehman <dlehman> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | rawhide | CC: | g.kaviyarasu, jonathan, nonamedotc, stephent98, vanmeeuwen+fedora | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-11-26 16:30:09 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Mukundan Ragavan
2012-08-22 14:07:20 UTC
(In reply to comment #0) > Description of problem: > > In the custom partition screen of anaconda, regardless of the size of the > partition entered, the installer creates only a 500 MB partition. Exactly what are you entering in the size entry field? > Steps to Reproduce: > 1. Select review partition option (not in verbatim form the screen) > 2. Choose any partition size and mount point (Say, 4000 MB - see screenshot) Where is the screenshot? Created attachment 606298 [details]
Attachment showing size of partition entered
Created attachment 606299 [details]
attachment showing the size of the partition created.
Hi David, Apologize for not attaching the screenshot earlier. As shown in the screenshot, I entered '4000' in the size entry field. If you hold the mouse pointer over the size entry field you should see some text describing how to specify the size. You can now specify sizes in a more flexible format, eg: "25GB", "1024 mb", &c. You have uncovered a bug, however -- if no unit is given, we are defaulting to bytes where we should probably be defaulting to megabytes. The fact that you end up with a size of 500MB in this case is due to some additional logic that I am fixing as well, triggered by a user specifying a very small size (4000 bytes in your case). Both the default unit and the handling of small sizes will be fixed shortly, but in the meantime you can avoid all this mess by specifying your preferred units. Thanks for the input David. Much appreciated. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers I believe this bug has been resolved. As of alpha-RC2 and alpha-RC3, the value defaults to megabytes as it should! -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers See also: Bug 868629 - Custom storage "device capacity" usability |