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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] forcing disk in read only also if mounted
From: Daniele Palumbo <daniele@xxxxxxxxxxxx>
Date: Tue, 16 Jan 2007 10:23:37 +0100
Delivery-date: Tue, 16 Jan 2007 01:23:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200701151928.55746.javier@xxxxxxxxxxx>
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>
References: <200701151239.50260.daniele@xxxxxxxxxxxx> <200701151919.06776.daniele@xxxxxxxxxxxx> <200701151928.55746.javier@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.4
On Tuesday 16 January 2007 01:28, Javier Guerra wrote:
> but, you could also:  (**DANGEROUS**)
> 1) keep mounted ro in all DomUs
> 2) mount rw in Dom0
> --- as soon as you do that, all DomUs are unstable!!  ---
> 3) modify in Dom0  (pray that DomUs don't crash!)
> 4) umount from Dom0
> 5) remount on all DomUs (still ro)
>
> the point is that the 'r', 'w' or 'w!' flag is only checked at DomU
> creation time; if at that moment the block device isn't mounted rw by
> anybody (including Dom0), it will work.  later, you could mount it behind
> Xen's back (and risk all Dom0s, of course)

First of all, thanks for the reply.

but, which is the difference between that approach with "w!" (saying that all 
domU's will mount only ro) and the above?

domU's will became unstable (strange, i figured out only files missing, as i 
think it should be) in the same way, and also (saying that i have "bad guys 
playing with my domUs) i can have a data loss.

so, again, why is not "r!" a valid flag?

thanks
d.

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

<Prev in Thread] Current Thread [Next in Thread>