[For the german/original version - please click here.]
After having done a p2v-migration you sometimes have a vm with a huge harddisk and want to resize it. Unfortunately shrinking of xenserver-vm harddisks is not supported by Citrix [1]. But with the following workaround you can help yourself very easily.
- add a harddisk with target-size to your vm
- boot your vm from the gparted-live-iso [2]
- copy and resize the source-partition to the target harddisk
- mark the target-harddisk as active

This works with most virtualization products…
[1] http://support.citrix.com/article/ctx116114
[2] http://gparted.sourceforge.net/livecd.php
PS: For resizing vhd-files there is the following tool.
http://vmtoolkit.com/files/folders/converters/entry87.aspx
