VMware - How to decrease the space on VMs D Drive

Hi

We have an exchange 2007 server with C and D drive
On C: drive the total size is 88.2 GB and the free space 10.3GB

On D: the exchange mailbox database is hosted and the total space on this drive was: 612GB
Used is: 475 GB
Free is: 137GB

We use VMware I accidently increased the space on D drive to another 700GB and after rescanning the discs on the VMs disk management, I extended the disk and added the unallocated space.

Now it is showing 1.3680742TB as shown in the attached snapshot. I would like have a total size of 800GB  on the D:
Please let me know if these is a way of doing this.
Thanks any help will be great.
VM-Space-snap.png
lianne143Asked:
Who is Participating?
 
Seth SimmonsConnect With a Mentor Sr. Systems AdministratorCommented:
i would create a new virtual disk of 800gb then create a new database(s) on the new drive and migrate mailboxes
once that is done, delete the 1.3tb drive
other options to reduce the drive would require downtime
2
 
Ajay ChananaConnect With a Mentor MCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
Hi,

I would recommend to shrink the disk from guest first. then perform converstion of disk using vSphere converter. Once that done with the new disk you can again increase the size as desired.


VMWare-Shrink-VMDK-size-of-Thick-Provisioned-Virtual-Disk
0
 
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
If you  don't need downtime Seth option to migrate mailbox is better option.
1
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
lianne143Author Commented:
Thanks , The free space on the data store where Exchange is hosted is 1.4TB
If I create a new virtual disk B: with 800GB of space , will the space on the this data store drop to 600GB before the mailbox are migrated?
0
 
Ajay ChananaConnect With a Mentor MCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
I have checked image which you have shared, Since you are using thin provision disk on D drive any how what the size you provide is virtual its not the action size which disk is using on the datastore.

Thin provision only occupy space as  the data it has on disk. + snapshot if you have any.

So 1.4  TB is only logical number.  

"If I create a new virtual disk B: with 800GB of space , will the space on the this data store drop to 600GB before the mailbox are migrated?"

it depends what kind of disk you are creating if you are creating same thin provision it will not occupy any space until and unless you place some data on it.
0
 
Scott SilvaConnect With a Mentor Network AdministratorCommented:
Also remember this... When doing the migration you will at least temporarily need 2 times the data size of the exchange database because moving the data doesn't immediately reduce the size of the old database. It only gets reduced with a compaction, or the actual deletion of the virtual drive...
0
 
R@f@r P@NC3RConnect With a Mentor Virtualization SpecialistCommented:
Hello,

Do you have backup of that server?

First, it reduces the disk size at the operating system level.

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