Red Hat Bugzilla – Bug 511065
Add a storage volume (file) allocation is not in megabytes as specified.
Last modified: 2009-07-14 20:28:12 EDT
Description of problem:
The dialog to "add a storage volume" (create a new virtual disk file) has a box where the max capacity can be specified with a default of "1000" and a label of "MB". What actually gets allocated is 1MB so that the label is incorrect.
What is needed for specifying max capacity should have the ability of specifying the unit (e.g., KB, MB, GB, TB) ... or at least do GB .. KB is silly.
Version-Release number of selected component (if applicable):
F11 + preview
I just tried this, allocating a 'raw' volume, and it definitely created what I asked for. I entered 1000 for allocation and 1000 for capacity, the resulting image:
$ sudo du -h /var/lib/libvirt/images/test.img
So closing this as NOTABUG. Keep in mind, if you are using qcow2, the image is deliberately not fully allocated, it grows on demand (that is one of the benefits of qcow).
Please reopen if you can reproduce.