Bug 1087054
| Summary: | Different disk size is displayed by fdisk in vm and Create Disk in Rhevm | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Kevin Alon Goldblatt <kgoldbla> | ||||
| Component: | vdsm | Assignee: | Allon Mureinik <amureini> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Aharon Canan <acanan> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 3.4.0 | CC: | amureini, bazulay, gklein, iheim, lpeer, xfrancis, yeylon | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | 3.5.0 | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-04-28 06:44:02 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
The problem relies in that we are giving the units as GB and instead we should provide the units as GiB |
Created attachment 885890 [details] different disk sizes displayed in Rhevm and fdisk -l Description of problem: The disk size displayed in Rhevm and that of fdisk on the VM is caluculated and displayed differently Version-Release number of selected component (if applicable): rhevm-3.4.0-0.12.beta2.el6ev.noarch rhevm-webadmin-portal-3.4.0-0.12.beta2.el6ev.noarch How reproducible: All the time Steps to Reproduce: 1. Via Rhevm Virtual Administrarion UI - Virtual Machines - Disks - Create a New disk of 100GB in size 2. On completion the disk size in the Rhevm VA UI is displayed as 100GB 3. >>> fdisk -l on the virtual machine displays 107.4GB instead of 100GB. The same happens with all disk types (Direct LUN - ovirt-IO-SCSI, ovirt-IO. 4. Performed the following checks: When deviding the byte size (107374182400) by 1024 I get 100 When deviding the byte size (107374182400) by 1000 I get 107 SEE ATTACHMENT FOR SCREEN SHOTS This suggests the fdisk is displaying the GB size by deviding the bytes by 1000 Its a 7% difference and larger disks will emphasize the disparity We need to be consistent in this display as this will only raise uneccessary questions and suppport calls from customers Actual results: Different GB size is displayed in the Rhevm (100GB) and fdisk (107.4) Expected results: The same disk size should be displayed by both Rhevm and fdisk Additional info: