WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] sharing file between running domU (windowxp) and dom0

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] sharing file between running domU (windowxp) and dom0
From: Pradeep Singh <rautelap@xxxxxxxxx>
Date: Fri, 7 Dec 2007 22:49:45 +0530
Cc: rajneesh rana <rajneeshrana009@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 07 Dec 2007 09:20:33 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; bh=h1MMrTr4vswSKWtrg00ew5IzYeT0XlRdrrha7si4/xQ=; b=dtNI0UmQW3iAUPV3hZjbysgCoYm+Hj2t8RaS3K+GRaBz4KGWYGYAGj2PYh6sj1Z6iCN2uOWddOzSmI68tec9Ddm+b+8Xs/DI/OQj3/ZKvupHR7ATh/2dYpwCoAgFWMVRxt+N9qd2LmSzXaD/YfEUK89oBfZ/8u7dFflU37CSlEo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=umdekivtsWzVSyzyajS4DyfZ1lNnvOfOSLGQxXKitXGpv56f50cEHQ82dk3RTJAxOMz/8dTub6L690S4BwSw2iEyrfIpfQQnToAWJOqv8KIXiMz/Q7kIcoXvIwAxjBuLJ6npfABXed+cm/zqrhwog9fUVnOKvq6sBFSlG/xVmg8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200712071648.26147.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <841481.91605.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <200712071648.26147.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 7 Dec 2007 16:48:24 +0000
Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:

[snip]
> 
> You should never, ever do that.  You *must always* shut down a domain
> before modifying its filesystem from the outside.  Otherwise you can
> create corruption that will destroy the domain's disk data.  Just
> pausing the domain or saving it is not enough to protect you, and
> neither will using the guest's "hibernate" feature.  The domain
> *really* has to be properly shut down.

Mark,I guess i understood your point here.
My question is what about cluster filesystems like GFS or OCFS2.
Does virtual environment outs some extra constraints on the filesystems?
FWIW how is XenFS different from OCFS2 and GFS?
What i mean is how is a HVM domain(e.g linux) and domain0 different
from two machines on a network from the perspective of cluster
filesystems?

PS - I am a rookie as far as distributed/cluster fs are
concerned.Please spare my ignorance and kindly enlighten me on this.

Thanks
        Pradeep
> I'm sorry to emphasize that so harshly but it really is very very
> important.
> 
> This is because filesystems are written with the assumption that they
> "own" the disk and that nothing will ever change "underneath" them.
> If you modify the filesystem from the outside then you're doing stuff
> without the guest OS knowing about it.  It won't be looking for this
> and will get confused.  This could seriously damage your filesystem.
> 
> If you do it by accident, you could try xm destroy-ing the domain
> immediately in order to prevent it getting confused by the changes to
> the underlying disk - before it has time to corrupt anything.  xm
> destroying a domain which is modifying the filesystem has corruption
> risks of its own though (and will lose any in-memory data), so it's
> better just to avoid this situation.
> 
> I hope that helps.  Again, sorry to be so harsh, but this is one
> thing about virtual machines that is *really* important to watch out
> for, or you will have major problems at some stage.
> 
> Cheers,
> Mark
> 


-- 
heh...people do try to read my signature.

http://eagain.wordpress.com
http://emptydomain.googlepages.com

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel