[Xen-users] Backend device not found!!.

Lamia M.Youseff
Mon, 23 Jan 2006 19:29:12 -0000

Hi All,
I am having a really hard time starting xen-domain with a vbd file. I
always get the error
"Error: Device 0 (vif) could not be connected. Backend device not
found."
I have been using xen 2.0 before, but now i am not able to start domains
with xen 3.
I have no clue what could be the problem. I have done some testing,
which is shown in the log below.

Any ideas/ help will be very appreciated,
Lamia Youseff

==================================-bash-3.00# cat xen-domain.config
kernel = "/boot/vmlinuz-2.6-xenU"
memory = 128
name = "xen3-vm1"
nics = 1
ip = "10.1.1.13"
netmask=get_current_ipmask()
gateway=get_current_ipgw()
hostname="xen3-vm1"
disk = [''phy:vg2/vmdisk1,sda1,w'']
root = "/dev/sda1 ro"
vif = [''mac=00:16:3E:F6:BB:B3, bridge=xenbr0'' ]
==============================================-bash-3.00# xm create
xen-domain.config
Using config file "xen-domain.config".
Error: Device 0 (vif) could not be connected. Backend device not found.
===============================================-bash-3.00# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      142     4 r-----   536.0
xen3-vm1                           5      128     1 --p---     0.0
==============================================-bash-3.00# blockdev --getsize
/dev/vg2/vmdisk1
2097152
==============================================-bash-3.00# lvs
  LV      VG   Attr   LSize Origin Snap%  Move Log Copy%
  vmdisk1 vg2  -wi-ao 1.00G
-bash-3.00# lvscan
  ACTIVE            ''/dev/vg2/vmdisk1'' [1.00 GB] inherit
================================================-bash-3.00# xm destroy 5
-bash-3.00# mount /dev/vg2/vmdisk1 /mnt/vmdisk/
-bash-3.00# cat /mnt/vmdisk/
.autofsck   etc/        lib64/      opt/        tmp/
bin/        home/       lost+found/ proc/       usr/
boot/       initrd/     media/      root/       var/
dev/        lib/        mnt/        sbin/
-bash-3.00# cat /mnt/vmdisk/etc/fstab
# This file is edited by fstab-sync - see ''man fstab-sync'' for
details
/dev/sda1             /                   ext2
defaults            1  1
/boot         /boot               ext2           defaults            1  2
LABEL=/tmp          /tmp                ext2
defaults            1  2
LABEL=/usr          /usr                ext2
defaults            1  2
LABEL=/var          /var                ext2
defaults            1  2


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com