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

[Xen-users] problem with online storage add - device stuck in state 3 un

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] problem with online storage add - device stuck in state 3 until reboot
From: underhill@xxxxxx
Date: Thu, 28 Oct 2010 23:11:17 -0700
Delivery-date: Thu, 28 Oct 2010 23:12:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] problem with online storage add - device stuck in state 3 until reboot, underhill <=