Solved

Reducing the size on a provisioned VMWare VM harddrive

Posted on 2012-03-21
6
2,204 Views
Last Modified: 2012-08-13
I have a Windows Server 2003 VMware vm.  It was a data server for us that had 3 hard drives.
Drive c: - 100GB Thick provisioned (used 45GB)
Drive F: - 200GB Thick provisioned (used 125GB)
Drive G: - 100GB Thin provisioned (used 42GB)

I need to move this vm to another datastore temporarily so that I can unrack the current MSA and install the new MSA.  The datastore that I want to move it to only has 268GB of space.  The total used space of all three drives is only 212GB, but the provisioned space shows a total of 400GB.   When I tried to migrate, it says insufficient space.  How can I reduce the size of the provisioned space so that it will more closely match the used space so I can complete the migration.

This is only a temporary storage location until the new SAN is completed.
0
Comment
Question by:sfletcher1959
6 Comments
 
LVL 40

Expert Comment

by:coolsport00
ID: 37748814
0
 

Author Comment

by:sfletcher1959
ID: 37748825
coolsport00 - does this create a new vm with the smaller space or does this allow you to modify the existing VM?  If it creates a new vm, then I would turn off the old server and migrate the new smaller foot print VM.  Is this correct?
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 37748834
It does indeed create a new VM on the other temporary datastore. No, you don't have to turn off the 'source' VM. You can do it while running if you prefer.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 30

Expert Comment

by:IanTh
ID: 37748839
thick provisioned means its just like a standard hdd
where as thin provisioned grows as its filled

cann't you copy the g: to f:
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 37748901
Not many options to shrink an oversized disk.

Many different ways to complete this. But one of the quickest, would be to
create a new virtual disk of the correct smaller size and then use an
imaging tool, or file copy operation to image or copy the data to the new disk - from
the old disk. Imaging will create a smaller partition with just the data. Xcopy/Robocopy will just copy the data and permissions.

If F and G are just data, depends if you've got shares.

You could also use VMware vCenter Converter Standalone 5.0, to complete the
entire conversion, if you have enough space.

VMware vCenter Converter Standalone 5.0

and if you do use VMware vCenter Converter Standalone 5.0, and you want to make your transfers 60% faster checkout my EE article here

HOW TO: Improve the transfer rate of a Physical to Virtual (P2V), Virtual to Virtual Conversion (V2V) using VMware vCenter Converter Standalone 5.0

Download VMware vCenter Converter 5.0 here
VMware vCenter Converter Standalone 5.0 Documentation
VMware vCenter Converter Standalone 5.0 User Guide


If you have issues, you may want to consult the following articles and guides


Read fellow Expert Bestway's article.

Best Practice Video Guide here


Some Videos I've develeoped for Experts Exchange

A Tutorial video by me:- Restore a Virtual Machine using the FREE VMware vCenter Converter to VMware vSphere 4.x, 5.0 ESXi 4.x, ESXi 5.0, ESX 4.0

A Tutorial video by me:- Backup VMware vSphere 4.x, 5.0 ESXi 4.x, ESXi 5.0, ESX 4.0 for FREE using VMware vCenter Converter

A Tutorial video by me:- VMware vCenter Converter Standalone Process at work

A Tutorial video by me:- VMware vCenter Converter Standalone 5.0 Convert monolithic sparse to monolithic flat for use with VMware vSphere 4.x 5.0 ESXi 4.x 5.0
0
 

Author Closing Comment

by:sfletcher1959
ID: 37752723
Thanks!!!!!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
vMotion from VSS to DVS. 6 74
Restore VM Creates MAC Conflict. 6 92
esxi root user permission 7 45
No IP Address Assigned to VM 10 93
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question