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
|