From: Ewan Mellor Subject: Re: Dom0 memory size is persistent? Date: Thu, 1 Dec 2005 12:09:29 +0000 Message-ID: <20051201120929.GD2559@leeni.uk.xensource.com> References: <200511292254.AA03654@y-oguchi.jp.fujitsu.com> <20051130165057.B086.N_MATUMOTO@soft.fujitsu.com> <8a7cae619ef26299451522d44358146d@cl.cam.ac.uk> <438DBECB.9000906@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <438DBECB.9000906@us.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Anthony Liguori Cc: xen-devel@lists.xensource.com, "Yoshi. Oguchi" , Matsumoto List-Id: xen-devel@lists.xenproject.org On Wed, Nov 30, 2005 at 09:01:31AM -0600, Anthony Liguori wrote: > Keir Fraser wrote: > > > > >On 30 Nov 2005, at 07:52, Matsumoto wrote: > > > >>I think tdb should be re-create every time dom0 is started. > >>Am I correct? > > > > > >Yes, that is a perfectly good fix. We are even thinking about adding > >an init script to our install that will delete the tdb database file > >automatically for you. > > And blow away the entire store? Why not just blow away the domain > configuration paths (/local and /vm)? I thought the /tool path was > going to persistent across reboots. I have changed xenstored to remove /local when it starts, and I have changed Xend to ignore the maxmem and memory settings for Dom 0 when _it_ starts. These two things together should be sufficient to ensure that stale data are not used, while preserving the contents of /tools, /vm etc. This should solve your problem. Cheers, Ewan.