VMware Cloud Community
Stjernebacon
Contributor
Contributor

Change disk usage on converted machine

Hi,

My scenario is that I've converted an old file server with no changes made in the converting process. Since this is an old file server it has got a quite large data partition, around 700GB. This server is now being used for some smaller applications.
Therefore I would like to shrink it's disk usage to a minimum.
The server has got a C: partition with a capacity of 20GB and a 😧 partition of 700GB.
Is it possible to release the 700GB to the SAN and perhaps add 10GB or so to the C: partition?
Perhaps an alternative would be to, in a way, convert the disk to thin provisioning?
If anyone can give me a little explaination or direct me to a good guide for doing so, I'd appriciate it.
Thanks in advance!
0 Kudos
4 Replies
a_p_
Leadership
Leadership

IMO the easiest way to achieve your goal is to convert V2V the VM again. Running a volume based conversion, you can configure the target partition sizes or - if you prefer - configure the VM to have 2 separate virtual disks.

André

0 Kudos
VirtuallyMikeB

Good day,

A V2V is definitely an option.  You can resize .vmdks and thin provision at the same time.  I'm not quite sure I understand what you mean by "releasing the 700GB to the SAN."  I can address, however, your thin provisioning question.

If you already have a thick provisioned VM, you can convert it to thin provisioning by performing a Storage vMotion.  Normally, I'm not hesitant to svMotion VMs, but I am careful not to move around the large ones too often.  I'm just worried about the svMotion failing, then having to recover.  Plus, large VMs can take hours to svMotion.  Then again, a V2V of large VMs can take just as long.

Of course, if you want to expand the size of your OS .vmdk, you can do so by editing the hard disk size in the VM's settings.  You'll then need to expand the hard disk within the guest OS itself.

Cheers,

Mike

http://VirtuallyMikeBrown.com

https://twitter.com/#!/VirtuallyMikeB

http://LinkedIn.com/in/michaelbbrown

----------------------------------------- Please consider marking this answer "correct" or "helpful" if you found it useful (you'll get points too). Mike Brown VMware, Cisco Data Center, and NetApp dude Sr. Systems Engineer michael.b.brown3@gmail.com Twitter: @VirtuallyMikeB Blog: http://VirtuallyMikeBrown.com LinkedIn: http://LinkedIn.com/in/michaelbbrown
Stjernebacon
Contributor
Contributor

Hi and thanks for our answers.

We have a SAN, and what I ment by "releasing" disk space is that I want to resize/shrink the disk from, let's say, 800GB to 100GB. Then I guess 700GB will be available to the SAN again..? As far as I know you can't just resize a thick provision disk on a converted machine?

But the solution could be, as you both say, to do a V2V conversion.

The server is far from critical so if it crashes there are no worries. It's more testing in case I need to do it on a more critical server.

0 Kudos
scottyyyc
Enthusiast
Enthusiast

For the VM itself, a V2V is probably your best bet.

Your SAN won't necessarily "see" this free space. Remember, SANs aren't typically VM and filesystem aware (it's just a big disk), so it doesn't necessarily know that space has been freed up inside a VM or guest filesystem. This issue isn't a big deal if you don't thin provision your SAN volumes, but if you do, the SAN won't be able to see the free space. If you don't TP your SAN volumes, it doesn't matter.