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

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


  • To: xen-api@xxxxxxxxxxxxxxxxxxx
  • From: Luciano Rocha <strange@xxxxxxxxxxxxx>
  • Date: Mon, 5 Nov 2007 15:35:41 +0000
  • Delivery-date: Mon, 05 Nov 2007 07:36:13 -0800
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

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: pgpAORCSpqvYY.pgp
Description: PGP signature

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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