Expand vm raw disk in Proxmox 1.8

Is like you would have copied byte by byte on a bigger physical hard disk. Of course your partition table is the same and so is the filesystem in it.
In short you have to expand the partition and accomodate the filesystem inside it.
I suggest you to download systemrescuecd iso in proxmox /var/lib/vz/template/iso, set your vm to boot from that iso and with gparted expand the partition.
Of course, before start the whole process a backup is highly recomended. If you read the manual as suggested by dietmar, you will read the same suggestions, more or less :)
 
Hi,

with Win 2008 and Win2008 r2 it's possible to expand partitions by disk manager only if empty space is after partition that must be expanded.
So I mixed this guides:

1) http://www.scribd.com/doc/39059599/...-Partitions-Using-Qemu-0-13-and-Linux-Gparted
2) http://www.petri.co.il/extend-disk-partition-vista-windows-server-2008.htm

red-earth:/var/lib/vz/images# cd 101
red-earth:/var/lib/vz/images/101# ls
vm-101-disk-1.raw vm-101-disk-2.raw
red-earth:/var/lib/vz/images/101# ls -l
total 22910392
-rw-r--r-- 1 root root 16106127360 Jul 13 21:45 vm-101-disk-1.raw
-rw-r--r-- 1 root root 10737418240 Jul 13 21:45 vm-101-disk-2.raw
red-earth:/var/lib/vz/images/101# qemu-img resize vm-101-disk-1.raw +5G
Image resized.
red-earth:/var/lib/vz/images/101# qemu-img resize vm-101-disk-2.raw +5G
Image resized.
red-earth:/var/lib/vz/images/101# qm status 101
stopped
red-earth:/var/lib/vz/images/101# qm start 101
red-earth:/var/lib/vz/images/101#