Este contenido no está disponible en el idioma seleccionado.
Chapter 4. Administration tasks
This chapter covers additional administration tasks for guests using the para-virtualized Windows® drivers.
4.1. Hot plugging para-virtualized disks
The para-virtualized drivers allow disk hot plugging for Windows fully virtualized guests. To hot plug para-virtualized disks use the
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
Using
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
To detach a disk dynamically, use
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
This example detaches a disk,
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
virsh
command modifying <domain>, <disk image file> and <device node>:
virsh attach-disk --driver tap --subdriver aio <domain> <disk image file> <device node>
# virsh attach-disk --driver tap --subdriver aio <domain> <disk image file> <device node>
virsh
to attach a new, hot plugged disk, labeled /var/lib/xen/images/wxp32-2.img
, with the alias /dev/xvdb
to the guest named wxp32:
virsh attach-disk --driver tap --subdriver aio wxp32 /var/lib/xen/images/wxp32-2.img /dev/xvdb
# virsh attach-disk --driver tap --subdriver aio wxp32 /var/lib/xen/images/wxp32-2.img /dev/xvdb
virsh
with the detach-disk
option:
virsh detach-disk <domain> <device node>
virsh detach-disk <domain> <device node>
/dev/xvdb
, from a guest named wxp32:
virsh detach-disk wxp32 /dev/xvdb
# virsh detach-disk wxp32 /dev/xvdb