Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I accidentally extended a virtual disk size from 2TB to 21TB (due to entering 2.1TB on a different regional setting). Now apparently I cannot shrink the virtual disk afterwards (Not Supported)?! Can this really be true?

Is there no way to do this besides deleting the volume and creating it again, that seems complete ridiculous.

For full error see below:

PS C:\Windows\system32> Resize-VirtualDisk Work -Size 2TB
Resize-VirtualDisk : Not Supported
At line:1 char:1
+ Resize-VirtualDisk Work -Size 2TB
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (StorageWMI:ROOT/Microsoft/...SFT_VirtualDisk) [Resize-VirtualDisk], CimException
    + FullyQualifiedErrorId : StorageWMI 1,Resize-VirtualDisk
share|improve this question

1 Answer 1

As we all know, one of the new features in Windows Server 2012 is the ability to shrink a virtual hard disk. You need to free up space inside the virtual hard disk first – but then you can shrink the drive using a simple wizard. This means that the process of shrinking an existing virtual machine now looks like this:

  1. Login to the virtual machine using an administrative account
  2. Open Server Manager and select the Disk Management node under the Storage node.
  3. Right click on the partition that you want to shrink and select Shrink
  4. Select how much you want to shrink the partition by
  5. Once this is complete, shutdown the virtual machine.
  6. Open the virtual machine settings under Hyper-V and select the virtual hard disk that you want to shrink.
  7. Click on the Edit button.
  8. This will open the Edit Virtual Hard Disk Wizard where you can now select to Shrink the virtual hard disk.
  9. Now hit Finish

Once this process is complete your can boot the virtual machine and start using the smaller virtual hard disks.

Free Partition Assistant Edition developed by AOMEI Tech offers u a greater help,and u will get benefit from it.

share|improve this answer
    
Hi, well since this has nothing to do with a virtual machine, it does not really apply to the question as I see it. –  harrydev Aug 22 '13 at 7:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.