/dev/xvda /dev/xvdb /dev/xvdc /dev/cdrom
也许它受限于IDE总线的限制? (3个磁盘CD-ROM)如果是这样,如何更改VM以使用SCSI?
编辑:
According to the documentation:
2.6.3. VM Block Devices
In the PV Linux case,block devices are passed through as PV devices.
XenServer does not attempt to emulate SCSI or IDE,but instead
provides a more suitable interface in the virtual environment in the
form of xvd* devices. It is also possible to get an sd* device using
the same mechanism,where the PV driver inside the VM takes over the
SCSI device namespace. This is not desirable so it is best to use xvd*
where possible for PV guests (this is the default for Debian and
RHEL).For Windows or other fully virtualized guests,XenServer emulates an
IDE bus in the form of an hd* device. When using Windows,installing
the Citrix Tools for Virtual Machines installs a special PV driver
that works in a similar way to Linux,except in the fully virtualized
environment.
仍然,连接了5个虚拟磁盘,我没有看到其他xvd设备.
编辑#2 :(附上要求的信息)
主机:
XenServer 6.1 Linux version 2.6.32.43-0.4.1.xs1.6.10.777.170770xen (geeko@buildhost) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)) #1 SMP Wed Apr 17 05:52:03 EDT 2013
客机:
CentOS release 6.4 (Final) Linux version 2.6.32-358.6.2.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Thu May 16 20:59:36 UTC 2013
在Guest Machine上输出’fdisk -l’:
注意,超出前3个附加的磁盘不显示 – 应该有4个100GB磁盘. (XenCenter中共显示5个磁盘 – 16GB,100GB,100GB)
Disk /dev/xvdb: 107.4 GB,107374182400 bytes 255 heads,63 sectors/track,13054 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xfb6c95b9 Device Boot Start End Blocks Id System /dev/xvdb1 1 13054 104856223+ 83 Linux Disk /dev/xvda: 17.2 GB,17179869184 bytes 255 heads,2088 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000e5f41 Device Boot Start End Blocks Id System /dev/xvda1 * 1 64 512000 83 Linux Partition 1 does not end on cylinder boundary. /dev/xvda2 64 2089 16264192 8e Linux LVM Disk /dev/xvdc: 107.4 GB,13054 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xed249ced Device Boot Start End Blocks Id System /dev/xvdc1 1 13054 104856223+ 83 Linux Disk /dev/mapper/vg_blue-lv_root: 14.6 GB,14571012096 bytes 255 heads,1771 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/mapper/vg_blue-lv_swap: 2080 MB,2080374784 bytes 255 heads,252 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
我看到Linux版本说SMP.来宾VM在名称中没有说“xen”.但是,我已经运行了yum install kernel-xen.可能是一个线索?