Shrink Volume in Windows

In windows Disk Management there is an option to shrink volume.
I wonder in the case I have C:drive total size 100GB and 60 GB of free space.  if I need to create a new partition D with 30GB of space, and choose to shrink C: drive, would I loose any data ?

Another case, is if Windows machine is a VM, can I just do that through Vspher Client only, or both from Vsphere client as well as from disk management of windows?

Thank you
jskfanAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Correct.

Changing disk size is always two parts OS partition size and virtual disk size.

Both can be done at the same time using VMware Convertor.
0
 
AbhilashBloggerCommented:
Use this free tool to do it.
http://www.partition-tool.com/resource/resize-os-partition.htm

Do keep a backup copy as its the OS disk so that if something goes wrong you can always bring it back on.

You can also use the Disk management but this offers some extra features.
Whatever you do, Keep a copy of the VMDK or whole VM if possible.
0
 
Subhashish LahaCommented:
No, you will not loose any data by shrinking the disk from Windows Disk management. But its safer to keep backups.

In case of Windows VM, you are shrinking the Partition size to create new partition and Disk size is same. You will have to do it through Windows Disk management. vSphere client will not reduce the VMDK size(Disk size) nor the partition size.
 
To reduce VMDK size(Disk size), refer below link
http://www.whitneytechnologies.com/?p=270
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You cannot shrink a virtual disk from vSphere Client. You can increase a virtual disk but not shrink.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
See my EE article step by step with screenshots

HOW TO: Shrink a VMware Virtual Machine Disk (VMDK) in 15 minutes
0
 
jskfanAuthor Commented:
SO what I retain is :

I can shrink the volume through Disk Management.

Vsphere can increase the size of the disk but cannot shrink it
0
 
AbhilashBloggerCommented:
If its tweaking/resizing of space inside the OS go with the Disk management method.
If you want to retain space on the datastore then you can think of shrinking the VMDK, The VMDk shrinking is a tedious task.
0
 
noxchoGlobal Support CoordinatorCommented:
If your C: volume is using 60GB space and you plan to shrink it so that you take 30GB space off it then it is a bad idea. Simply increase your virtual drive and create new partition of this new space. Leave C: as is.
0
 
Gerald ConnollyCommented:
Just dont forget to do a full backup first.

You always need to make a full backup before doing anything with your storage setup. If everything goes OK then its effectively wasted time, but if it doesnt go well then its a life-saver
0
 
jskfanAuthor Commented:
Thank you Guys!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.