Hi,
I was unsuccessful using a local storage pool as specified by something like 
"chdef kvm1 vmstorage=dir:///install/vms"
I verified that the pool existed in virsh and virt-manager.
I ran "mkvm kvm1 -s 20G" which created the kvm1.hda.qcow2 file in /install/vms
However, the KVM/QEMU system doesn't see the storage properly. 
When Anaconda runs, it sees the virtual disk as very small, and not as 20G.

On the other hand, if I set up an NFS exported storage pool, such as "chdef 
kvm1 vmstorage=nfs://<server-IP>/vms" and otherwise do
the same commands, it works fine. Anaconda will run and it sees the virtual 
disk as 20G.

I looked at /opt/xcat/lib/perl/xCAT_plugin/kvm.pm and it seems that it handles 
"dir:///" differently than "nfs://", specifically in
"build_pool_xml". 

Does anyone use local storage pool via "dir:///" ?
Is that a non-typical usage?

this is xcat version 2.12.2

Thanks,
Russ


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to