Hi again,
I also tested the brctl bridges on the host domain. The output of brctl
is shown below too. I tried adding a new bridge and configuring guest
domain to use it, but with no success. I also tried to turn the STP on
and off for xenbr0, and tested each case with xm create with no success
either.
-bash-3.00# brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.feffffffffff no vif0.0
peth0
Any input is appreciated,
Lamia Youseff
------------------
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
--
..........................................................
: Lamia M.Youseff : lyouseff@xxxxxxxxxxx :
: Ph.D Candidate : www.cs.ucsb.edu/~lyouseff :
: University of California,: :
: Santa Barbara (UCSB) : :
:........................................................:
: :
: "There are no impossible dreams; there is just our :
: limited perception of what is possible" :
*:-.,_,.-:*'``'*:-.,_,.-:*'``'*:-.,_,.-:*'``'*:-.,_,.-:*'*
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|