mghofran@caregroup.harvard.edu
2009-Sep-30 12:17 UTC
[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 Matthew _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2009-Sep-30 12:49 UTC
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 xenquests> 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.imgbootloader=""> 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 partitionwould> show a menu to choose different OS from it while the logical volumesin 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@lists.xensource.com http://lists.xensource.com/xen-users