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: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Tue, 16 Jan 2007 20:21:45 +0000
Cc: Daniele Palumbo <daniele@xxxxxxxxxxxx>
Delivery-date: Tue, 16 Jan 2007 12:21:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200701151239.50260.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>
References: <200701151239.50260.daniele@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
> i am using xen 3.0.4, and i have to setup a disk for all my domUs, that
> contains kernel modules.

We have used a similar setup for sharing /usr/bin, but it is quite restrictive 
in terms of updates.

> NFS or GFS would need, in my setup, a new virtual server that only serve
> that thing (i won't export it from dom0, since they are on separate vlans,
> and i don't wont domUs to contact dom0)

OK.

> i want a volume, in read only, that does not need to know anything about
> xen. i tried "r!" in config file, but it is not a valid flag (BTW, IMHO it
> should be, like w!).

If there's a case where it's needed, and can be used safely, then I expect 
we'd take a patch for it.

> how can i resolve?
> i really have to ask for "r!", or there is something like that?

It will never, ever, be safe to mount a non-cluster filesystem as anything 
other than "single writer, no readers", or "multiple readers, no writers".

Perhaps the best you could do without using network would be to shut down the 
domUs, mount the module filesytem in dom0, copy in the new modules, then 
unmount in dom0 and restart the domUs.

I realise it's a bit clunky doing things this way, but anything else is liable 
to require more complexity than you want to implement in the storage 
configuration :-(

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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