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-api

[Xen-API] can't share vbds in r/w mode

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] can't share vbds in r/w mode
From: Luciano Rocha <strange@xxxxxxxxxxxxx>
Date: Mon, 5 Nov 2007 15:35:41 +0000
Delivery-date: Mon, 05 Nov 2007 07:36:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.15 (2007-04-06)
Hello,

I can't create a new VM with a common vbd in R/W mode with another VM. I
always get:
VmError: Device 769 (vbd) could not be connected.
Device /dev/bit/xentmp2 is mounted in a guest domain,
and so cannot be mounted now.

I make sure to have the device sharable when creating the VDI. And it
works as long as I only attach in mode RO. Is there anything I might be
missing?

The VDI is configured as follows (I even tried creating a different VDI
for each VBD):
<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value><struct>
<member>
<name>Status</name>
<value><string>Success</string></value>
</member>
<member>
<name>Value</name>
<value><struct>
<member>
<name>read_only</name>
<value><boolean>0</boolean></value>
</member>
<member>
<name>VBDs</name>
<value><array><data>
<value><string>d954bfae-a878-3f65-4a73-b71aebc1c434</string></value>
</data></array></value>
</member>
<member>
<name>sharable</name>
<value><boolean>1</boolean></value>
</member>
<member>
<name>uuid</name>
<value><string>9fd3fcd1-0fe9-c872-f7a4-3be3069017b4</string></value>
</member>
<member>
<name>SR</name>
<value><string>2b793262-cc99-ded9-42ba-6fe4683eeeb1</string></value>
</member>
<member>
<name>other_config</name>
<value><struct>
<member>
<name>location</name>
<value><string>phy:bit/xentmp2</string></value>
</member>
</struct></value>
</member>
<member>
<name>name_label</name>
<value><string>phy:bit/xentmp2</string></value>
</member>
<member>
<name>physical_utilisation</name>
<value><string>0</string></value>
</member>
<member>
<name>name_description</name>
<value><string> </string></value>
</member>
<member>
<name>virtual_size</name>
<value><string>0</string></value>
</member>
<member>
<name>type</name>
<value><string>system</string></value>
</member>
</struct></value>
</member>
</struct></value>
</param>
</params>
</methodResponse>

-- 
lfr
0/0

Attachment: pgpU9H4a7spwk.pgp
Description: PGP signature

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] can't share vbds in r/w mode, Luciano Rocha <=