Solved

Large thin VMDK

Posted on 2013-01-09
4
373 Views
Last Modified: 2013-02-26
I recently P2V'd a windows 2003 server, it was full of "stuff".
I removed all the "stuff" and just left the important data and files.
I then noticed that I had a thick VMDK at 75gb... i don't like taking up space for no reason.
Windows says it has 64gb free.. after i removed the "stuff"
So I cloned and created a thin vmdk
however the VMDK is 61gb (provisioned to 75gb) on the clone.

What am I doing wrong? why is the VMDK not about 15gb.
0
Comment
Question by:Carpe--Diem
  • 2
  • 2
4 Comments
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 38760812
it's because the blocks have all been written to! (so the disk has been expanded!).

Have you tried V2Ving using Converter Again, and specifying thin disks.

another simply laymans way, is to add a new thin provision disk to the VM, (approx 0GB)

 (only quick format it, - Depending on the type of format selected within the guest operating system, the format may cause the thin provisioned disk to grow to full size.

    For example, if you present a thin provisioned disk to a Microsoft Windows operating system and format the disk, unless you explicitly select the Quick Format option, the Microsoft Windows format tool writes information to all of the sectors on the disk, which in turn inflates the thin provisioned disk to full size.)

copy the 15GB to the new disk, and your new disk will be approx 15GB.
0
 
LVL 1

Author Comment

by:Carpe--Diem
ID: 38763107
yeah that should do it, it is the Windows drive but i can probably find away around it. NTBackup or something.
0
 
LVL 119
ID: 38763193
yes, NT Backup will do it, xcopy etc
0
 
LVL 1

Author Comment

by:Carpe--Diem
ID: 38763421
Xcopy will not be suitable as I require the system state. I am going to try
NTBACKUP
restore it to a new drive
remove the orginal HD
and hope an operating system is found on boot !!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

786 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