Bug 556134

Summary: Can't create new virtual storage image in /home partition via virt-manager GUI
Product: [Fedora] Fedora Reporter: Valent Turkovic <valent.turkovic>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: berrange, crobinso, hbrock, jforbes, lkundrak, opensource, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-18 13:20:20 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:
Attachments:
Description Flags
New VM
none
Locate or create storage volume
none
Add a Storage Volume none

Description Valent Turkovic 2010-01-16 17:54:57 UTC
Description of problem:
I wanted to install new linux virtual machine and as with VirtualBox wanted to keep virtual storage image in users home directory.

virt-manager only offers to use my / partition and that is now acceptable because I use it only for Fedora and usually format it on every new release, and it is too small, only 10GB. Plenty of room for Fedora but not for additional virtual images.

I have a large /home partition where I keep all my user files and also my virtual machines in VirtualBox.

virt-manager doesn't support creating new storage image in /home partition, please change that.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Valent Turkovic 2010-01-16 18:18:16 UTC
Created attachment 384832 [details]
New VM

Comment 2 Valent Turkovic 2010-01-16 18:18:49 UTC
Created attachment 384833 [details]
Locate or create storage volume

Comment 3 Valent Turkovic 2010-01-16 18:19:15 UTC
Created attachment 384834 [details]
Add a Storage Volume

Comment 4 Lubomir Rintel 2010-01-18 13:20:20 UTC
Grow your /var. According to FHS it's the correct place for variable runtime data and SELinux wouldn't allow libvirtd access your home anyway.

Comment 5 Valent Turkovic 2010-01-18 15:45:55 UTC
I don't wan't to store virtual images in /var but in /home as I do with VirtualBox and all other Virtualization apps. I have SELinux disabled and still pressing NEW IMAGE button doesn't present option to choose where to save virtual image file.

please view this video: http://dl.dropbox.com/u/184632/virt-manager.ogg

Comment 6 Valent Turkovic 2010-01-18 15:59:31 UTC
or this link: http://www.youtube.com/watch?v=cqGOhZC_WXQ

Comment 7 Justin M. Forbes 2010-01-19 14:49:44 UTC
Then you need to set up a new storage pool in /home.  This is done before creating a new virtual machine.  In virt-manager:

Open the host details for 'localhost (qemu)'
Click the 'storage' tab
click the '+' on the bottom left side to add a pool

You can add a storage pool to use with virtual machines in this way, and can create volumes in the new pool.

Comment 8 Valent Turkovic 2010-01-20 12:59:12 UTC
Thank you Justin for clarification, this helped a lot! This isn't for me as a new user of virt-manager and this functionality would be somehow more emphasized in UI of popup window when users try to add new storage image.

I thought about these issues and posted two RFEs, please comment on them:
https://bugzilla.redhat.com/show_bug.cgi?id=557103
https://bugzilla.redhat.com/show_bug.cgi?id=557107