All of lore.kernel.org
 help / color / mirror / Atom feed
* problem with online storage add - device stuck in state 3 until reboot
@ 2010-10-28 19:11 underhill
  0 siblings, 0 replies; only message in thread
From: underhill @ 2010-10-28 19:11 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2103 bytes --]

Hi all,
I'm having trouble online adding storage to my domU's. running Debian Lenny 2.6.26-2-xen-amd64 xen-utils-3.2-1. After I xm block-attach a new LV device I go into the domU and fdisk -l doesn't show the new device until after I have rebooted the domU.

Here is what I see in the xend.log:
[2010-10-28 17:52:06 3789] DEBUG (XendDomainInfo:526) XendDomainInfo.device_create: ['vbd', ['uname', '/dev/rootvg/test-test1'], ['dev', 'sda6'], ['mode', 'w']]
[2010-10-28 17:52:06 3789] DEBUG (XendDomainInfo:530) XendDomainInfo.device_create: {'uuid': '5749a244-81bf-2735-fa6a-861869e3cf3d', 'bootable': 0, 'driver': 'paravirtualised', 'dev': 'sda6', 'uname': '/dev/rootvg/test-test1', 'mode': 'w'}
[2010-10-28 17:52:06 3789] DEBUG (DevController:118) DevController: writing {'virtual-device': '2054', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/36/2054'} to /local/domain/36/device/vbd/2054.
[2010-10-28 17:52:06 3789] DEBUG (DevController:120) DevController: writing {'domain': 'test', 'frontend': '/local/domain/36/device/vbd/2054', 'uuid': '5749a244-81bf-2735-fa6a-861869e3cf3d', 'dev': 'sda6', 'state': '1', 'params': '', 'mode': 'w', 'online': '1', 'frontend-id': '36', 'type': ''} to /local/domain/0/backend/vbd/36/2054.
[2010-10-28 17:52:06 3789] DEBUG (DevController:156) Waiting for 2054.
[2010-10-28 17:52:06 3789] DEBUG (DevController:595) hotplugStatusCallback /local/domain/0/backend/vbd/36/2054/hotplug-status.
[2010-10-28 17:52:06 3789] DEBUG (DevController:595) hotplugStatusCallback /local/domain/0/backend/vbd/36/2054/hotplug-status.
[2010-10-28 17:52:06 3789] DEBUG (DevController:609) hotplugStatusCallback 1.

And when I check xm block-list for the device I see it in state 3, which is initialized according to http://wiki.xensource.com/xenwiki/XenStoreReference
Vdev  BE handle state evt-ch ring-ref BE-path
2054    0    0     3      23     11    /local/domain/0/backend/vbd/42/2054  

Can anyone help me figure out why this is and how to fix it so the device is fully connected?

Thanks in advance,
Todd

[-- Attachment #1.2: Type: text/html, Size: 2953 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-28 19:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-28 19:11 problem with online storage add - device stuck in state 3 until reboot underhill

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.