VMware Cloud Community
Davek0974
Contributor
Contributor
Jump to solution

Vdisk adjusting...

Hi all

Is it possible to adjust the size of a vm's hard disk image, say I have a 2008r2 vm with a 500gb disk and I want to increase it, can it be done safely or is that not how to do it?

Also, is it possible to reduce it if most of it is unused?

Thanks

Dave

Reply
0 Kudos
1 Solution

Accepted Solutions
MagnetBoy
Enthusiast
Enthusiast
Jump to solution

Increase it:

  1. Using vSphere Client increase the size of your vmdk.
  2. login to the guest OS
    1. DO NOT USE THE GUI frmo Computer management
    2. run cmd as administrator
    3. type diskpart
    4. type rescan
    5. type list volume
    6. type select volume ?
    7. extend
    8. done!

Reduce:

  1. Use Converter.

:smileyplain:

VMware Certified Professional – Datacenter Virtualization (vSphere 5)

View solution in original post

Reply
0 Kudos
4 Replies
Troy_Clavell
Immortal
Immortal
Jump to solution

increasing is very easy (assuming your guest has no snapshots and the LUN has enough free space).  You can use the vSphere Client to change the provisioned size of the disk.  From there in 2K8R2, go to disk manager and extend the volume.

Reducing is best done using VMware Converter

Reply
0 Kudos
weinstein5
Immortal
Immortal
Jump to solution

Yes it is possible - earlier versions of Windows the system drive could not dynamically expanded so there are some tricks that can be done as well as software that allowed for exoanding the partition -

Decreasing a disk is trickier because you can run into issues of corrupting the parititon - the best way to do this is use VMware converter and resize the disk smaller -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Davek0974
Contributor
Contributor
Jump to solution

Of course!, I had forgotten about moving the partition boundary, new to all this in a virtual world Smiley Happy I have had good success increasing disks and some very bad results in decreasing them Smiley Wink In the physical world so I guess it's the same then.

Can I V2V with the converter without using vcentre??

Dave

Reply
0 Kudos
MagnetBoy
Enthusiast
Enthusiast
Jump to solution

Increase it:

  1. Using vSphere Client increase the size of your vmdk.
  2. login to the guest OS
    1. DO NOT USE THE GUI frmo Computer management
    2. run cmd as administrator
    3. type diskpart
    4. type rescan
    5. type list volume
    6. type select volume ?
    7. extend
    8. done!

Reduce:

  1. Use Converter.

:smileyplain:

VMware Certified Professional – Datacenter Virtualization (vSphere 5)
Reply
0 Kudos