You can install the OS in an LVM partition and
use it shared across all the xen domUs when you use the parition as
''r''
instead of ''w'' when defining the disk.
But you have to do all tasks needed for read-only root filesystem.
Like
1. mount ramfs in /tmp and in /var ...
http://en.opensuse.org/How-To_Make_the_root_filesystem_read-only
this is what i do.
I use 2 disks in Xen with one as read-only mounted as / and the other
is the data partition. I have a need to have scratch partition with
pre-populated data and for this I create a LV and put data into it
(eg:- software etc.,) and then create a snapshot of this volume
and send it as rw to the xen machine. This way my original software
partitions are intact and also the changes (may be damaging) done in
the xen volumes are lost once the snapshot grows to 100%.
On Wed, 29 Apr 2009, Joe Hammerman wrote:
>
> Hello Xen users list:
>
>
>
> Is there a way to have a shared root file system amongst a
set of Xen servers? NFS and ClusterNFS are out due
> to a bug in the 2.6.18 kernel where CONFIG_NFS_ROOT cannot be enabled.
>
>
>
> Thanks!
>
>
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users