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

[Xen-users] Share of disks in read only between dom0 and domU.



Hello !

Because of a special config of my grub boot system, i try to export in a domU, in read only mode, one of my disk partition mounted in the dom0 (in RW) and i don't succeed because xen refuse to export this disk partition in a domU.

extract of the conf :

disk = [ 'phy:/dev/sda,ioemu:hda,r' , 'phy:/dev/sda6,ioemu:sda6,r]' ,
'phy:/dev/sda1,ioemu:sda1' ]

The first disk for grub to access the MBR , the second for grub to obtain its 
1.5 and
second stage and the third to reach the guest OS.

I block at the export of the sda6 which is the / of my dom0 with the message :

Error: Device 2054 (vbd) could not be connected.
Device /dev/sda6 is mounted read-write in the privileged domain,
and so cannot be mounted read-only by a guest.

If i don't mount the /dev/sda6 the domU begin the boot but it freeze with the 
error :

Booting from Hard Disk
GRUB Loading stage1.5.

GRUB loading, please wait...
Error 5

Error 5 is : Partition table invalid or corrupt

But we can boot normally our 2 OS without xen.

I think it is because it don't see the partition onto which is the grub install 
: /dev/sda6

I understand why it is forbidden to mount in RW the same disk but in R ?


In fact i try to boot a domU Windows XP installed on a disk with 2 primary partitions and 1 extended, itself with the 3 partitions of the SuSE 10.2 xen install with its dom0.
The grub is installed on the MBR of the SATA disk and the XP on the 1st primary 
part.

Some ideas ?

Thanks a lot.

Regards.

--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

   ^  ^ ----           Michel GAUDET          +--- |  | +--- +--- +---
  /| /||    |            CRI/SIR              |__  |__| |__  |__  |__
 / |/ ||  __      Ecole des Hautes Etudes     |    |  | |       |    |
/     ||____|       en Sciences Sociales      +--- |  | +--- ---+ ---+
              54 Boulevard RASPAIL 75006 PARIS
    Tel:(33) 01 49 54 25 91           Email: Michel.Gaudet@xxxxxxxx
    FAX:(33) 01 49 54 26 85


_______________________________________________
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®.