From: Mark G. <gur...@us...> - 2016-10-24 16:00:51
|
Russell, Were you able to see that the storage pool actually knows about your volume, using "virsh vol-list <pool name>" You can also run "virsh vol-info <path to qcow2 file>" to check the size. Mark Gurevich Poughkeepsie Development Lab HPC Software Development - xCAT "If we knew what it was we were doing, it would not be called research, would it?" --Albert Einstein From: "Russell Auld" <rus...@co...> To: "'xCAT Users Mailing list'" <xca...@li...> Date: 10/24/2016 07:52 AM Subject: Re: [xcat-user] xCAT and KVM and dir:/// storage pools I was using RHEL6.7 and the storage pool was already defined before I tried to setup a VM with xCAT. When I use “vmstorage=nfs://” I noticed that xCAT will create/define the storage pool. From: wx...@cn... [mailto:wx...@cn...] Sent: Sunday, October 23, 2016 9:25 PM To: xca...@li... Subject: Re: [xcat-user] xCAT and KVM and dir:/// storage pools Yes, we did use 'vmstorage=dir:///' a lot. It works well. @Mark, could you help on this? Thanks Best Regards ---------------------------------------------------------------------- Wang Xiaopeng (王晓朋) IBM China System Technology Laboratory Tel: 86-10-82453455 Email: wx...@cn... Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193 ----- Original message ----- From: "Russell Auld" <rus...@co...> To: <xca...@li...> Cc: Subject: [xcat-user] xCAT and KVM and dir:/// storage pools Date: Sun, Oct 23, 2016 9:18 AM 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 xCA...@li... https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ 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 xCA...@li... https://lists.sourceforge.net/lists/listinfo/xcat-user |