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

[Xen-users] modifying file-systems in Dom0 while mounted read-only in Do

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] modifying file-systems in Dom0 while mounted read-only in DomU
From: Reinhard Brandstädter <reinhard.brandstaedter@xxxxxx>
Date: Tue, 27 Mar 2007 14:54:46 +0200
Delivery-date: Tue, 27 Mar 2007 05:54:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
Hello,

I was quite surprised this worked:
I started two virtual machines that both use the same physical partition 
residing on a SAN (exported read-only by the Xen configuration).
While both machines were running I mounted the partition in the Dom0 and 
changed some files there. These changes were NOT visible in the DomUs, but 
when I shut down one of the DomUs and started it again with 'xm create' it 
had the changes, while the other DomU didn't.

So while it's not possible to create DomUs with disks that are currently 
mounted in the Dom0, it is possible to mount disks in the Dom0 that are 
currently in use by a DomU?

Although this is a nice feature  - in my case these two DomUs are forming a 
cluster and the common configuration resides on the read-only disk - it seems 
dangerous to me.

Although with this feature I could seamless change the configuration of the 
cluster :-) :
- mount the partitition in Dom0
- restart one DomU and let it gain the service with changed configuration
- restart the second DomU with the new configuration

Is there a reason why this is possible? Maybe it isn't dangerous at all?

Reinhard

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

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