Red Hat Bugzilla – Bug 215413
Incorrect Xen vm disk size brings the system to its knees
Last modified: 2008-01-22 16:39:56 EST
Description of problem:
I was testing FC6/Xen on a laptop with 100GB HDD. I ran virt-install and
accidentally gave disk size 2000 (gigabytes). virt-manager merrily continues its
journey to install a virtual machine until it start formatting the / partition,
it seems to take eons and will bring the system to its knees, nothing is
responding under GNOME. After a forced reboot I found the disk image file being
The same absurd behaviour can also be triggered with virt-manager.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a new Xen virtual machine
2. Enter some hilarious disk size, e.g., 10 times your physical disk size
3. See the system crawling until the userr frustrates completely
System dying slowly.
Bizarre disk size rejected before proceding to OS install.
With sane disk size everything is working all ok.
To add confustion, virt-manager wants file size in megabytes, virt-install in
virt-manager should probably some sanity checking here and at least get
confirmation; virt-install allows things like this somewhat intentionally (makes
it easier to do testing of large disks, etc)
Just to save me some testing, was the absurdly large storage file sparse or
non-sparse? I assume non-sparse, but can you say for sure?
I can say for sure only that I was using default values and not doing any sparse
settings by hand.
change QA contact
F6 is end of life, but this certainly should not be an issue in F7 or F8, as
there is sanity checking in virt-install and virt-manager to ensure we do not
attempt to create a disk that is larger than available space on the host.
Closing this as CURRENTRELEASE.