WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Share of disks in read only between dom0 and domU.
From: Michel Gaudet <Michel.Gaudet@xxxxxxxx>
Date: Thu, 27 Sep 2007 09:55:41 +0200
Delivery-date: Thu, 27 Sep 2007 01:14:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20061206)
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

<Prev in Thread] Current Thread [Next in Thread>