[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Problem with direct pass two (whole) raw disks to vm



On Wed, 2014-04-23 at 19:26 +0930, Jason Yu wrote:
> Thanks Ian for the reply! Here is the output. Can you see any
> problems? 
> 
> 
> =================For two disks in .cfg====================
> disk = [ "file:/etc/xen/images/NAS-OMV.img,hda,w",
> "phy:/dev/sda,hdb,w", "phy:/dev/sdb,hdd,w" ]

Here you have hda, hdb and hdd.

> 
> root@UB-XEN:/etc/xen# xl -vvv create NAS-OMV.cfg
> Parsing config from NAS-OMV.cfg
> WARNING: ignoring "kernel" directive for HVM guest. Use
> "firmware_override" instead if you really want a non-default firmware
> WARNING: ignoring device_model directive.
> WARNING: Use "device_model_override" instead if you really want a
> non-default device_model
> libxl: debug: libxl_create.c:1342:do_domain_create: ao 0x996530: create: 
> how=(nil) callback=(nil) poller=0x995f80
> libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk 
> vdev=hda spec.backend=unknown
> libxl: debug: libxl_device.c:197:disk_try_backend: Disk vdev=hda, backend phy 
> unsuitable as phys path not a block device
> libxl: debug: libxl_device.c:286:libxl__device_disk_set_backend: Disk 
> vdev=hda, using backend qdisk
> libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk 
> vdev=hdb spec.backend=unknown
> libxl: debug: libxl_device.c:286:libxl__device_disk_set_backend: Disk 
> vdev=hdb, using backend phy
> libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk 
> vdev=hdc spec.backend=unknown
> libxl: debug: libxl_device.c:286:libxl__device_disk_set_backend: Disk 
> vdev=hdc, using backend phy

But here it seems to create hda, hdb and hdc. I'm not sure what that is
all about, but it seems odd. Can you try giving hda/b/c in your config?

Other than that I'm not seeing anything strange about your logs. Can you
post the output of "xenstore-ls -fp" while the problematic domain is
running please.

If you only care about PV access to /dev/sd{a,b} (as opposed to emulated
IDE) then you could also try putting them on xvde and xvdf (out of the
say of the IDE stuff). That might help.

Does the 1 (additional) disk case work regardless of whether you use sda
or sdb?

Ian.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.