WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] i get an error in installing xen domain-U(full virtual)

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] i get an error in installing xen domain-U(full virtual)
From: ch huang <justlooks@xxxxxxxxx>
Date: Tue, 20 Oct 2009 10:38:04 +0800
Delivery-date: Mon, 19 Oct 2009 19:38:56 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=12KEadjFyWMIA//7R4V2tmcu+KlDPGFIkeHr2X0Tn1U=; b=OnyJRXxneT3mxKQbCMHtaao0nAwnyfHf9/CTgR6P5tC5ENZEs/Wl/EoWXWfNr3jci/ gAOxJBM3+gRNjQikeW6yCm3trYrdFEJG6ywdMQgUKqpDD3MgAeSY1Dbkm5yz/HkaRwWD p3hkM10b0G2z2BNJqBVM9+/Sqfp2k8u4xb+No=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=t3N2ERD9zNoNasvH7tlLHnr8HQNRlEqFPLPLGnMMPSYFAaYPU0k7/F+EXXB1anb8Fc 2pju7P1BDGZf+T+V4eJxWFYYKJjpK/tVRXoNG2+sENimTJHCyla2FvZlPc0d9IfBMdYM ixUqAtSjsd05BimKta0A4k6Dz+6A1LrX/r/pE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
hi folks,
i get an error in installing xen guest (full virtual),if i add -p option ,everything is work fine!
 virt-install -n SN44_Test_Test1 -r 8192 --vcpus=16 -f /dev/vg01/rootnode1 -f /dev/vg01/swapnode1 -f /dev/vg01/datanode1 -m 00:16:3e:61:63:51 -b xenbr0 --nographics --accelerate --os-type=linux -l http://172.16.2.45/64/5.3 -x "noipv6 device=eth0 ip=172.16.20.44 netmask=255.255.0.0  ks=http://172.16.1.111/myinstall/new/newd1.ks.cfg"


Starting install...
Retrieving file .treeinfo...                             |  417 B     00:00    
Retrieving file .treeinfo...                             |  417 B     00:00    
Retrieving file .treeinfo...                             |  417 B     00:00    
Retrieving file .treeinfo...                             |  417 B     00:00    
Retrieving file .treeinfo...                             |  417 B     00:00    
Retrieving file .treeinfo...                             |  417 B     00:00    
Retrieving file boot.iso...                              | 8.7 MB     00:00    
Creating domain...                                       |    0 B     00:11    
libvir: Remote error : No such file or directory
libvir: warning : Failed to find the network: Is the daemon running ?

and here is the log output, and it seems that xen can not find disk dev ,but i do not know why?:

[2009-10-20 10:29:52 xend.XendDomainInfo 29920] DEBUG (XendDomainInfo:417) parseConfig: result is {'shadow_memory': None, 'start_time': None, 'uuid': '019338c1-6479-17cc-4e5d-9c
48ce82bc34', 'on_crash': 'destroy', 'on_reboot': 'destroy', 'localtime': None, 'image': ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib64/xen/bin/q
emu-dm'], ['vcpus', '16'], ['boot', 'd'], ['acpi', '1'], ['apic', '1'], ['pae', '1'], ['usb', '1'], ['serial', 'pty']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus'
: None, 'name': 'SN44_Test_Test1', 'backend': [], 'vcpus': 16, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 8192, 'device': [('vbd', ['vbd', ['dev', 'hda:
disk'], ['uname', 'phy:/dev/vg01/rootnode1'], ['mode', 'w']]), ('vbd', ['vbd', ['dev', 'hdb:disk'], ['uname', 'phy:/dev/vg01/swapnode1'], ['mode', 'w']]), ('vbd', ['vbd', ['dev'
, 'hdd:disk'], ['uname', 'phy:/dev/vg01/datanode1'], ['mode', 'w']]), ('vbd', ['vbd', ['dev', 'hdc:cdrom'], ['uname', 'file:/var/lib/xen/virtinst-boot.iso.rXVSHF'], ['mode', 'r'
]]), ('vif', ['vif', ['mac', '00:16:3e:61:63:51'], ['bridge', 'xenbr0']])], 'bootloader': None, 'cpu': None, 'maxmem': 8192}

[2009-10-20 10:30:03 xend 29920] DEBUG (blkif:27) exception looking up device number for hda: [Errno 2] No such file or directory: '/dev/hda'
[2009-10-20 10:30:03 xend 29920] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/
local/domain/0/backend/vbd/2/768'} to /local/domain/2/device/vbd/768.
[2009-10-20 10:30:03 xend 29920] DEBUG (DevController:112) DevController: writing {'domain': 'SN44_Test_Test1', 'frontend': '/local/domain/2/device/vbd/768', 'format': 'raw', 'd
ev': 'hda', 'state': '1', 'params': '/dev/vg01/rootnode1', 'mode': 'w', 'online': '1', 'frontend-id': '2', 'type': 'phy'} to /local/domain/0/backend/vbd/2/768.
[2009-10-20 10:30:03 xend 29920] DEBUG (blkif:27) exception looking up device number for hdb: [Errno 2] No such file or directory: '/dev/hdb'
[2009-10-20 10:30:03 xend 29920] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '832', 'device-type': 'disk', 'state': '1', 'backend': '/
local/domain/0/backend/vbd/2/832'} to /local/domain/2/device/vbd/832.
[2009-10-20 10:30:03 xend 29920] DEBUG (DevController:112) DevController: writing {'domain': 'SN44_Test_Test1', 'frontend': '/local/domain/2/device/vbd/832', 'format': 'raw', 'd
ev': 'hdb', 'state': '1', 'params': '/dev/vg01/swapnode1', 'mode': 'w', 'online': '1', 'frontend-id': '2', 'type': 'phy'} to /local/domain/0/backend/vbd/2/832.
[2009-10-20 10:30:03 xend 29920] DEBUG (blkif:27) exception looking up device number for hdd: [Errno 2] No such file or directory: '/dev/hdd'
[2009-10-20 10:30:03 xend 29920] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '5696', 'device-type': 'disk', 'state': '1', 'backend': '
/local/domain/0/backend/vbd/2/5696'} to /local/domain/2/device/vbd/5696.
[2009-10-20 10:30:03 xend 29920] DEBUG (DevController:112) DevController: writing {'domain': 'SN44_Test_Test1', 'frontend': '/local/domain/2/device/vbd/5696', 'format': 'raw', '
dev': 'hdd', 'state': '1', 'params': '/dev/vg01/datanode1', 'mode': 'w', 'online': '1', 'frontend-id': '2', 'type': 'phy'} to /local/domain/0/backend/vbd/2/5696.
[2009-10-20 10:30:03 xend 29920] DEBUG (blkif:27) exception looking up device number for hdc: [Errno 2] No such file or directory: '/dev/hdc'
[2009-10-20 10:30:03 xend 29920] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '5632', 'device-type': 'cdrom', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/2/5632'} to /local/domain/2/device/vbd/5632.
[2009-10-20 10:30:03 xend 29920] DEBUG (DevController:112) DevController: writing {'domain': 'SN44_Test_Test1', 'frontend': '/local/domain/2/device/vbd/5632', 'format': 'raw', '
dev': 'hdc', 'state': '1', 'params': '/var/lib/xen/virtinst-boot.iso.rXVSHF', 'mode': 'r', 'online': '1', 'frontend-id': '2', 'type': 'file'} to /local/domain/0/backend/vbd/2/56
32.
[2009-10-20 10:30:03 xend 29920] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:61:63:51', 'handle': '0', 'state': '1', 'backend': '/local
/domain/0/backend/vif/2/0'} to /local/domain/2/device/vif/0.

and here is my LV
# lvscan
 ACTIVE            '/dev/vg01/rootnode1' [5.00 GB] inherit
  ACTIVE            '/dev/vg01/swapnode1' [5.00 GB] inherit
  ACTIVE            '/dev/vg01/datanode1' [50.00 GB] inherit

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] i get an error in installing xen domain-U(full virtual), ch huang <=