Port-xen archive

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

Re: block-attach/detach device oddness



On 28/11/12 19:10, Jeff Rizzo wrote:
> On 11/28/12 7:10 AM, Roger Pau Monné wrote:
>>> xenserver1:riz  ~> sudo xm block-detach blork sdg
>>>>
>>>> domu:
>>>> xbd2: detached
>> Could you paste the output of:
>>
>> # xenstore-ls -fp
>>
>> at this point?
> 
> 
> This is a fairly busy dom0 (7 or 8 domUs running at the moment), so that 
> output was pretty large.  I have only included output for domID 47, and 
> hopefully it's enough.  (I created a new domU to do the testing with for 
> this, and called it "royger"):
> 
> Hopefully this is enough.  I just grepped for /47/ in the output.
> 
> 
> xenserver1:riz  ~> grep /47/ xenstore

> /local/domain/47/device/vbd/2144 = ""   (n47,r0)
> /local/domain/47/device/vbd/2144/virtual-device = "2144"   (n47,r0)
> /local/domain/47/device/vbd/2144/device-type = "disk"   (n47,r0)
> /local/domain/47/device/vbd/2144/protocol = "x86_64-abi"   (n47,r0)
> /local/domain/47/device/vbd/2144/backend-id = "0"   (n47,r0)
> /local/domain/47/device/vbd/2144/state = "6"   (n47,r0)
> /local/domain/47/device/vbd/2144/backend = 
> "/local/domain/0/backend/vbd/47/2144"   (n47,r0)
> /local/domain/47/device/vbd/2144/ring-ref = "160"   (n47,r0)
> /local/domain/47/device/vbd/2144/event-channel = "14"   (n47,r0)

It seems like this is not properly cleaned, I guess xend is not removing
the necessary entries (or refuses to create the device if previous
entries are found). Could you try with Xen 4.2 and xl? I think this
should be fixed.



Home | Main Index | Thread Index | Old Index