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] modifying file-systems in Dom0 while mounted read-only i

To: Reinhard Brandstädter <reinhard.brandstaedter@xxxxxx>
Subject: Re: [Xen-users] modifying file-systems in Dom0 while mounted read-only in DomU
From: Luciano Miguel Ferreira Rocha <strange@xxxxxxxxxxxxx>
Date: Tue, 27 Mar 2007 14:10:19 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 27 Mar 2007 06:09:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200703271454.46695.reinhard.brandstaedter@xxxxxx>
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: <200703271454.46695.reinhard.brandstaedter@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Tue, Mar 27, 2007 at 02:54:46PM +0200, Reinhard Brandstädter wrote:
> 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?

That's essentially the same thing.

> 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

You should be able to see new data without rebooting by droping cache:
echo 3 > /proc/sys/vm/drop_caches

But I suggest using a cluster filesystem instead (OCFS2, GFS, etc.). Then
the changes will be visible everywhere you mount the filesystem.

IIRC, you'll have to specify the virtual disk to xen with '...,w!' to
allow multiple mounting of the same partition in read/write mode.

-- 
lfr
0/0

Attachment: pgpFMw1xPwQNV.pgp
Description: PGP signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>