Thank you both for your answers. What Chris describes is definitely a good approach. I think it's worth filing a wish bug. I can do it unless you want to describe your idea, Chris.
Regards, Daniel ----- Original Message ----- > From: "Chris Friesen" <[email protected]> > To: [email protected] > Sent: Thursday, November 7, 2013 12:57:25 PM > Subject: Re: [Openstack] Is there a way to tell Nova not to count NFS-mounted > instances directory to disk space on > each node? > > 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 ([email protected] > > <mailto://[email protected]>) 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 : [email protected] > >> Unsubscribe : > >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > > > > > _______________________________________________ > > Mailing list: > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > Post to : [email protected] > > Unsubscribe : > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > > > > _______________________________________________ > Mailing list: > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : [email protected] > Unsubscribe : > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
