[CentOS-virt] Add new drive to Windows domu

Tue May 27 02:29:46 UTC 2008
Stephen <sdw2 at shineonline.co.nz>

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...

[root at svr5 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