vm create test ="losetup /dev/loop0 /data/xen/domains/test/disk.img failed"

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

 



Dear mailing-list

after several attempts to start a xen linux-vm on a Fedora 8 XEN-System (Quadcore Xeon-System with 8GB RAM and VT/PAE enabled), i now really need your help.

I sucessfully created and installed a new debian etch-vm with the well known debootstrap-script. I got 10 unused loop-devices which should really be enough for at least one xen-machine.

When i try to start the new debian-etch-machine with "*xm create /etc/xen/test -c*" i always get the error message:
-------------------------------
Using config file "./test".
Error: Device 2049 (vbd) could not be connected. losetup /dev/loop0 /data/xen/domains/test/disk.img failed
-------------------------------

*xend.log:*
-----------------------------------------------------
[2008-06-11 11:24:09 2528] DEBUG (XendDomainInfo:1555) XendDomainInfo.constructDomain [2008-06-11 11:24:09 2528] DEBUG (balloon:116) Balloon: 131072 KiB free; need 2048; done.
[2008-06-11 11:24:09 2528] DEBUG (XendDomain:443) Adding Domain: 1
[2008-06-11 11:24:09 2528] DEBUG (XendDomainInfo:1609) XendDomainInfo.initDomain: 1 256 [2008-06-11 11:24:09 2528] DEBUG (XendDomainInfo:1640) _initDomain:shadow_memory=0x0, memory_static_max=0x8000000, memory_static_min=0x0. [2008-06-11 11:24:09 2528] DEBUG (balloon:116) Balloon: 131072 KiB free; need 131072; done. [2008-06-11 11:24:09 2528] INFO (image:129) buildDomain os=linux dom=1 vcpus=1
[2008-06-11 11:24:09 2528] DEBUG (image:198) domid = 1
[2008-06-11 11:24:09 2528] DEBUG (image:199) memsize = 128
[2008-06-11 11:24:09 2528] DEBUG (image:200) image = /boot/vmlinuz-2.6.21.7-3.fc8xen
[2008-06-11 11:24:09 2528] DEBUG (image:201) store_evtchn = 1
[2008-06-11 11:24:09 2528] DEBUG (image:202) console_evtchn = 2
[2008-06-11 11:24:09 2528] DEBUG (image:203) cmdline = root=/dev/sda1 ro ip=:1.2.3.4::::eth0:dhcp [2008-06-11 11:24:09 2528] DEBUG (image:204) ramdisk = /boot/initrd-2.6.21.7-3.fc8xen.img
[2008-06-11 11:24:09 2528] DEBUG (image:205) vcpus = 1
[2008-06-11 11:24:09 2528] DEBUG (image:206) features =
[2008-06-11 11:24:09 2528] INFO (XendDomainInfo:1458) createDevice: vbd : {'uuid': '1681e256-5ca1-49d6-c570-f08bb2f3c0a1', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'sda1', 'uname': 'file:/data/xen/domains/test/disk.img', 'mode': 'w'} [2008-06-11 11:24:09 2528] DEBUG (DevController:117) DevController: writing {'virtual-device': '2049', 'device-type': 'disk', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/2049'} to /local/domain/1/device/vbd/2049. [2008-06-11 11:24:09 2528] DEBUG (DevController:119) DevController: writing {'domain': 'test', 'frontend': '/local/domain/1/device/vbd/2049', 'uuid': '1681e256-5ca1-49d6-c570-f08bb2f3c0a1', 'dev': 'sda1', 'state': '1', 'params': '/data/xen/domains/test/disk.img', 'mode': 'w', 'online': '1', 'frontend-id': '1', 'type': 'file'} to /local/domain/0/backend/vbd/1/2049. [2008-06-11 11:24:09 2528] INFO (XendDomainInfo:1458) createDevice: vbd : {'uuid': '114d9b70-e03a-ccfc-53f1-760b433d1247', 'bootable': 0, 'driver': 'paravirtualised', 'dev': 'sda2', 'uname': 'file:/data/xen/domains/test/swap.img', 'mode': 'w'} [2008-06-11 11:24:09 2528] DEBUG (DevController:117) DevController: writing {'virtual-device': '2050', 'device-type': 'disk', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/2050'} to /local/domain/1/device/vbd/2050. [2008-06-11 11:24:09 2528] DEBUG (DevController:119) DevController: writing {'domain': 'test', 'frontend': '/local/domain/1/device/vbd/2050', 'uuid': '114d9b70-e03a-ccfc-53f1-760b433d1247', 'dev': 'sda2', 'state': '1', 'params': '/data/xen/domains/test/swap.img', 'mode': 'w', 'online': '1', 'frontend-id': '1', 'type': 'file'} to /local/domain/0/backend/vbd/1/2050. [2008-06-11 11:24:09 2528] INFO (XendDomainInfo:1458) createDevice: vif : {'mac': '00:16:3e:12:88:a1', 'uuid': '74139f26-9d03-53a5-3ac7-0e2a5e7f2f59'} [2008-06-11 11:24:09 2528] DEBUG (DevController:117) DevController: writing {'mac': '00:16:3e:12:88:a1', 'handle': '0', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/1/0'} to /local/domain/1/device/vif/0. [2008-06-11 11:24:09 2528] DEBUG (DevController:119) DevController: writing {'domain': 'test', 'handle': '0', 'uuid': '74139f26-9d03-53a5-3ac7-0e2a5e7f2f59', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/1/device/vif/0', 'mac': '00:16:3e:12:88:a1', 'online': '1', 'frontend-id': '1'} to /local/domain/0/backend/vif/1/0. [2008-06-11 11:24:09 2528] DEBUG (XendDomainInfo:2116) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '95a38774-70eb-1714-fe37-5ab47b436608', 'on_reboot': 'restart', 'start_time': '1213176249.91', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image': "(linux (kernel /boot/vmlinuz-2.6.21.7-3.fc8xen) (ramdisk /boot/initrd-2.6.21.7-3.fc8xen.img) (args 'root=/dev/sda1 ro ip=:1.2.3.4::::eth0:dhcp ') (notes (HV_START_LOW 4118806528) (FEATURES 'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel') (VIRT_BASE 3221225472) (GUEST_VERSION 2.6) (PADDR_OFFSET 3221225472) (GUEST_OS linux) (HYPERCALL_PAGE 3238006784) (LOADER generic) (SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 3238002688) (XEN_VERSION xen-3.0)))", 'name': 'test'} [2008-06-11 11:24:09 2528] DEBUG (XendDomainInfo:956) Storing domain details: {'console/ring-ref': '2261948', 'image/entry': '3238002688', 'console/port': '2', 'store/ring-ref': '2261949', 'image/loader': 'generic', 'vm': '/vm/95a38774-70eb-1714-fe37-5ab47b436608', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '4118806528', 'image/guest-os': 'linux', 'image/features/writable-descriptor-tables': '1', 'image/virt-base': '3221225472', 'memory/target': '131072', 'image/guest-version': '2.6', 'image/features/supervisor-mode-kernel': '1', 'image/pae-mode': 'yes', 'console/limit': '1048576', 'image/paddr-offset': '3221225472', 'image/hypercall-page': '3238006784', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '1', 'image/features/auto-translated-physmap': '1', 'name': 'test', 'domid': '1', 'image/xen-version': 'xen-3.0', 'store/port': '1'} [2008-06-11 11:24:09 2528] DEBUG (DevController:117) DevController: writing {'protocol': 'x86_32-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/1/0'} to /local/domain/1/device/console/0. [2008-06-11 11:24:09 2528] DEBUG (DevController:119) DevController: writing {'domain': 'test', 'protocol': 'vt100', 'uuid': '6af035fd-4e60-53d0-db0f-eb5c2a03fa3a', 'frontend': '/local/domain/1/device/console/0', 'state': '1', 'location': '2', 'online': '1', 'frontend-id': '1'} to /local/domain/0/backend/console/1/0. [2008-06-11 11:24:09 2528] DEBUG (XendDomainInfo:1040) XendDomainInfo.handleShutdownWatch [2008-06-11 11:24:10 2528] DEBUG (DevController:150) Waiting for devices vif.
[2008-06-11 11:24:10 2528] DEBUG (DevController:155) Waiting for 0.
[2008-06-11 11:24:10 2528] DEBUG (DevController:594) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. [2008-06-11 11:24:10 2528] DEBUG (DevController:594) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. [2008-06-11 11:24:10 2528] DEBUG (DevController:608) hotplugStatusCallback 1. [2008-06-11 11:24:10 2528] DEBUG (DevController:150) Waiting for devices usb. [2008-06-11 11:24:10 2528] DEBUG (DevController:150) Waiting for devices vbd.
[2008-06-11 11:24:10 2528] DEBUG (DevController:155) Waiting for 2049.
[2008-06-11 11:24:10 2528] DEBUG (DevController:594) hotplugStatusCallback /local/domain/0/backend/vbd/1/2049/hotplug-status. [2008-06-11 11:24:10 2528] DEBUG (DevController:594) hotplugStatusCallback /local/domain/0/backend/vbd/1/2049/hotplug-status. [2008-06-11 11:24:10 2528] DEBUG (DevController:608) hotplugStatusCallback 2. [2008-06-11 11:24:10 2528] DEBUG (XendDomainInfo:1802) XendDomainInfo.destroy: domid=1 [2008-06-11 11:24:10 2528] DEBUG (XendDomainInfo:1821) XendDomainInfo.destroyDomain(1)
[2008-06-11 11:24:10 2528] DEBUG (XendDomainInfo:1479) Removing vif/0
[2008-06-11 11:24:10 2528] DEBUG (XendDomainInfo:569) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2008-06-11 11:24:10 2528] DEBUG (XendDomainInfo:1479) Removing vbd/2049
[2008-06-11 11:24:10 2528] DEBUG (XendDomainInfo:569) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2049
[2008-06-11 11:24:10 2528] DEBUG (XendDomainInfo:1479) Removing vbd/2050
[2008-06-11 11:24:10 2528] DEBUG (XendDomainInfo:569) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2050
[2008-06-11 11:24:10 2528] DEBUG (XendDomainInfo:1479) Removing console/0
[2008-06-11 11:24:10 2528] DEBUG (XendDomainInfo:569) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0 [2008-06-12 11:24:40 2528] DEBUG (XendDomainInfo:84) XendDomainInfo.create(['vm', ['name', 'test'], ['memory', '128'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.21.7-3.fc8xen'], ['ramdisk', '/boot/initrd-2.6.21.7-3.fc8xen.img'], ['ip', ':1.2.3.4::::eth0:dhcp'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/data/xen/domains/test/disk.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/data/xen/domains/test/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif']]]) [2008-06-12 11:24:40 2528] DEBUG (XendDomainInfo:1555) XendDomainInfo.constructDomain [2008-06-12 11:24:40 2528] DEBUG (balloon:116) Balloon: 131072 KiB free; need 2048; done.
[2008-06-12 11:24:40 2528] DEBUG (XendDomain:443) Adding Domain: 2
[2008-06-12 11:24:40 2528] DEBUG (XendDomainInfo:1609) XendDomainInfo.initDomain: 2 256 [2008-06-12 11:24:40 2528] DEBUG (XendDomainInfo:1640) _initDomain:shadow_memory=0x0, memory_static_max=0x8000000, memory_static_min=0x0. [2008-06-12 11:24:40 2528] DEBUG (balloon:116) Balloon: 131072 KiB free; need 131072; done. [2008-06-12 11:24:40 2528] INFO (image:129) buildDomain os=linux dom=2 vcpus=1
[2008-06-12 11:24:40 2528] DEBUG (image:198) domid = 2
[2008-06-12 11:24:40 2528] DEBUG (image:199) memsize = 128
[2008-06-12 11:24:40 2528] DEBUG (image:200) image = /boot/vmlinuz-2.6.21.7-3.fc8xen
[2008-06-12 11:24:40 2528] DEBUG (image:201) store_evtchn = 1
[2008-06-12 11:24:40 2528] DEBUG (image:202) console_evtchn = 2
[2008-06-12 11:24:40 2528] DEBUG (image:203) cmdline = root=/dev/sda1 ro ip=:1.2.3.4::::eth0:dhcp [2008-06-12 11:24:40 2528] DEBUG (image:204) ramdisk = /boot/initrd-2.6.21.7-3.fc8xen.img
[2008-06-12 11:24:40 2528] DEBUG (image:205) vcpus = 1
[2008-06-12 11:24:40 2528] DEBUG (image:206) features =
[2008-06-12 11:24:41 2528] INFO (XendDomainInfo:1458) createDevice: vbd : {'uuid': 'a80a5da8-49f0-8a5b-8ab1-315586fbc043', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'sda1', 'uname': 'file:/data/xen/domains/test/disk.img', 'mode': 'w'} [2008-06-12 11:24:41 2528] DEBUG (DevController:117) DevController: writing {'virtual-device': '2049', 'device-type': 'disk', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/2/2049'} to /local/domain/2/device/vbd/2049. [2008-06-12 11:24:41 2528] DEBUG (DevController:119) DevController: writing {'domain': 'test', 'frontend': '/local/domain/2/device/vbd/2049', 'uuid': 'a80a5da8-49f0-8a5b-8ab1-315586fbc043', 'dev': 'sda1', 'state': '1', 'params': '/data/xen/domains/test/disk.img', 'mode': 'w', 'online': '1', 'frontend-id': '2', 'type': 'file'} to /local/domain/0/backend/vbd/2/2049. [2008-06-12 11:24:41 2528] INFO (XendDomainInfo:1458) createDevice: vbd : {'uuid': '464904a6-f7b0-d5dd-6e87-f031694ca985', 'bootable': 0, 'driver': 'paravirtualised', 'dev': 'sda2', 'uname': 'file:/data/xen/domains/test/swap.img', 'mode': 'w'} [2008-06-12 11:24:41 2528] DEBUG (DevController:117) DevController: writing {'virtual-device': '2050', 'device-type': 'disk', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/2/2050'} to /local/domain/2/device/vbd/2050. [2008-06-12 11:24:41 2528] DEBUG (DevController:119) DevController: writing {'domain': 'test', 'frontend': '/local/domain/2/device/vbd/2050', 'uuid': '464904a6-f7b0-d5dd-6e87-f031694ca985', 'dev': 'sda2', 'state': '1', 'params': '/data/xen/domains/test/swap.img', 'mode': 'w', 'online': '1', 'frontend-id': '2', 'type': 'file'} to /local/domain/0/backend/vbd/2/2050. [2008-06-12 11:24:41 2528] INFO (XendDomainInfo:1458) createDevice: vif : {'mac': '00:16:3e:28:7f:4a', 'uuid': 'c9e74d33-67b3-3ecf-549d-ed9b7ed4009b'} [2008-06-12 11:24:41 2528] DEBUG (DevController:117) DevController: writing {'mac': '00:16:3e:28:7f:4a', 'handle': '0', 'protocol': 'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/2/0'} to /local/domain/2/device/vif/0. [2008-06-12 11:24:41 2528] DEBUG (DevController:119) DevController: writing {'domain': 'test', 'handle': '0', 'uuid': 'c9e74d33-67b3-3ecf-549d-ed9b7ed4009b', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/2/device/vif/0', 'mac': '00:16:3e:28:7f:4a', 'online': '1', 'frontend-id': '2'} to /local/domain/0/backend/vif/2/0. [2008-06-12 11:24:41 2528] DEBUG (XendDomainInfo:2116) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '1ab9d29a-b2ff-ec05-4748-7efc1bf86f18', 'on_reboot': 'restart', 'start_time': '1213262681.16', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image': "(linux (kernel /boot/vmlinuz-2.6.21.7-3.fc8xen) (ramdisk /boot/initrd-2.6.21.7-3.fc8xen.img) (args 'root=/dev/sda1 ro ip=:1.2.3.4::::eth0:dhcp ') (notes (HV_START_LOW 4118806528) (FEATURES 'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel') (VIRT_BASE 3221225472) (GUEST_VERSION 2.6) (PADDR_OFFSET 3221225472) (GUEST_OS linux) (HYPERCALL_PAGE 3238006784) (LOADER generic) (SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 3238002688) (XEN_VERSION xen-3.0)))", 'name': 'test'} [2008-06-12 11:24:41 2528] DEBUG (XendDomainInfo:956) Storing domain details: {'console/ring-ref': '2261948', 'image/entry': '3238002688', 'console/port': '2', 'store/ring-ref': '2261949', 'image/loader': 'generic', 'vm': '/vm/1ab9d29a-b2ff-ec05-4748-7efc1bf86f18', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '4118806528', 'image/guest-os': 'linux', 'image/features/writable-descriptor-tables': '1', 'image/virt-base': '3221225472', 'memory/target': '131072', 'image/guest-version': '2.6', 'image/features/supervisor-mode-kernel': '1', 'image/pae-mode': 'yes', 'console/limit': '1048576', 'image/paddr-offset': '3221225472', 'image/hypercall-page': '3238006784', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '1', 'image/features/auto-translated-physmap': '1', 'name': 'test', 'domid': '2', 'image/xen-version': 'xen-3.0', 'store/port': '1'} [2008-06-12 11:24:41 2528] DEBUG (DevController:117) DevController: writing {'protocol': 'x86_32-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/2/0'} to /local/domain/2/device/console/0. [2008-06-12 11:24:41 2528] DEBUG (DevController:119) DevController: writing {'domain': 'test', 'protocol': 'vt100', 'uuid': 'f116d906-4a3d-351b-68c1-19d4bec0fb5c', 'frontend': '/local/domain/2/device/console/0', 'state': '1', 'location': '2', 'online': '1', 'frontend-id': '2'} to /local/domain/0/backend/console/2/0. [2008-06-12 11:24:41 2528] DEBUG (XendDomainInfo:1040) XendDomainInfo.handleShutdownWatch [2008-06-12 11:24:41 2528] DEBUG (DevController:150) Waiting for devices vif.
[2008-06-12 11:24:41 2528] DEBUG (DevController:155) Waiting for 0.
[2008-06-12 11:24:41 2528] DEBUG (DevController:594) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status. [2008-06-12 11:24:41 2528] DEBUG (DevController:594) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status. [2008-06-12 11:24:41 2528] DEBUG (DevController:608) hotplugStatusCallback 1. [2008-06-12 11:24:41 2528] DEBUG (DevController:150) Waiting for devices usb. [2008-06-12 11:24:41 2528] DEBUG (DevController:150) Waiting for devices vbd.
[2008-06-12 11:24:41 2528] DEBUG (DevController:155) Waiting for 2049.
[2008-06-12 11:24:41 2528] DEBUG (DevController:594) hotplugStatusCallback /local/domain/0/backend/vbd/2/2049/hotplug-status. [2008-06-12 11:24:41 2528] DEBUG (DevController:594) hotplugStatusCallback /local/domain/0/backend/vbd/2/2049/hotplug-status. [2008-06-12 11:24:41 2528] DEBUG (DevController:608) hotplugStatusCallback 2. [2008-06-12 11:24:41 2528] DEBUG (XendDomainInfo:1802) XendDomainInfo.destroy: domid=2 [2008-06-12 11:24:41 2528] DEBUG (XendDomainInfo:1821) XendDomainInfo.destroyDomain(2)
[2008-06-12 11:24:41 2528] DEBUG (XendDomainInfo:1479) Removing vif/0
[2008-06-12 11:24:41 2528] DEBUG (XendDomainInfo:569) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2008-06-12 11:24:41 2528] DEBUG (XendDomainInfo:1479) Removing vbd/2049
[2008-06-12 11:24:41 2528] DEBUG (XendDomainInfo:569) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2049
[2008-06-12 11:24:41 2528] DEBUG (XendDomainInfo:1479) Removing vbd/2050
[2008-06-12 11:24:41 2528] DEBUG (XendDomainInfo:569) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2050
[2008-06-12 11:24:41 2528] DEBUG (XendDomainInfo:1479) Removing console/0
[2008-06-12 11:24:41 2528] DEBUG (XendDomainInfo:569) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
----------------------------------------

*xen-hotplug.log:*
-------------------------------
Nothing to flush.
/data/xen/domains/test/disk.img: Permission denied
xenstore-read: couldn't read path backend/vbd/2/2049/node
-------------------------------

The entire directory is world-accessible and writable, so there should be no permission-problems with accessing the disk-images (VBD). I am using the root-account to start the xen-vm.

*The configuration-file for the "test"-vm looks like this:*
-------------------------------
# Configuration file for the Xen instance vm01.example.com, created on
# Mon Jun 2 17:06:01 2008.

# Kernel + memory size
kernel = '/boot/vmlinuz-2.6.21.7-3.fc8xen'
ramdisk = '/boot/initrd-2.6.21.7-3.fc8xen.img'

memory = '128'

# Disk device(s).
root = '/dev/sda1 ro'

disk = [
'file:/data/xen/domains/test/disk.img,sda1,w',
'file:/data/xen/domains/test/swap.img,sda2,w' ]

# Hostname
name = 'test'

# Networking
dhcp = 'dhcp'
vif = [ '' ]

# Behaviour
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
---------------------------------

An attempt to mount the disk-images to an unused-loop-device with losetup works without any problems.

----------------------------------
[root@dmxen xen]# losetup /dev/loop0 /data/xen/domains/test/disk.img
[root@dmxen xen]# losetup -a
/dev/loop0: [0902]:192479239 (/data/xen/domains/test/disk.img)
----------------------------------

System details:
_Kernel:_ Linux dmxen 2.6.21.7-3.fc8xen #1 SMP Thu Mar 20 14:57:53 EDT 2008 i686 i686 i386 GNU/Linux
Xen-Version: Xen 3.1.2


Any help and information would be very welcome.

Thanks in advance

Christian

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux