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: "Henning Sprang" <henning_sprang@xxxxxx>
Date: Mon, 15 Jan 2007 16:36:33 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 15 Jan 2007 07:36:16 -0800
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=se/1XxLdKncuaKLCbtaySYLds9fzBcaxaLXN0C1KZW3cyIMcSeWKTHA5fxOSkeuD4r+6f94xzBGQqD4A/YFGM73SC77EKbkJz7fsUkYOhkQrqerGu1r1WlzXERmBfHhpFqOsQRibhwSMiKdUHObcFUzfZNzfHeE2YBUGJfi86K4=
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
On 1/15/07, Daniele Palumbo <daniele@xxxxxxxxxxxx> wrote:
hi.

i am using xen 3.0.4, and i have to setup a disk for all my domUs, that
contains kernel modules.

Seems like a good idea for managing them centrally!

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!).

I don't understand what the problem is:
"r" (without exclamation mark!) should work in disk parameters for vm
config. It works at least for cdroms, did not try much for normal
filesystems.

So, you can configure something like
'phy:/dev/vm-filesystems/common-kernel-modules-partition,hda1,r' for
all systems, and mount hda1 to /lib/modules.

Please show us your disk config and the error it produces.

Henning




i can't use w!, cause i want that volume in read only (and keep safe my
modules)

the solutions, by now, is to keep mounted in dom0 in read only that partition,
and remount it to rw when needed (modules upgrade)
but it is not a solutions.

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

thanks
Daniele

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




--
Henning Sprang -
http://www.sprang.de - http://faiwiki.informatik.uni-koeln.de
jabber: henning@xxxxxxxxxxxxx

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