[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


  • To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
  • From: Jason Yu <yugn@xxxxxx>
  • Date: Fri, 25 Apr 2014 22:29:13 +0930
  • Cc: "mailing list xen.org" <xen-users@xxxxxxxxxxxxx>
  • Delivery-date: Fri, 25 Apr 2014 13:00:02 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Thread-topic: [Xen-users] Problem with direct pass two (whole) raw disks to vm

Many thanks Ian!!!

>>> 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.
Could you please advise how to do this as I’m quite new to Xen? Do I simply do this in .cfg like this? 

disk = [ "file:/etc/xen/images/NAS-OMV.img,hda,w", "phy:/dev/sda,xvde,w", "phy:/dev/sdb,xvdf,w" ]

>>> Does the 1 (additional) disk case work regardless of whether you use sda or sdb?
Yes, I tried passing both sda and sdb individually. I could see each of them in domU (openmediavault web GUI). The start up time of the domU was swfit.

>>> Here you have hda, hdb and hdd.
I noticed this as well. (I think it was a typographical error.)So I edited the cfg again and created the vm (with two disks). Same problem. VM got stuck in a count down( see 1st email thread) and I couldn’t log into the web GUI. 

============ part of NAS-OMV.cfg ==============
disk = [ "file:/etc/xen/images/NAS-OMV.img,hda,w", "phy:/dev/sda,hdb,w", "phy:/dev/sdb,hdc,w" ]

Soon after creating the vm, I ran this:

root@UB-XEN:/etc/xen# xenstore-ls -fp

/tool = ""   (n0)

/tool/xenstored = ""   (n0)

/local = ""   (n0)

/local/domain = ""   (n0)

/local/domain/0 = ""   (n0)

/local/domain/0/name = "Domain-0"   (n0)

/local/domain/0/domid = "0"   (n0)

/local/domain/0/memory = ""   (n0)

/local/domain/0/memory/target = "6119848"   (n0)

/local/domain/0/memory/static-max = "4294967292"   (n0)

/local/domain/0/memory/freemem-slack = "246144"   (n0)

/local/domain/0/libxl = ""   (n0)

/local/domain/0/libxl/disable_udev = "1"   (n0)

/local/domain/0/backend = ""   (n0)

/local/domain/0/backend/qdisk = ""   (n0)

/local/domain/0/backend/qdisk/1 = ""   (n0)

/local/domain/0/backend/qdisk/1/768 = ""   (n0,r1)

/local/domain/0/backend/qdisk/1/768/frontend = "/local/domain/1/device/vbd/768"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/params = "aio:/etc/xen/images/c2_appliance.disk.xm"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/frontend-id = "1"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/   (n0,r1)

/local/domain/0/backend/qdisk/1/768/removable = "1"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/bootable = "1"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/state = "4"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/dev = "hda"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/type = "qdisk"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/mode = "w"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/device-type = "disk"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/feature-flush-cache = "1"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/feature-persistent = "1"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/info = "0"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/hotplug-status = "connected"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/sector-size = "512"   (n0,r1)

/local/domain/0/backend/qdisk/1/768/sectors = "10485760"   (n0,r1)

/local/domain/0/backend/qdisk/3 = ""   (n0)

/local/domain/0/backend/qdisk/3/768 = ""   (n0,r3)

/local/domain/0/backend/qdisk/3/768/frontend = "/local/domain/3/device/vbd/768"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/params = "aio:/etc/xen/images/NAS-OMV.img"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/frontend-id = "3"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/   (n0,r3)

/local/domain/0/backend/qdisk/3/768/removable = "0"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/bootable = "1"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/state = "4"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/dev = "hda"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/type = "qdisk"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/mode = "w"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/device-type = "disk"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/feature-flush-cache = "1"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/feature-persistent = "1"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/info = "0"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/hotplug-status = "connected"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/sector-size = "512"   (n0,r3)

/local/domain/0/backend/qdisk/3/768/sectors = "10485760"   (n0,r3)

/local/domain/0/backend/console = ""   (n0)

/local/domain/0/backend/console/1 = ""   (n0)

/local/domain/0/backend/console/1/0 = ""   (n0,r1)

/local/domain/0/backend/console/1/0/frontend = "/local/domain/1/console"   (n0,r1)

/local/domain/0/backend/console/1/0/frontend-id = "1"   (n0,r1)

/local/domain/0/backend/console/1/0/   (n0,r1)

/local/domain/0/backend/console/1/0/state = "1"   (n0,r1)

/local/domain/0/backend/console/1/0/domain = "convirt"   (n0,r1)

/local/domain/0/backend/console/1/0/protocol = "vt100"   (n0,r1)

/local/domain/0/backend/console/3 = ""   (n0)

/local/domain/0/backend/console/3/0 = ""   (n0,r3)

/local/domain/0/backend/console/3/0/frontend = "/local/domain/3/console"   (n0,r3)

/local/domain/0/backend/console/3/0/frontend-id = "3"   (n0,r3)

/local/domain/0/backend/console/3/0/   (n0,r3)

/local/domain/0/backend/console/3/0/state = "1"   (n0,r3)

/local/domain/0/backend/console/3/0/domain = "NAS-OMV"   (n0,r3)

/local/domain/0/backend/console/3/0/protocol = "vt100"   (n0,r3)

/local/domain/0/backend/vkbd = ""   (n0)

/local/domain/0/backend/vkbd/1 = ""   (n0)

/local/domain/0/backend/vkbd/1/0 = ""   (n0,r1)

/local/domain/0/backend/vkbd/1/0/frontend = "/local/domain/1/device/vkbd/0"   (n0,r1)

/local/domain/0/backend/vkbd/1/0/frontend-id = "1"   (n0,r1)

/local/domain/0/backend/vkbd/1/0/   (n0,r1)

/local/domain/0/backend/vkbd/1/0/state = "2"   (n0,r1)

/local/domain/0/backend/vkbd/1/0/domain = "convirt"   (n0,r1)

/local/domain/0/backend/vkbd/1/0/feature-abs-pointer = "1"   (n0,r1)

/local/domain/0/backend/vkbd/1/0/hotplug-status = "connected"   (n0,r1)

/local/domain/0/backend/vkbd/3 = ""   (n0)

/local/domain/0/backend/vkbd/3/0 = ""   (n0,r3)

/local/domain/0/backend/vkbd/3/0/frontend = "/local/domain/3/device/vkbd/0"   (n0,r3)

/local/domain/0/backend/vkbd/3/0/frontend-id = "3"   (n0,r3)

/local/domain/0/backend/vkbd/3/0/   (n0,r3)

/local/domain/0/backend/vkbd/3/0/state = "2"   (n0,r3)

/local/domain/0/backend/vkbd/3/0/domain = "NAS-OMV"   (n0,r3)

/local/domain/0/backend/vkbd/3/0/feature-abs-pointer = "1"   (n0,r3)

/local/domain/0/backend/vkbd/3/0/hotplug-status = "connected"   (n0,r3)

/local/domain/0/backend/vif = ""   (n0)

/local/domain/0/backend/vif/1 = ""   (n0)

/local/domain/0/backend/vif/1/0 = ""   (n0,r1)

/local/domain/0/backend/vif/1/0/frontend = "/local/domain/1/device/vif/0"   (n0,r1)

/local/domain/0/backend/vif/1/0/frontend-id = "1"   (n0,r1)

/local/domain/0/backend/vif/1/0/   (n0,r1)

/local/domain/0/backend/vif/1/0/state = "4"   (n0,r1)

/local/domain/0/backend/vif/1/0/script = "/etc/xen/scripts/vif-bridge"   (n0,r1)

/local/domain/0/backend/vif/1/0/mac = "00:16:3e:19:bb:30"   (n0,r1)

/local/domain/0/backend/vif/1/0/bridge = "xenbr0"   (n0,r1)

/local/domain/0/backend/vif/1/0/handle = "0"   (n0,r1)

/local/domain/0/backend/vif/1/0/type = "vif_ioemu"   (n0,r1)

/local/domain/0/backend/vif/1/0/feature-sg = "1"   (n0,r1)

/local/domain/0/backend/vif/1/0/feature-gso-tcpv4 = "1"   (n0,r1)

/local/domain/0/backend/vif/1/0/feature-gso-tcpv6 = "1"   (n0,r1)

/local/domain/0/backend/vif/1/0/feature-ipv6-csum-offload = "1"   (n0,r1)

/local/domain/0/backend/vif/1/0/feature-rx-copy = "1"   (n0,r1)

/local/domain/0/backend/vif/1/0/feature-rx-flip = "0"   (n0,r1)

/local/domain/0/backend/vif/1/0/feature-split-event-channels = "1"   (n0,r1)

/local/domain/0/backend/vif/1/0/hotplug-status = "connected"   (n0,r1)

/local/domain/0/backend/vif/3 = ""   (n0)

/local/domain/0/backend/vif/3/0 = ""   (n0,r3)

/local/domain/0/backend/vif/3/0/frontend = "/local/domain/3/device/vif/0"   (n0,r3)

/local/domain/0/backend/vif/3/0/frontend-id = "3"   (n0,r3)

/local/domain/0/backend/vif/3/0/   (n0,r3)

/local/domain/0/backend/vif/3/0/state = "2"   (n0,r3)

/local/domain/0/backend/vif/3/0/script = "/etc/xen/scripts/vif-bridge"   (n0,r3)

/local/domain/0/backend/vif/3/0/mac = "00:16:3e:d5:5b:9a"   (n0,r3)

/local/domain/0/backend/vif/3/0/bridge = "xenbr1"   (n0,r3)

/local/domain/0/backend/vif/3/0/handle = "0"   (n0,r3)

/local/domain/0/backend/vif/3/0/type = "vif_ioemu"   (n0,r3)

/local/domain/0/backend/vif/3/0/feature-sg = "1"   (n0,r3)

/local/domain/0/backend/vif/3/0/feature-gso-tcpv4 = "1"   (n0,r3)

/local/domain/0/backend/vif/3/0/feature-gso-tcpv6 = "1"   (n0,r3)

/local/domain/0/backend/vif/3/0/feature-ipv6-csum-offload = "1"   (n0,r3)

/local/domain/0/backend/vif/3/0/feature-rx-copy = "1"   (n0,r3)

/local/domain/0/backend/vif/3/0/feature-rx-flip = "0"   (n0,r3)

/local/domain/0/backend/vif/3/0/feature-split-event-channels = "1"   (n0,r3)

/local/domain/0/backend/vif/3/0/hotplug-status = "connected"   (n0,r3)

/local/domain/0/backend/vbd = ""   (n0)

/local/domain/0/backend/vbd/3 = ""   (n0)

/local/domain/0/backend/vbd/3/832 = ""   (n0,r3)

/local/domain/0/backend/vbd/3/832/frontend = "/local/domain/3/device/vbd/832"   (n0,r3)

/local/domain/0/backend/vbd/3/832/params = "/dev/sda"   (n0,r3)

/local/domain/0/backend/vbd/3/832/script = "/etc/xen/scripts/block"   (n0,r3)

/local/domain/0/backend/vbd/3/832/physical-device = "8:0"   (n0,r3)

/local/domain/0/backend/vbd/3/832/frontend-id = "3"   (n0,r3)

/local/domain/0/backend/vbd/3/832/   (n0,r3)

/local/domain/0/backend/vbd/3/832/removable = "0"   (n0,r3)

/local/domain/0/backend/vbd/3/832/bootable = "1"   (n0,r3)

/local/domain/0/backend/vbd/3/832/state = "4"   (n0,r3)

/local/domain/0/backend/vbd/3/832/dev = "hdb"   (n0,r3)

/local/domain/0/backend/vbd/3/832/type = "phy"   (n0,r3)

/local/domain/0/backend/vbd/3/832/mode = "w"   (n0,r3)

/local/domain/0/backend/vbd/3/832/device-type = "disk"   (n0,r3)

/local/domain/0/backend/vbd/3/832/feature-flush-cache = "1"   (n0,r3)

/local/domain/0/backend/vbd/3/832/feature-discard = "0"   (n0,r3)

/local/domain/0/backend/vbd/3/832/feature-barrier = "1"   (n0,r3)

/local/domain/0/backend/vbd/3/832/feature-persistent = "1"   (n0,r3)

/local/domain/0/backend/vbd/3/832/feature-max-indirect-segments = "256"   (n0,r3)

/local/domain/0/backend/vbd/3/832/sectors = "5860533168"   (n0,r3)

/local/domain/0/backend/vbd/3/832/info = "0"   (n0,r3)

/local/domain/0/backend/vbd/3/832/sector-size = "512"   (n0,r3)

/local/domain/0/backend/vbd/3/832/physical-sector-size = "4096"   (n0,r3)

/local/domain/0/backend/vbd/3/5632 = ""   (n0,r3)

/local/domain/0/backend/vbd/3/5632/frontend = "/local/domain/3/device/vbd/5632"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/params = "/dev/sdb"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/script = "/etc/xen/scripts/block"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/physical-device = "8:10"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/frontend-id = "3"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/   (n0,r3)

/local/domain/0/backend/vbd/3/5632/removable = "0"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/bootable = "1"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/state = "4"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/dev = "hdc"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/type = "phy"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/mode = "w"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/device-type = "disk"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/feature-flush-cache = "1"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/feature-discard = "0"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/feature-barrier = "1"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/feature-persistent = "1"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/feature-max-indirect-segments = "256"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/sectors = "5860533168"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/info = "0"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/sector-size = "512"   (n0,r3)

/local/domain/0/backend/vbd/3/5632/physical-sector-size = "4096"   (n0,r3)

/local/domain/0/device-model = ""   (n0)

/local/domain/0/device-model/1 = ""   (n0)

/local/domain/0/device-model/1/state = "running"   (n0)

/local/domain/0/device-model/1/physmap = ""   (n0)

/local/domain/0/device-model/1/physmap/1f700000 = ""   (n0)

/local/domain/0/device-model/1/physmap/1f700000/start_addr = "f0000000"   (n0)

/local/domain/0/device-model/1/physmap/1f700000/size = "800000"   (n0)

/local/domain/0/device-model/1/physmap/1f700000/name = "vga.vram"   (n0)

/local/domain/0/device-model/3 = ""   (n0)

/local/domain/0/device-model/3/state = "running"   (n0)

/local/domain/0/device-model/3/physmap = ""   (n0)

/local/domain/0/device-model/3/physmap/3f800000 = ""   (n0)

/local/domain/0/device-model/3/physmap/3f800000/start_addr = "f0000000"   (n0)

/local/domain/0/device-model/3/physmap/3f800000/size = "800000"   (n0)

/local/domain/0/device-model/3/physmap/3f800000/name = "vga.vram"   (n0)

/local/domain/1 = ""   (n0,r1)

/local/domain/1/vm = "/vm/ebcc5983-c6f5-c113-931d-260ffded9856"   (n0,r1)

/local/domain/1/name = "convirt"   (n0,r1)

/local/domain/1/cpu = ""   (n0,r1)

/local/domain/1/cpu/0 = ""   (n0,r1)

/local/domain/1/cpu/0/availability = "online"   (n0,r1)

/local/domain/1/memory = ""   (n0,r1)

/local/domain/1/memory/static-max = "524288"   (n0,r1)

/local/domain/1/memory/target = "515072"   (n0,r1)

/local/domain/1/memory/videoram = "9216"   (n0,r1)

/local/domain/1/device = ""   (n0,r1)

/local/domain/1/device/suspend = ""   (n0,r1)

/local/domain/1/device/suspend/event-channel = ""   (n1)

/local/domain/1/device/vbd = ""   (n0,r1)

/local/domain/1/device/vbd/768 = ""   (n1,r0)

/local/domain/1/device/vbd/768/backend = "/local/domain/0/backend/qdisk/1/768"   (n1,r0)

/local/domain/1/device/vbd/768/backend-id = "0"   (n1,r0)

/local/domain/1/device/vbd/768/state = "4"   (n1,r0)

/local/domain/1/device/vbd/768/virtual-device = "768"   (n1,r0)

/local/domain/1/device/vbd/768/device-type = "disk"   (n1,r0)

/local/domain/1/device/vbd/768/ring-ref = "8"   (n1,r0)

/local/domain/1/device/vbd/768/event-channel = "11"   (n1,r0)

/local/domain/1/device/vbd/768/protocol = "x86_64-abi"   (n1,r0)

/local/domain/1/device/vkbd = ""   (n0,r1)

/local/domain/1/device/vkbd/0 = ""   (n1,r0)

/local/domain/1/device/vkbd/0/backend = "/local/domain/0/backend/vkbd/1/0"   (n1,r0)

/local/domain/1/device/vkbd/0/backend-id = "0"   (n1,r0)

/local/domain/1/device/vkbd/0/state = "4"   (n1,r0)

/local/domain/1/device/vkbd/0/request-abs-pointer = "1"   (n1,r0)

/local/domain/1/device/vkbd/0/page-ref = "103559"   (n1,r0)

/local/domain/1/device/vkbd/0/page-gref = "771"   (n1,r0)

/local/domain/1/device/vkbd/0/event-channel = "17"   (n1,r0)

/local/domain/1/device/vif = ""   (n0,r1)

/local/domain/1/device/vif/0 = ""   (n1,r0)

/local/domain/1/device/vif/0/backend = "/local/domain/0/backend/vif/1/0"   (n1,r0)

/local/domain/1/device/vif/0/backend-id = "0"   (n1,r0)

/local/domain/1/device/vif/0/state = "4"   (n1,r0)

/local/domain/1/device/vif/0/handle = "0"   (n1,r0)

/local/domain/1/device/vif/0/mac = "00:16:3e:19:bb:30"   (n1,r0)

/local/domain/1/device/vif/0/tx-ring-ref = "768"   (n1,r0)

/local/domain/1/device/vif/0/rx-ring-ref = "769"   (n1,r0)

/local/domain/1/device/vif/0/event-channel = "12"   (n1,r0)

/local/domain/1/device/vif/0/request-rx-copy = "1"   (n1,r0)

/local/domain/1/device/vif/0/feature-rx-notify = "1"   (n1,r0)

/local/domain/1/device/vif/0/feature-sg = "1"   (n1,r0)

/local/domain/1/device/vif/0/feature-gso-tcpv4 = "1"   (n1,r0)

/local/domain/1/control = ""   (n0,r1)

/local/domain/1/control/shutdown = ""   (n1)

/local/domain/1/control/platform-feature-multiprocessor-suspend = "1"   (n0,r1)

/local/domain/1/control/platform-feature-xs_reset_watches = "1"   (n0,r1)

/local/domain/1/hvmloader = ""   (n0,r1)

/local/domain/1/hvmloader/generation-id-address = "0x0"   (n1)

/local/domain/1/hvmloader/bios = "seabios"   (n0,r1)

/local/domain/1/hvmloader/allow-memory-relocate = "0"   (n0,r1)

/local/domain/1/data = ""   (n1)

/local/domain/1/domid = "1"   (n0,r1)

/local/domain/1/store = ""   (n0,r1)

/local/domain/1/store/port = "3"   (n0,r1)

/local/domain/1/store/ring-ref = "1044476"   (n0,r1)

/local/domain/1/platform = ""   (n0,r1)

/local/domain/1/platform/acpi = "1"   (n0,r1)

/local/domain/1/platform/acpi_s3 = "1"   (n0,r1)

/local/domain/1/platform/acpi_s4 = "1"   (n0,r1)

/local/domain/1/console = ""   (n0,r1)

/local/domain/1/console/backend = "/local/domain/0/backend/console/1/0"   (n0,r1)

/local/domain/1/console/backend-id = "0"   (n1,r0)

/local/domain/1/console/limit = "1048576"   (n0,r1)

/local/domain/1/console/type = "xenconsoled"   (n0,r1)

/local/domain/1/console/output = "pty"   (n0,r1)

/local/domain/1/console/tty = "/dev/pts/14"   (n0,r1)

/local/domain/1/console/port = "4"   (n0,r1)

/local/domain/1/console/ring-ref = "1044479"   (n0,r1)

/local/domain/1/console/vnc-listen = "127.0.0.1"   (n0,r1)

/local/domain/1/console/vnc-port = "5900"   (n0,r1)

/local/domain/1/image = ""   (n0,r1)

/local/domain/1/image/device-model-pid = "3243"   (n0,r1)

/local/domain/1/serial = ""   (n0,r1)

/local/domain/1/serial/0 = ""   (n0,r1)

/local/domain/1/serial/0/tty = "/dev/pts/15"   (n0,r1)

/local/domain/3 = ""   (n0,r3)

/local/domain/3/vm = "/vm/df709496-d3e8-b420-0266-9b15a151cdb7"   (n0,r3)

/local/domain/3/name = "NAS-OMV"   (n0,r3)

/local/domain/3/cpu = ""   (n0,r3)

/local/domain/3/cpu/0 = ""   (n0,r3)

/local/domain/3/cpu/0/availability = "online"   (n0,r3)

/local/domain/3/cpu/1 = ""   (n0,r3)

/local/domain/3/cpu/1/availability = "online"   (n0,r3)

/local/domain/3/memory = ""   (n0,r3)

/local/domain/3/memory/static-max = "1048576"   (n0,r3)

/local/domain/3/memory/target = "1040384"   (n0,r3)

/local/domain/3/memory/videoram = "8192"   (n0,r3)

/local/domain/3/device = ""   (n0,r3)

/local/domain/3/device/suspend = ""   (n0,r3)

/local/domain/3/device/suspend/event-channel = ""   (n3)

/local/domain/3/device/vbd = ""   (n0,r3)

/local/domain/3/device/vbd/768 = ""   (n3,r0)

/local/domain/3/device/vbd/768/backend = "/local/domain/0/backend/qdisk/3/768"   (n3,r0)

/local/domain/3/device/vbd/768/backend-id = "0"   (n3,r0)

/local/domain/3/device/vbd/768/state = "4"   (n3,r0)

/local/domain/3/device/vbd/768/virtual-device = "768"   (n3,r0)

/local/domain/3/device/vbd/768/device-type = "disk"   (n3,r0)

/local/domain/3/device/vbd/768/ring-ref = "8"   (n3,r0)

/local/domain/3/device/vbd/768/event-channel = "8"   (n3,r0)

/local/domain/3/device/vbd/768/protocol = "x86_64-abi"   (n3,r0)

/local/domain/3/device/vbd/832 = ""   (n3,r0)

/local/domain/3/device/vbd/832/backend = "/local/domain/0/backend/vbd/3/832"   (n3,r0)

/local/domain/3/device/vbd/832/backend-id = "0"   (n3,r0)

/local/domain/3/device/vbd/832/state = "4"   (n3,r0)

/local/domain/3/device/vbd/832/virtual-device = "832"   (n3,r0)

/local/domain/3/device/vbd/832/device-type = "disk"   (n3,r0)

/local/domain/3/device/vbd/832/ring-ref = "9"   (n3,r0)

/local/domain/3/device/vbd/832/event-channel = "9"   (n3,r0)

/local/domain/3/device/vbd/832/protocol = "x86_64-abi"   (n3,r0)

/local/domain/3/device/vbd/5632 = ""   (n3,r0)

/local/domain/3/device/vbd/5632/backend = "/local/domain/0/backend/vbd/3/5632"   (n3,r0)

/local/domain/3/device/vbd/5632/backend-id = "0"   (n3,r0)

/local/domain/3/device/vbd/5632/state = "4"   (n3,r0)

/local/domain/3/device/vbd/5632/virtual-device = "5632"   (n3,r0)

/local/domain/3/device/vbd/5632/device-type = "disk"   (n3,r0)

/local/domain/3/device/vbd/5632/ring-ref = "10"   (n3,r0)

/local/domain/3/device/vbd/5632/event-channel = "10"   (n3,r0)

/local/domain/3/device/vbd/5632/protocol = "x86_64-abi"   (n3,r0)

/local/domain/3/device/vkbd = ""   (n0,r3)

/local/domain/3/device/vkbd/0 = ""   (n3,r0)

/local/domain/3/device/vkbd/0/backend = "/local/domain/0/backend/vkbd/3/0"   (n3,r0)

/local/domain/3/device/vkbd/0/backend-id = "0"   (n3,r0)

/local/domain/3/device/vkbd/0/state = "1"   (n3,r0)

/local/domain/3/device/vif = ""   (n0,r3)

/local/domain/3/device/vif/0 = ""   (n3,r0)

/local/domain/3/device/vif/0/backend = "/local/domain/0/backend/vif/3/0"   (n3,r0)

/local/domain/3/device/vif/0/backend-id = "0"   (n3,r0)

/local/domain/3/device/vif/0/state = "1"   (n3,r0)

/local/domain/3/device/vif/0/handle = "0"   (n3,r0)

/local/domain/3/device/vif/0/mac = "00:16:3e:d5:5b:9a"   (n3,r0)

/local/domain/3/control = ""   (n0,r3)

/local/domain/3/control/shutdown = ""   (n3)

/local/domain/3/control/platform-feature-multiprocessor-suspend = "1"   (n0,r3)

/local/domain/3/control/platform-feature-xs_reset_watches = "1"   (n0,r3)

/local/domain/3/hvmloader = ""   (n0,r3)

/local/domain/3/hvmloader/generation-id-address = "0x0"   (n3)

/local/domain/3/hvmloader/bios = "seabios"   (n0,r3)

/local/domain/3/hvmloader/allow-memory-relocate = "0"   (n0,r3)

/local/domain/3/data = ""   (n3)

/local/domain/3/domid = "3"   (n0,r3)

/local/domain/3/store = ""   (n0,r3)

/local/domain/3/store/port = "4"   (n0,r3)

/local/domain/3/store/ring-ref = "1044476"   (n0,r3)

/local/domain/3/platform = ""   (n0,r3)

/local/domain/3/platform/acpi = "1"   (n0,r3)

/local/domain/3/platform/acpi_s3 = "1"   (n0,r3)

/local/domain/3/platform/acpi_s4 = "1"   (n0,r3)

/local/domain/3/console = ""   (n0,r3)

/local/domain/3/console/backend = "/local/domain/0/backend/console/3/0"   (n0,r3)

/local/domain/3/console/backend-id = "0"   (n3,r0)

/local/domain/3/console/limit = "1048576"   (n0,r3)

/local/domain/3/console/type = "xenconsoled"   (n0,r3)

/local/domain/3/console/output = "pty"   (n0,r3)

/local/domain/3/console/tty = "/dev/pts/4"   (n0,r3)

/local/domain/3/console/port = "5"   (n0,r3)

/local/domain/3/console/ring-ref = "1044479"   (n0,r3)

/local/domain/3/console/vnc-listen = "127.0.0.1"   (n0,r3)

/local/domain/3/console/vnc-port = "5901"   (n0,r3)

/local/domain/3/image = ""   (n0,r3)

/local/domain/3/image/device-model-pid = "4085"   (n0,r3)

/local/domain/3/serial = ""   (n0,r3)

/local/domain/3/serial/0 = ""   (n0,r3)

/local/domain/3/serial/0/tty = "/dev/pts/16"   (n0,r3)

/vm = ""   (n0)

/vm/00000000-0000-0000-0000-000000000000 = ""   (n0)

/vm/00000000-0000-0000-0000-000000000000/memory = "5976"   (n0)

/vm/ebcc5983-c6f5-c113-931d-260ffded9856 = ""   (n0,r1)

/vm/ebcc5983-c6f5-c113-931d-260ffded9856/uuid = "ebcc5983-c6f5-c113-931d-260ffded9856"   (n0,r1)

/vm/ebcc5983-c6f5-c113-931d-260ffded9856/name = "convirt"   (n0,r1)

/vm/ebcc5983-c6f5-c113-931d-260ffded9856/rtc = ""   (n0,r1)

/vm/ebcc5983-c6f5-c113-931d-260ffded9856/rtc/timeoffset = ""   (n0,r1)

/vm/ebcc5983-c6f5-c113-931d-260ffded9856/image = ""   (n0,r1)

/vm/ebcc5983-c6f5-c113-931d-260ffded9856/image/ostype = "hvm"   (n0,r1)

/vm/ebcc5983-c6f5-c113-931d-260ffded9856/start_time = "1398428687.82"   (n0,r1)

/vm/df709496-d3e8-b420-0266-9b15a151cdb7 = ""   (n0,r3)

/vm/df709496-d3e8-b420-0266-9b15a151cdb7/uuid = "df709496-d3e8-b420-0266-9b15a151cdb7"   (n0,r3)

/vm/df709496-d3e8-b420-0266-9b15a151cdb7/name = "NAS-OMV"   (n0,r3)

/vm/df709496-d3e8-b420-0266-9b15a151cdb7/rtc = ""   (n0,r3)

/vm/df709496-d3e8-b420-0266-9b15a151cdb7/rtc/timeoffset = ""   (n0,r3)

/vm/df709496-d3e8-b420-0266-9b15a151cdb7/image = ""   (n0,r3)

/vm/df709496-d3e8-b420-0266-9b15a151cdb7/image/ostype = "hvm"   (n0,r3)

/vm/df709496-d3e8-b420-0266-9b15a151cdb7/start_time = "1398429317.59"   (n0,r3)

/libxl = ""   (n0)

/libxl/1 = ""   (n0)

/libxl/1/dm-version = "qemu_xen"   (n0)

/libxl/3 = ""   (n0)

/libxl/3/dm-version = "qemu_xen"   (n0)



On 25-04-14 21:39, "Ian Campbell" <Ian.Campbell@xxxxxxxxxx> wrote:

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®.