[Openstack] Instances Location and Space Occupied

gustavo panizzo <gfa> gfa at zumbi.com.ar
Wed Mar 5 20:10:06 UTC 2014


On 03/05/2014 11:40 AM, Georgios Dimitrakakis wrote:
> I have an OpenStack installation with one compute and one controller node.
> 
> The location of the instances is at:
> 
> /var/lib/nova/instances at the compute node
> 
> I would like to know the following:
> 
> 1) If there is a way to move it to /home or any other partition without
> breaking OpenStack. I don't mind to shutdown all instances. But I want
> after moving it to be able to power them on.
you could symlink /var/lib/nova/instances to the dir you want, after
moving the instances

or just mount the lv, partition or whatever there

> 
> Would it be safer if I just moved the entire "nova" dir or just the
> "instances" dir?
> Where do I configure the path in OpenStack?
> 
> Besides "nova*" are there any other services that have to be restarted
> in order for the new settings to apply?
> 
> 2) Inside /var/lib/nova/instances there is another directory called:
> 
> "_base"
> 
> which appears to have a lot of data like ephemeral, swap and files with
> name like this:
> 
> "11dad6463b5e8b75d3e6bce75711cc889433b9a0"
> 
> Is it OK if I completely remove this dir??
NO

your instance's ephemeral storage is stored as Copy On Write from this files


-- 
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333





More information about the Openstack mailing list