|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] xenapi: can't share vbds in r/w mode
(Again, this was previously posted to xen-api, but I got no answer. Are
any developers lurking there?)
Hello,
I can't create a new VM with a common vbd in R/W mode with another VM
using the XenAPI. 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?
xm also can't create a rw share, the vbd ends up ro in both vbds, if I
define the vbd as:
phy:bit/xentmp,hda1,w!
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
pgpmwxKVVsASI.pgp
Description: PGP signature
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] xenapi: can't share vbds in r/w mode,
Luciano Rocha <=
|
|
|
|
|