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, “Configuring a Virtual Machine by Modifying its xend Settings”, 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

Protocol

Description

Example

phy:

Block devices, such as a physical disk, in domain 0

phy:/dev/xvda

file:

Raw disk images accessed by using loopback

file:/path/file

tap:aio:

Raw disk images accessed by using blktap. Similar to loopback but with better performance

tap:aio:/path/file

tap:vmdk:

VMware disk images accessed by using blktap

tap:vmdk:/path/file

nbd:

Raw disk images accessed by using NBD

ndb: ip_port

tap:qcow:

QEMU disk images accessed by using blktap

tap:qcow/path/file

iscsi:

iSCSI targets using connections initiated from domain 0

iscsi:IQN,LUN

npiv:

Fibre Channel connections initiated from domain 0

npiv:NPIV,LUN



SUSE Linux Enterprise Server 10 SP2