VBD commands
Commands for working with VBDs (Virtual Block Devices).
A VBD is a software object that connects a VM to the VDI, which represents the contents of the virtual disk. The VBD has the attributes which tie the VDI to the VM (is it bootable, its read/write metrics, and so on), while the VDI has the information on the physical attributes of the virtual disk (which type of SR, whether the disk is shareable, whether the media is read/write or read only, and so on).
The VBD objects can be listed with the standard object listing command (xe
VBD parameters
VBDs have the following parameters:
Parameter Name | Description | Type |
|
|
|
uuid | the unique identifier/object | read only |
| reference for the VBD |
|
|
|
|
the unique identifier/object | read only | |
| reference for the VM this VBD |
|
| is attached to |
|
|
|
|
the name of the VM this VBD | read only | |
| is attached to |
|
|
|
|
the unique identifier/object | read only | |
| reference for the VDI this |
|
| VBD is mapped to |
|
|
|
|
the name of the VDI this VBD | read only | |
| is mapped to |
|
|
|
|
empty | if true, this represents an | read only |
| empty drive |
|
|
|
|
device | the device seen by the guest, | read only |
| for example hda1 |
|
|
|
|
userdevice | read/write | |
|
|
|
bootable | true if this VBD is bootable | read/write |
|
|
|
mode | the mode the VBD should be | read/write |
| mounted with |
|
|
|
|
type | how the VBD appears to the | read/write |
| VM, for example disk or CD |
|
|
|
|
True if the VBD is currently | read only | |
| attached on this host, false |
|
| otherwise |
|
|
|
|
186