adding 1tb harddrive to win server 2008 r2 vm

schmodd

New Member
Jan 21, 2011
2
0
1
hi there,

i read a lot yesterday but i still do not know exactly whats the best way to add the second drive to my win server 2008 r2 vm.

the harddisk is completly empty and ext3 formatted atm.

i ONLY want the drive to store data for my winserver vm.

thx.
 
Just use the whole physical disk for the guest? you do not need to format it on the host, just do this inside windows.

Assuming your disk is /dev/sdb (check this first!) just add the following line to your VMID.conf file (see /etc/qemu-server/...).

Code:
ide3: /dev/sdb
make sure that you got no double entry for ide3 (you can use ide0, ide1, ide2 and ide3).
(or virtio0, virtio1, .... virtio15)

you can also create partitions on sdb with fdisk (fdisk /dev/sdb) and then you can assign these partitions. (e.g. ide3: /dev/sdb1)