Re: [CentOS-virt] Add new drive to Windows domu
TAIRA Hajime wrote: I made same environment and I attached 2 drives to HVM domain. It worked fine. If you use new drive on Windows. You should be write disk signature by Windows. Have you already wrote it? Working here now too - rebooted the server and drives are added or removed when the Windows VM starts. Thanks Stephen ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Add new drive to Windows domu
I made same environment and I attached 2 drives to HVM domain. It worked fine. If you use new drive on Windows. You should be write disk signature by Windows. Have you already wrote it? Best regards. TAIRA Hajime <[EMAIL PROTECTED]>, web: http://pantora.net/ CentOS WikiName: HajimeTaira On 2008/05/30, at 6:00, Stephen wrote: TAIRA Hajime wrote: How did you reboot your windows server domain? If you rebooted by Windows operation, You had to be a restart by cold boot. Please check "xm log" command after turn on the domain. You will be able to check failure log. Thanks TAIRA for responding.. I'm getting this in the xend log - starting from a cold boot... [2008-05-30 08:44:46 xend 4950] DEBUG (blkif:24) exception looking up device number for hdc: [Errno 2] No such file or directory: '/dev/ hdc' I tried changing the device to /dev/hdb and still got the same thing. Do you know how to fix it? xend.log showing the boot below: [2008-05-30 08:55:14 xend.XendDomainInfo 4950] DEBUG (XendDomainInfo: 200) XendDomainInfo.create(['vm', ['name', 'win2k3docsvr'], ['memory', 500], ['maxmem', 500], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['uuid', '70e520e8e3e5931b92ce46d83ba9557d'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/ lib64/xen/bin/qemu-dm'], ['pae', 1], ['vcpus', 1], ['boot', 'c'], ['serial', 'pty'], ['vnc', 1], ['vncdisplay', '0'], ['xauthority', '/ root/.Xauthority'], ['acpi', 1], ['apic', 1], ['keymap', 'en-us']]], ['device', ['vbd', ['uname', 'phy:/dev/vgdata4vm/lvw2k3docsvr'], ['dev', 'hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/ dev/vgdata4vm/lvwin2k3homes'], ['dev', 'hdb'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['mac', '00:16:3e: 18:c9:42'], ['type', 'ioemu'], ['script', 'vif-bridge') [2008-05-30 08:55:14 xend.XendDomainInfo 4950] DEBUG (XendDomainInfo: 306) parseConfig: config is ['vm', ['name', 'win2k3docsvr'], ['memory', 500], ['maxmem', 500], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['uuid', '70e520e8e3e5931b92ce46d83ba9557d'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/ lib64/xen/bin/qemu-dm'], ['pae', 1], ['vcpus', 1], ['boot', 'c'], ['serial', 'pty'], ['vnc', 1], ['vncdisplay', '0'], ['xauthority', '/ root/.Xauthority'], ['acpi', 1], ['apic', 1], ['keymap', 'en-us']]], ['device', ['vbd', ['uname', 'phy:/dev/vgdata4vm/lvw2k3docsvr'], ['dev', 'hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/ dev/vgdata4vm/lvwin2k3homes'], ['dev', 'hdb'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['mac', '00:16:3e: 18:c9:42'], ['type', 'ioemu'], ['script', 'vif-bridge' [2008-05-30 08:55:14 xend.XendDomainInfo 4950] DEBUG (XendDomainInfo: 411) parseConfig: result is {'shadow_memory': None, 'start_time': None, 'uuid': '70e520e8-e3e5-931b-92ce-46d83ba9557d', 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['pae', 1], ['vcpus', 1], ['boot', 'c'], ['serial', 'pty'], ['vnc', 1], ['vncdisplay', '0'], ['xauthority', '/root/.Xauthority'], ['acpi', 1], ['apic', 1], ['keymap', 'en-us']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': 'win2k3docsvr', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 500, 'device': [('vbd', ['vbd', ['uname', 'phy:/dev/ vgdata4vm/lvw2k3docsvr'], ['dev', 'hda'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'phy:/dev/vgdata4vm/lvwin2k3homes'], ['dev', 'hdb'], ['mode', 'w']]), ('vif', ['vif', ['bridge', 'xenbr0'], ['mac', '00:16:3e:18:c9:42'], ['type', 'ioemu'], ['script', 'vif- bridge']])], 'bootloader': None, 'cpu': None, 'maxmem': 500} [2008-05-30 08:55:14 xend.XendDomainInfo 4950] DEBUG (XendDomainInfo: 1349) XendDomainInfo.construct: None [2008-05-30 08:55:14 xend 4950] DEBUG (balloon:127) Balloon: 526648 KiB free; need 2048; done. [2008-05-30 08:55:14 xend.XendDomainInfo 4950] DEBUG (XendDomainInfo: 1397) XendDomainInfo.initDomain: 23 1.0 [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: boot, val: c [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: fda, val: None [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: fdb, val: None [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: soundhw, val: None [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: localtime, val: None [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: serial, val: pty [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: std-vga, val: None [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: isa, val: None [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: vcpus, val: 1 [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: acpi, val: 1 [
Re: [CentOS-virt] Add new drive to Windows domu
TAIRA Hajime wrote: How did you reboot your windows server domain? If you rebooted by Windows operation, You had to be a restart by cold boot. Please check "xm log" command after turn on the domain. You will be able to check failure log. Thanks TAIRA for responding.. I'm getting this in the xend log - starting from a cold boot... [2008-05-30 08:44:46 xend 4950] DEBUG (blkif:24) exception looking up device number for hdc: [Errno 2] No such file or directory: '/dev/hdc' I tried changing the device to /dev/hdb and still got the same thing. Do you know how to fix it? xend.log showing the boot below: [2008-05-30 08:55:14 xend.XendDomainInfo 4950] DEBUG (XendDomainInfo:200) XendDomainInfo.create(['vm', ['name', 'win2k3docsvr'], ['memory', 500], ['maxmem', 500], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['uuid', '70e520e8e3e5931b92ce46d83ba9557d'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['pae', 1], ['vcpus', 1], ['boot', 'c'], ['serial', 'pty'], ['vnc', 1], ['vncdisplay', '0'], ['xauthority', '/root/.Xauthority'], ['acpi', 1], ['apic', 1], ['keymap', 'en-us']]], ['device', ['vbd', ['uname', 'phy:/dev/vgdata4vm/lvw2k3docsvr'], ['dev', 'hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/vgdata4vm/lvwin2k3homes'], ['dev', 'hdb'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['mac', '00:16:3e:18:c9:42'], ['type', 'ioemu'], ['script', 'vif-bridge') [2008-05-30 08:55:14 xend.XendDomainInfo 4950] DEBUG (XendDomainInfo:306) parseConfig: config is ['vm', ['name', 'win2k3docsvr'], ['memory', 500], ['maxmem', 500], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['uuid', '70e520e8e3e5931b92ce46d83ba9557d'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['pae', 1], ['vcpus', 1], ['boot', 'c'], ['serial', 'pty'], ['vnc', 1], ['vncdisplay', '0'], ['xauthority', '/root/.Xauthority'], ['acpi', 1], ['apic', 1], ['keymap', 'en-us']]], ['device', ['vbd', ['uname', 'phy:/dev/vgdata4vm/lvw2k3docsvr'], ['dev', 'hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/vgdata4vm/lvwin2k3homes'], ['dev', 'hdb'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['mac', '00:16:3e:18:c9:42'], ['type', 'ioemu'], ['script', 'vif-bridge' [2008-05-30 08:55:14 xend.XendDomainInfo 4950] DEBUG (XendDomainInfo:411) parseConfig: result is {'shadow_memory': None, 'start_time': None, 'uuid': '70e520e8-e3e5-931b-92ce-46d83ba9557d', 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['pae', 1], ['vcpus', 1], ['boot', 'c'], ['serial', 'pty'], ['vnc', 1], ['vncdisplay', '0'], ['xauthority', '/root/.Xauthority'], ['acpi', 1], ['apic', 1], ['keymap', 'en-us']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': 'win2k3docsvr', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 500, 'device': [('vbd', ['vbd', ['uname', 'phy:/dev/vgdata4vm/lvw2k3docsvr'], ['dev', 'hda'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'phy:/dev/vgdata4vm/lvwin2k3homes'], ['dev', 'hdb'], ['mode', 'w']]), ('vif', ['vif', ['bridge', 'xenbr0'], ['mac', '00:16:3e:18:c9:42'], ['type', 'ioemu'], ['script', 'vif-bridge']])], 'bootloader': None, 'cpu': None, 'maxmem': 500} [2008-05-30 08:55:14 xend.XendDomainInfo 4950] DEBUG (XendDomainInfo:1349) XendDomainInfo.construct: None [2008-05-30 08:55:14 xend 4950] DEBUG (balloon:127) Balloon: 526648 KiB free; need 2048; done. [2008-05-30 08:55:14 xend.XendDomainInfo 4950] DEBUG (XendDomainInfo:1397) XendDomainInfo.initDomain: 23 1.0 [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: boot, val: c [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: fda, val: None [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: fdb, val: None [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: soundhw, val: None [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: localtime, val: None [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: serial, val: pty [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: std-vga, val: None [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: isa, val: None [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: vcpus, val: 1 [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: acpi, val: 1 [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: usb, val: None [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: usbdevice, val: None [2008-05-30 08:55:14 xend 4950] DEBUG (image:315) args: k, val: en-us [2008-05-30 08:55:14 xend.XendDomainInfo 4950] DEBUG (XendDomainInfo:1436) _initDomain:shadow_memory=0x0, maxmem=0x1f4, memory=0x1f4. [2008-05-30 08:55:14 xend 4950] DEBUG (bal
Re: [CentOS-virt] Add new drive to Windows domu
How did you reboot your windows server domain? If you rebooted by Windows operation, You had to be a restart by cold boot. Please check "xm log" command after turn on the domain. You will be able to check failure log. Best regards. TAIRA Hajime <[EMAIL PROTECTED]>, web: http://pantora.net/ CentOS WikiName: HajimeTaira On 2008/05/27, at 11:29, Stephen wrote: Hi everyone, I'm wondering how one adds a new drive to a Windows domu... I'm running Centos 5.1 x86_64 on a Xeon server and have a Windows 2003 R2 64 bit domu. The Windows system was installed from a CD onto this server so it is a brand new VM. All working fine. So then I wish to add another drive to the Windows domu for a data drive. I added the drive to the Xen configuration, but it doesn't turn up in Windows. When I reboot and go into the Windows server control panel/system/hardware, there is still only one drive there, a QEMU drive. Here is the configuration I have... [EMAIL PROTECTED] xen]# cat win2k3svr64 name = "win2k3svr64" uuid = "70e520e8e3e5931b92ce46d83ba9557d" maxmem = 500 memory = 500 vcpus = 1 builder = "hvm" kernel = "/usr/lib/xen/boot/hvmloader" boot = "c" pae = 1 acpi = 1 apic = 1 on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" device_model = "/usr/lib64/xen/bin/qemu-dm" sdl = 0 vnc = 1 vncunused = 0 keymap = "en-us" vncdisplay = "0" disk = [ 'phy:/dev/vgdata4vm/lvw2k3docsvr,hda,w', 'phy:/dev/vgdata4vm/lvwin2k3homes,hdc,w' ] vif = [ "mac=00:16:3e:18:c9:42,bridge=xenbr0,type=ioemu,script=vif- bridge" ] serial = "pty" Thank you Stephen ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
[CentOS-virt] Add new drive to Windows domu
Hi everyone, I'm wondering how one adds a new drive to a Windows domu... I'm running Centos 5.1 x86_64 on a Xeon server and have a Windows 2003 R2 64 bit domu. The Windows system was installed from a CD onto this server so it is a brand new VM. All working fine. So then I wish to add another drive to the Windows domu for a data drive. I added the drive to the Xen configuration, but it doesn't turn up in Windows. When I reboot and go into the Windows server control panel/system/hardware, there is still only one drive there, a QEMU drive. Here is the configuration I have... [EMAIL PROTECTED] xen]# cat win2k3svr64 name = "win2k3svr64" uuid = "70e520e8e3e5931b92ce46d83ba9557d" maxmem = 500 memory = 500 vcpus = 1 builder = "hvm" kernel = "/usr/lib/xen/boot/hvmloader" boot = "c" pae = 1 acpi = 1 apic = 1 on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" device_model = "/usr/lib64/xen/bin/qemu-dm" sdl = 0 vnc = 1 vncunused = 0 keymap = "en-us" vncdisplay = "0" disk = [ 'phy:/dev/vgdata4vm/lvw2k3docsvr,hda,w', 'phy:/dev/vgdata4vm/lvwin2k3homes,hdc,w' ] vif = [ "mac=00:16:3e:18:c9:42,bridge=xenbr0,type=ioemu,script=vif-bridge" ] serial = "pty" Thank you Stephen ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt