I am hoping my problem has a simple work around, and while I welcome a work around, I really would appreciate some insight as well.
My environment is as follows:
Processor: AMD-V-64
OS: Fedora 13/64bit
Kernel Linux 2.6.34-7-56xfc13.x86_64
Virtual Machine Manager 0.8.5
virt-install --version 0.500.4
qemu-img version 0.12.5
Background:
First issue: the security question, as raised by Christopher Curran in Chapter 19.1. "Storage security issues" seems to indicate best practice is to not assign disk labels to drives, please see
http://docs.fedoraproject.org/en-US/...ecurity_issues
Second issue: the libvirt managed directory issue, raised by FedoraProject.org which identifies an issue where virt-install needs the directory to be within a libvirt managed directory, please see,
https://fedoraproject.org/wiki/Test_...lization_qcow2 which reads in part, "virt-install can only create QCOW2 images in a libvirt managed directory (storage pool), so trying to create /home/foouser/myvm.qcow2 may error unless you have taught libvirt about your home directory. You can do this via virt-manager: Edit->Host Details->Storage-> '+' Button to add a directory storage pool. QCOW2 images can also be provisioned from the 'Storage' section by selecting 'New Volume'"
My Experience:
I now have off-line storage as follows:
/media/61fe4734-0621-4c49-a762-fxxxyyyzzz12/vguest/xyz.qcow2
When I try to create a qcow2 using virt-install to this directory I receive a file but with a format of raw.
When I tried to create qcow2 images on this directory via qemu-img command, I receive a qcow2 format, but when I go to install an OS, it apparently only has a small amount of storage and doesn't expand the storage as I would have expected.
I tried to add this directory to the libvirt managed directory pool but when I do this I receive the following error....
Error: Pool Parameter Error Storage object name must be a string between 0 and 50 characters
As indicated above, I am looking for a work around, so I can create useful qcow2 images in this folder but also any insight, or links to thoughtful discussions about the security concern as well as virt-install qcow2 and libvirt managed directories would be appreciated.
Finally, once this is working, can/should both raw files as well as qcow2 files reside in the same libvirt managed directory or does it even matter???
Regards,