
5.10 Mapping Physical Storage to
Virtual Disks
To specify a mapping between physical storage and the virtual disk, you might need to
edit the virtual machine’s disk information. Follow the instructions in Section 4.3,
“Conguring a Virtual Machine by Modifying its xend Settings” (page 30), to change
the respective device entry to the desired setting.
Example 5.3
Example: Virtual Machine Output from Xend
(vbd
(dev xvda:disk)
(uname file:/var/lib/xen/images/oes2l/disk0)
(mode w)
(type disk)
(backend 0)
)
Table 5.3
uname Settings
ExampleDescriptionProtocol
phy:/dev/xvda
Block devices, such as a physical disk,
in domain 0
phy:
file:/path/file
Raw disk images accessed by using
loopback
le:
tap:aio:/path/file
Raw disk images accessed by using
blktap. Similar to loopback but with
better performance
tap:aio:
tap:vmdk:/path/file
VMware disk images accessed by using
blktap
tap:vmdk:
ndb: ip_portRaw disk images accessed by using NBDnbd:
tap:qcow/path/file
QEMU disk images accessed by using
blktap
tap:qcow:
52 Virtualization with Xen
Comentarios a estos manuales