Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Reducing the size on a provisioned VMWare VM harddrive

Posted on 2012-03-21
6
Medium Priority
?
2,230 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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 125

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

571 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