Travis, Change the property local.storage.path in /etc/cloud/agent/agent.properties. Thanks, Dave
> Date: Thu, 29 Aug 2013 21:03:51 +0530 > Subject: Re: Change default libvirt storage pool location on KVM > From: rajuj...@gmail.com > To: users@cloudstack.apache.org > > Hello Travis, > > If you are using virt-manager GUI then you can select the host, in case of > localhost select localhost (qemu connection) go to edit->connection details > there you have storage and you should be able to delete add or whatever. > If no GUI then use 'virsh' with storage pool commands. > first 'virsh pool-list, then virsh pool-destroy and finally virsh > pool-define with your xml config I believe. > > Thanks, > Jithin > > > On Thu, Aug 29, 2013 at 7:53 PM, Travis Graham <t...@tgraham.us> 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