On Monday 15 January 2007 16:36, Henning Sprang wrote:
> > 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.
disk = [ ...,
'phy:/dev/Xen2Volume/domU-kernel-needed,/dev/sdb1,r' ]
when /usr/src/domU-kernel-needed/ mounted in rw,
---
xen2 ~ # xm create -c gentoo-x86.xm
Using config file "/etc/xen/gentoo-x86.xm".
Error: Device 2065 (vbd) could not be connected.
Device /dev/Xen2Volume/domU-kernel-needed is mounted read-write in the
privileged domain,
and so cannot be mounted read-only by a guest.
xen2 ~ #
---
bye
d.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|