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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

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
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.