[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] How to force xm create to allow same disk mounted to more than one quest



> 
> In my system I'd like to be able to share one disk among multiple xen
quests
> and boot them up using this shared disk. Is it possible to set a flag
> somewhere to avoid the following error.
> 
> # xm create guest2 kernel="/TMP/vmlinuz" ramdisk=/TMP/initrd.img
bootloader=""
> extra=rescue
> Using config file "./guest2".
> Error: The uname "/dev/sdz" is already used by another domain
> 
> What I am trying to do is to have one disk which it's boot partition
would
> show a menu to choose different OS from it while the logical volumes
in that
> one disk would point to different OS.
> 
> Any help is appreciated.
> 
> # uname -r
> 2.6.18-164.el5xen
> 

I think you append a '!' to the end of the mode, eg:

'phy:/dev/vg00/virt-devsql01-0,hda,r!'

(or w! if you are _really_ sure that you know what you are doing)

James


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.