Link to home
Start Free TrialLog in
Avatar of Nishant
Nishant

asked on

decrease hard disk size on a virtual machine

I am not able to decrease the hard disk size on a virual machine, its currently set to 675 gb and when i try to change it from machine settings, i am not able to do it. Its a secondary drive (Non OS) with some really important data on it. The actual size of the virtual drive is 300 Gb and i see the remaining as unallocated space. Whats the best way to do it? Please help.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Only one way? How about adding a virtual disk of the desired size, copy the data to it, then delete the no-longer-used-too-big virtual disk. This only works when there's space available for the swing disk, but it's more straightforward than bringing in converter.
@jmcg
only one supported method to shrink

supported!!!!

You could use clonezilla, ghost, symantec backup, but if a Domain Controller, Exchange Server, get's a bit more difficult, many different ways!

you could do it this way, in 15 minutes, but it's not supported....

HOW TO: Shrink a VMware Virtual Machine Disk (VMDK) in 15 minutes
Avatar of Nishant
Nishant

ASKER

Andrew, i am following your instructions to decrease the size of the hard drive 2, there is one step that says "Migrate or Copy the virtual machine to another datastore". After i save the file, do i need to move the vm to a different datastore, unfortunately, i just have a single datastore.

Please suggest.
Andrew, i am following your instructions to decrease the size of the hard drive 2, there is one step that says "Migrate or Copy the virtual machine to another datastore". After i save the file, do i need to move the vm to a different datastore, unfortunately, i just have a single datastore.

Please suggest.

If you are following, my 15 minute article, yes you need to move it to another datastore. If you have a single datastore, the pointers will not be re-written.

Let me check, if you can do it another way.
You can make clone under different name
Avatar of Nishant

ASKER

Thanks for your help Andrew.