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

[Xen-users] How to kown the DomU is up


  • To: Pasi Kärkkäinen <pasik@xxxxxx>, Xen Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: lei yang <yanglei.fage@xxxxxxxxx>
  • Date: Sat, 15 May 2010 00:48:34 +0800
  • Cc:
  • Delivery-date: Fri, 14 May 2010 09:49:58 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xWHAKosxCs+BLAcepqkN8PzvroQHKIW2A+HTiCNsaNgCA50onK7H7uuwfpPcnFcYIz 2M1OAGyF9f8+c26Wgv+aYwn4A6p9QB7jrlLSv/HuMFYI88bmjr13l7pK+RuQHXyCY9iG 951e+0YASceQzQSUKqtcFERxnba0BLQkSxAzA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi experts,
 
First I post my log
 

root@intel_5500_server:/> ifconfig
eth0      Link encap:Ethernet  HWaddr 00:15:17:BB:5E:88
          inet addr:128.224.165.205  Bcast:128.224.165.255  Mask:255.255.255.0
          inet6 addr: fe80::215:17ff:febb:5e88/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2375 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1247 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:175314 (171.2 KiB)  TX bytes:120518 (117.6 KiB)
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
peth0     Link encap:Ethernet  HWaddr 00:15:17:BB:5E:88
          inet6 addr: fe80::215:17ff:febb:5e88/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5075 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1426 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:3443173 (3.2 MiB)  TX bytes:138468 (135.2 KiB)
          Memory:b1960000-b1980000
root@intel_5500_server:/> xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0 12737     8     r-----     26.7
xx.cfg                                       3   128     2     -b----      2.7
root@intel_5500_server:/>
 
does it mean the domU boot up?
 
2. one anther question is, which kernel module is for /dev/xvda
 
 
3.my domU cfg file is
root@intel_5500_server:/> cat xx.cfg
disk = ['phy:/dev/sda,xvda,w' ]
kernel = "/vmlinuz-2.6.31.13"
vcpus=2
extra = "3 selinux=0 enforcing=0"
root = "/dev/xvda1 ro"
 
 
and my dom0 root=/dev/sda1 and my disk just has one sda1 partition. can I use /dev/xvda1 for domU, I'm not sure what's the relations between /dev/sda1 and /dev/xvda1
 
4. I create the device by
mknod /dev/xvda b 202 0
mknod /dev/xvda1 b 202 1
when I mount -t ext3 /dev/xvda /
 

root@intel_5500_server:/> mount -t ext3 /dev/xvda /
mount: /dev/xvda is not a valid block device
does it mean my xvda device driver is not loaded
 
 
 
 
Thanks
Lei
 

--
"We learn from failure, not from success!"
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.