Friday, 18 November 2011

Shrinking a windows volume in VMWare ESX

I searched and found some disruptive and complicated ideas on doing this.  Most involved using VMWare converter offline but some suggested using robocopy etc.

The problem is I didn't want to have to reboot or disrupt services but I needed to shrink the SCCM DP volume so I could move it to smaller, faster disk.

So, I figured out another way:

  1. In the storage MMC
    1. Defrag the disk - you can't shrink past existing fragments
    2. Shrink the volume
  2. In VM settings, make a new volume the size of the now shrunk volume
  3. In the storage MMC
    1. Make a mirror
    2. Wait for it to sync
    3. Delete the old volume from the mirror
  4. In the VM settings, delete the old volume

No comments:

Post a Comment