VMware Cloud Community
dattard07
Contributor
Contributor
Jump to solution

Disk Space Reduction

Hi,

I wanted to get some feedback as to the recommended way to reduce the allocated disk space size to a VM.

Currently I have a VM: Server 2003, Thick Provisioned, (C:\) 10GB, (E:\) 150GB

The E:\ partition was severly over allocted by the precious administrator. What I would like to do is reduce the E:\ to 32GB to reduce diskspace consuption.

Can anyone please advise the best method to change the allocated disk space size for the VM?

Cheers.

Reply
0 Kudos
1 Solution

Accepted Solutions
Rumple
Virtuoso
Virtuoso
Jump to solution

If you thin provision the VM..then it will still look like 150Gb inside the OS..but will only physically use the amount of disk space that’s actually in use on your storage

If you want to only give it a true 32gb of space visibility within the VM, then just add a new disk, copy the data, swap the drive letters and delete the original 150gb…

You could also thin provision the Data volume and shrink the physical partition inside the VM to make it look alike the data drive is only 32gb

View solution in original post

Reply
0 Kudos
6 Replies
Rumple
Virtuoso
Virtuoso
Jump to solution

there are multiple ways to accomplish:

If you are on a licensed edition with svmotion you can just svmotion the system to another volume and slect thin provision...that will drop the actual usage down to what it uses.

You can also shut down the VM and do it as well.

You can also use vmware converter to re-copy the VM and reduce the Data Usage

You could also just add a new drive to the existing system and use robocopy to copy all the data to the new drive, then just switch the drive letters around so the new drive has the correct drive letter and then you can delete the other drive from the vm...

dattard07
Contributor
Contributor
Jump to solution

So how do I reduce the allocation amount from 150GB to 32GB?

Reply
0 Kudos
Rumple
Virtuoso
Virtuoso
Jump to solution

If you thin provision the VM..then it will still look like 150Gb inside the OS..but will only physically use the amount of disk space that’s actually in use on your storage

If you want to only give it a true 32gb of space visibility within the VM, then just add a new disk, copy the data, swap the drive letters and delete the original 150gb…

You could also thin provision the Data volume and shrink the physical partition inside the VM to make it look alike the data drive is only 32gb

Reply
0 Kudos
dattard07
Contributor
Contributor
Jump to solution

Perhaps using the vmware converter tool would be the best option, I should be able to allocate disk sizes and change disk types: Thick or Thin provisioned

What do you think?

Reply
0 Kudos
vcpguy
Expert
Expert
Jump to solution

you can use converter but it will be a bit slow, you are no longer using the block copy option but file copy option.

----------------------------------------------------------------------------- Please don't forget to reward Points for helpful hints; answers; suggestions. My blog: http://vmwaredevotee.com
Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

what about adding a 32Gb disk to the VM, mount it as F:
robocopy E: F: /mir
remove driveletter for E:
change driveletter F: to E:
reboot

afterwards you can delete the old 150 Gb vmd


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos