Until you figure this out, you can use bind mount to bind
/var/lib/libvirt/images to a larger local directory. Lines such as this
would exist in /etc/fstab;
/data1/var/lib/libvirt/images /var/lib/libvirt/images none bind 0 0
ignore if you are already using this method and need to other method to
meet your requirements.
/Ove
On 08/29/2013 04:23 PM, Travis Graham wrote:
When I add a new KVM host to a cluster it sets up a default Primary storage
that's pointing to the /var/lib/libvirt/images/ directory on the KVM host. I've
dug around trying to find where to change that default but I'm not see where
it's being configured.
I've tried to change the local_path values in the storage_pool and
storage_pool_host_ref tables, but I keep getting errors when trying to spin up
the systemvms.
Is this something that is configured through cloudstack somewhere or something
I need to change in libvirt when configuring a new KVM host and where/how would
I change that? The libvirt docs show some XML files that describe how that's
setup and that /var/lib/libvirt/images/ is the default, but doesn't explain
where/how to change that.
Thanks,
Travis
--
Ove Everlid
System Administrator / Architect / SDN & Linux hacker
Mobile: +46706662363
Office: +4618656913 (note EMEA Time Zone)