Xen find VBD id for physical disks

Posted by Joe on Server Fault See other posts from Server Fault or by Joe
Published on 2010-06-21T13:21:22Z Indexed on 2012/11/30 17:07 UTC
Read the original article Hit count: 230

Filed under:
|
|
|

I'm starting a xen domU using xm create config.cfg. Within the config file are a number of physical block devices (LVs) which are added to the guest and can be accessed fine when it boots. However, at a point in the future I need to be able to hot unplug one of these disks using the xm block-detach command. This command, however, requires the vbd id of the device to be detached and I can't find a way to find the device id for a particular disk 'plugged in' at start up. Any help is much appreciated!

© Server Fault or respective owner

Related posts about virtualization

Related posts about xen