From: hxkhust Subject: Re: A Problem with Page Cache in Xen Date: Tue, 31 Jan 2012 03:30:01 +0800 (CST) Message-ID: <33c61cf2.5e8.13530186d2c.Coremail.hxkhust@126.com> References: <1327940330.26983.257.camel@zakaz.uk.xensource.com> <298edff9.10461.1352dabac58.Coremail.hxkhust@126.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8275891157364812531==" Return-path: In-Reply-To: <1327940330.26983.257.camel@zakaz.uk.xensource.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: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============8275891157364812531== Content-Type: multipart/alternative; boundary="----=_Part_4340_1154812815.1327951801643" ------=_Part_4340_1154812815.1327951801643 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit In the situation I consider here,the VM C won't be running again after it's set up.The existence of VM C is only for VM A and VM B's running.If VM A or VM B change some blocks in its file system,the change will only be stored in its own virtual disk image whose format is QCOW2.That's meaning which I would like to express.However I cannot find the solution to my problem temporarily.Your further suggest is helpful for me. At 2012-01-31 00:18:58,"Ian Campbell" wrote: >On Mon, 2012-01-30 at 08:11 +0000, hxkhust wrote: >> Hi, >> >> Recently I'm dong some reserch on xen and encounter a problem that I >> cannot solve temporarily.I need your help very much and the following >> is the question I would like to ask: >> On a physical machine with xen virtualization platform installed ,VM >> A,VM B are VM C's virtual disks are all image files,among which VM A >> and VM B's virtual disks are QCOW2 format and VM C's disk is RAW >> format. And VM A and VM B's virtual disk image files are based on VM >> C's virtual disk image file.Now these three VMs are running on the >> same physical machine with xen installed. > >This is an invalid/dangerous configuration. You can't really safely >write to the backing file (C's raw disk) while there are active users (A >and B's qcow2 images) of it. Imagine e.g. that all three change the same >bit of filesystem metadata in different ways... > >Ian. > > ------=_Part_4340_1154812815.1327951801643 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit
In the situation I consider here,the VM C won't be running again after it's set up.The existence of VM C is  only for VM A and VM B's running.If VM A or VM B change some blocks in its file system,the change will only be stored in its own virtual disk image whose format is QCOW2.That's meaning which I would like to express.However I cannot find the solution to my problem temporarily.Your further suggest is helpful for me.



At 2012-01-31 00:18:58,"Ian Campbell" <Ian.Campbell@citrix.com> wrote: >On Mon, 2012-01-30 at 08:11 +0000, hxkhust wrote: >> Hi, >>   >> Recently I'm dong some reserch on xen and encounter a problem that I >> cannot solve temporarily.I need your help very much and the following >> is the question I would like to ask: >> On a physical machine with xen virtualization platform installed ,VM >> A,VM B are VM C's virtual disks are all image files,among which VM A >> and VM B's virtual disks are QCOW2 format and VM C's disk is RAW >> format. And VM A and VM B's virtual disk image files are based on VM >> C's virtual disk image file.Now these three VMs are running on the >> same physical machine with xen installed. > >This is an invalid/dangerous configuration. You can't really safely >write to the backing file (C's raw disk) while there are active users (A >and B's qcow2 images) of it. Imagine e.g. that all three change the same >bit of filesystem metadata in different ways... > >Ian. > >


------=_Part_4340_1154812815.1327951801643-- --===============8275891157364812531== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============8275891157364812531==--