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-users

Re: [Xen-users] forcing disk in read only also if mounted

To: Daniele Palumbo <daniele@xxxxxxxxxxxx>
Subject: Re: [Xen-users] forcing disk in read only also if mounted
From: "Ulrich Windl" <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Jan 2007 12:12:02 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 16 Jan 2007 03:12:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200701151900.05076.daniele@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Universitaet Regensburg, Klinikum
Priority: normal
References: <Pine.LNX.4.64.0701151301110.5356@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 15 Jan 2007 at 19:00, Daniele Palumbo wrote:

> On Monday 15 January 2007 19:02, you wrote:
> > This seems to indicate that the device
> > "/dev/Xen2Volume/domU-kernel-needed" is mounted read-write in dom0.  You
> > need to unmount it or mount it read-only in dom0 to use it in a guest.
> 
> well, if you read my first post, you'll see that setup is working right now 
> with /dev/Xen2Volume/domU-kernel-needed mounted in ro.
> 
> i want it in ro within domU and rw in dom0.
> the reasons are explained in my first post...

If you think, you'll realize:
DomU has it's own cache (even for R/O devices) with it's impression what the 
contents of the blocks are. Dom0 also has a cache for the R/W device. Both 
caches 
do not sync (in a coherent way). Thus DomU may see filesystem inconsistencies 
at 
runtime.

Why not use NFS to export in Dom0 R/O and also mount in DomU R/O?
Regards,
Ulrich

> 
> bye
> d.
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



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