- Published: Thursday, 10 September 2009 19:30
- Hits: 1604
This article describes how to use Windows Server 2008 and Windows Vista to resize a XenServer Windows VM vDisk (VDI).
IMPORTANT: Export a copy of the virtual machine (VM) vDisk you need to resize as a backup!
1. Identify the VM vDisk (VDI) that you need to resize. The best way to do this is to boot the VM in question.
2. Select the storage node from the VM in question.
3. Select the storage node from the storage repository (SR) in question and see if you see the corresponding VDI in question.
4. Go back to the VM and select the Storage node and edit the VDI.
5. Change the size of the VDI and enter a description so you can properly identify the VDI you are adjusting.
6. Detach the VDI.
7. Go to the Windows Server 2008 / Vista VM and attach the VDI.
8. Launch the Disk Management Utility in Windows Server 2008 and/or Windows Vista.
9. If you do not see the disk, select Rescan Disks. You should see the VDI with the new available space to add.
10. Right click and select Extend Volume.
Note: Verify the selected space does not exceed the maximum available.
11. Detach the VDI from Windows 2008/Vista VM.
12. Re-attach the VDI to the original Windows VM.
13. Restart the VM to make sure the drive has been properly resized. The Windows operating system might ask you to reboot because new devices have been installed.