Hello, 

 I'm a bit confused about using blktap2 on OpenSuSE 11.2.

blktap2 is available in xen 4.0 but it seems that it was backported
to xen 3.4. However I am unable to make it work.


Does anyone have any experience with blktap2??

# xm create -c director01
Using config file "/etc/xen/vm/director01".
Error: Device 51952 (tap) could not be connected. Setting up the backend 
failed. See the log files in /var/log/xen/ for details

[2010-06-21 11:03:00 3331] DEBUG (XendDomainInfo:2324) 
XendDomainInfo.constructDomain
[2010-06-21 11:03:00 3331] DEBUG (balloon:185) Balloon: 1053548 KiB free; need 
4096; done.
[2010-06-21 11:03:00 3331] DEBUG (XendDomain:453) Adding Domain: 9
[2010-06-21 11:03:00 3331] DEBUG (XendDomainInfo:2525) 
XendDomainInfo.initDomain: 9 256
[2010-06-21 11:03:00 3331] INFO (XendDomainInfo:2948) Mounting 
vhd:/mnt/director01 on /dev/xvdp.
[2010-06-21 11:03:00 3331] DEBUG (DevController:95) DevController: writing 
{'backend-id': '0', 'virtual-device': '51952', 'device-type': 'disk', 'state': 
'1', 'backend': '/local/domain/0/backend/tap/0/51952'} to 
/local/domain/0/device/vbd/51952.
[2010-06-21 11:03:00 3331] DEBUG (DevController:97) DevController: writing 
{'domain': 'Domain-0', 'frontend': '/local/domain/0/device/vbd/51952', 'uuid': 
'31e7d05f-eb49-9e8a-715b-e7f4568e8bfe', 'bootable': '0', 'dev': '/dev/xvdp', 
'state': '1', 'params': 'tapdisk:vhd:/mnt/director01', 'mode': 'w', 'online': 
'1', 'frontend-id': '0', 'type': 'tap'} to /local/domain/0/backend/tap/0/51952.
[2010-06-21 11:03:00 3331] DEBUG (DevController:144) Waiting for 51952.
[2010-06-21 11:03:00 3331] DEBUG (DevController:654) hotplugStatusCallback 
/local/domain/0/backend/tap/0/51952/hotplug-status.
[2010-06-21 11:03:00 3331] DEBUG (DevController:668) hotplugStatusCallback 2.
[2010-06-21 11:03:00 3331] ERROR (XendDomainInfo:3662) Device 51952 (tap) could 
not be connected. Setting up the backend failed. See the log files in 
/var/log/xen/ for details.



# xm list director01 -l
[.....]
    (device
        (tap
            (bootable 1)
            (uname tap:tapdisk:vhd:/mnt/director01)
            (mode w)
            (dev xvda)
            (uuid f362c77e-e721-c6ee-4f88-f323678fa9e9)
        )
    )



# cat /etc/xen/vm/director01
name="director01"
uuid="5a54cbb9-8fd5-5d5a-fa89-31303086bfc1"
memory=1024
maxmem=1024
vcpus=1
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
localtime=0
keymap="es"
builder="linux"
bootloader="/usr/lib/xen/boot/domUloader.py"
bootargs="--entry=xvda2:/boot/vmlinuz-xen,/boot/initrd-xen"
extra=" "
disk=[ 'tap:tapdisk:vhd:/mnt/director01,xvda,w' ]
vif=[ 'vifname=vif1.1, mac=00:16:3e:45:e7:11, bridge=xenbr0' ]




--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to