[Openstack] Is there a way to tell Nova not to count NFS-mounted instances directory to disk space on each node?

Razique Mahroua razique.mahroua at gmail.com
Thu Nov 7 18:53:29 UTC 2013


I think during the migrations, the compute topic already checks whether or not the storage is a shared one

-- 
Razique

On 7 Nov 2013 at 10:11:24, Chris Friesen (chris.friesen at windriver.com) wrote:

I think it would make sense to have an entry in the nova.conf file on a  
compute node to indicate that the instances are mounted on shared storage.  

This could be fed back into the database, used in resource reporting  
(like in this case where it affects the "real" amount of storage  
available), and could also be added to the instance itself so that the  
evacuate/migrate commands could programmatically determine whether the  
instance is on shared storage or not instead of requiring the user to  
specify it.  

Chris  


On 11/07/2013 04:36 AM, Razique Mahroua wrote:  
> Hey Daniel,  
>  
> Doesn’t seem possible at the moment looks like...  
> --  
> Razique  
>  
> On 7 Nov 2013 at 02:09:15, Daniel Speichert (daniel at speichert.pl  
> <mailto://daniel@speichert.pl>) wrote:  
>  
>> Hi All,  
>>  
>> We have a couple of compute nodes each having its  
>> /var/lib/nova/instances directory mounted via NFS from shared storage  
>> server.  
>> Nova gathers free space statistics from each compute node and adds  
>> them, making the theoretical total disk space equal N times the real  
>> one (N is the number of nodes we have).  
>> Is there a way to tell it not to count this space again on some nodes?  
>>  
>> Regards,  
>> Daniel Speichert  
>>  
>>  
>> _______________________________________________  
>> Mailing list:  
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
>> Post to : openstack at lists.openstack.org  
>> Unsubscribe :  
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
>  
>  
> _______________________________________________  
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
> Post to : openstack at lists.openstack.org  
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
>  


_______________________________________________  
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
Post to : openstack at lists.openstack.org  
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131107/a5cc25a4/attachment.html>


More information about the Openstack mailing list