How to shrink the VMDK file?

Hi all

Today, I spread a hard disk to increase the size of the drive on one of the virtual machine.  Later due to required requirements is no longer the hard drive. Therefore, it is possible to remove the disc that I extended?

Thanks in advance

There is no way to shrink the vmdk file.

Only create new, smaller size, replicate data and delete everything first.

If you need temporary space then create the new disk and simply remove it when it is no longer necessary.

---

VMware vExpert 2009

http://blog.vadmin.ru

Tags: VMware

Similar Questions

  • How to shrink the VMDK on ESXi

    I need to reduce a virtual machine that is running on a server ESXi.  Is this possible?

    The easiest way would be to use the VM V2V conversion tool and resize the disk during the conversion.

  • Unable to shrink the VMDK disk file

    I have a Winxp virtual machine, and it was created with a 40 GB SCSI disk, VMWare has recommended.  I used to transfer all kinds of data to and from it, and I noticed that kept virtual disk file becomes larger.

    The Windows file as well as all my personal files are total about 4.7 GB.  But the VMDK file is not less 21,7 GB...

    After that it shrinks normally did not work, I started the machine virtual in Parted Magic and effectively narrowed the entire NTFS partition up to 5 GB - the other 35 showing as empty space.  But still, I tried shrinking and he defragmentation on 7 times, he didn't budge 21,7 GB.  I even tried to make the option "Get ready to shrink" inside Windows itself, using VMWare Tools, which also did nothing...

    I tried in fact to create a new virtual machine identical with a 5 GB drive, then copy the partition through (I had copied on a flashdrive using CloneZilla) - but for some reason, XP does not start if I do that.  Even to make all stages of repair does not fix.

    So could someone please understand why this file on the disc is so obnoxiously huge for a 4.7 GB VM and how can I reduce the VMDK?  I really need keep the hard drive space and it seems really stupid...

    the other 35 showing as space vacuum

    That's the problem. The process of narrowing in VMware Workstation focuses first on the unused space on the partitions, and then shrink the VMDK file. The free space on the disc does contain not more than one partition, it will not be zero. To resolve this problem, you can temporarily create an additional NTFS partition on unused disk space.

    André

  • How to associate VM Windows drive letters with the vmdk file?

    Guys,

    I couldn't find a forum ESX 3.5, so post the question here.

    # vmware - v
    VMware ESX Server 3.5.0 build-317866

    with Windows 2003 SP2 invited and many readers of mouted on clients.

    I need to know how to map the Windows drive letters to the vmdk files on the host. for example

    C:\ > hand NET

    Share name resource remark

    ---------------------------------------------------------------------
    $           R:\                             Default share
    $           B:\                             Default share
    $           C:\                             Default share
    $           S:\                             Default share
    $           X:\                             Default share
    $           P:\                             Default share
    $           Y:\                             Default share
    $           Q:\                             Default share
    $           I:\                             Default share
    $           F:\                             Default share
    $           W:\                             Default share
    $           G:\                             Default share
    $           D:\                             Default share
    $           T:\                             Default share


    [root@esx01 DB1] # ls-l *.vmdk
    -rw - 1 root root 142807662592 6 June 2008 DB1_1 - rdmp.vmdk
    -rw - 1 root root 367 14 Jul 22:02 DB1_1.vmdk
    -rw - 1 root root 285615325184 6 June 2008 DB1_2 - rdmp.vmdk
    -rw - 1 root root 367 14 Jul 22:02 DB1_2.vmdk
    -rw - 1 root root 1073741824 6 June 2008 DB1_3 - rdmp.vmdk
    -rw - 1 root root 363 14 Jul 22:02 DB1_3.vmdk
    -rw - 1 root root 142807662592 6 June 2008 DB1_4 - rdmp.vmdk
    -rw - 1 root root 367 14 Jul 22:02 DB1_4.vmdk
    -rw - 1 root root 128849018880 6 June 2008 DB1_5 - rdmp.vmdk
    -rw - 1 root root 367 14 Jul 22:02 DB1_5.vmdk
    -rw - 1 root root 37580963840 Sep 26 17:58 DB1 - flat hard
    -rw - 1 root root 337 14 Jul 22:02 DB1.vmdk
    -rw - 1 root root 287762808832 8 November 2008 FOO-DB1_1 - rdm.vmdk
    -rw - 1 root root 364 14 Jul 22:02 FOO - DB1_1.vmdk
    -rw - 1 root root 21474836480 18 April 2009 FOO-DB1_2 - rdmp.vmdk
    -rw - 1 root root 374 14 Jul 22:02 FOO - DB1_2.vmdk
    -rw - 1 root root 42949672960 18 April 2009 FOO-DB1_3 - rdmp.vmdk
    -rw - 1 root root 374 14 Jul 22:02 FOO - DB1_3.vmdk
    -rw - 1 root root 429496729600 10 October 2009 FOO-DB1_4 - rdmp.vmdk
    -rw - 1 root root 350 10 October 2009 FOO - DB1_4.vmdk
    -rw - 1 root root 429496729600 10 October 2009 FOO-DB1_5 - rdmp.vmdk
    -rw - 1 root root 376 14 Jul 22:02 FOO - DB1_5.vmdk
    -rw - 1 root root 107374182400 18 December 2010 FOO-DB1_6 - rdmp.vmdk
    -rw - 1 root root 376 14 Jul 22:02 FOO - DB1_6.vmdk
    -rw - 1 root root 107374182400 18 December 2010 FOO-DB1_7 - rdmp.vmdk
    -rw - 1 root root 376 14 Jul 22:02 FOO - DB1_7.vmdk
    -rw - 1 root root 161061273600 Sep 27 2008 FOO - DB1 - rdmp.vmdk
    -rw - 1 root root 374 14 Jul 22:02 FOO - DB1.vmdk

    I need to know what vmdk is used for the drive in the Windows of the client prompt. I'm afraid that I could not understand it in the vmware.log or hostd.log files.

    Thank you!

    Steve

    Hi Steve

    You cannot map the drive letter for the vmdk directly, but you can map the drive Win on a specific vm using the SCSI number

    An easy way to map the vmdk with disks of Windows is:

    On the virtual machine 'change settings', note in down all the vDisks SCSI address example (disc 1 = SCSI (0:1), 2 HDD = SCSI (2:4)))

    If you go to Windows disk management and right click the individual disks and select Properties, you will see that target and LUN ID discs

    where for 1 HDD = SCSI (0:1), 0 is target ID and LUN 1 ID and 2 HDD = SCSI (2:4), 2 is target ID and LUN 4 ID

    You map just for numbers of hard disk drive letters

    Please allow points to useful/correct answers

  • Re: How to save the video file to a DVD-R for Equium A200

    I have the Equium A200. Someone can tell me how to save the video file to a DVD-R on my computer in order to use it later, or use it in windows movie maker and must not simply copy on another DVD-R right?

    My cursor also has disappered in the suite of windows media, that makes life quite difficult.

    Any ideas?

    Thank you.

    You mean, you want to copy the original DVD movie to HARD drive?
    Well, you can copy the contents of the entire DVD to the HARD drive. It means that you have to copy a lot of data.
    I would recommend shrinking the DVD movies using a tool called DVD shrink.
    It would decrease the data and would also copy the content to the HARD drive.

    But if you want to use these files later in windows movie maker, so you must convert these using a 3rd party tool.
    Google a bit and you should find many free applications that would help you to do this work.

    Good bye

  • Clone host (error caused by the vmdk file)

    Hello

    We try to clone the server to a scsi with resources as:

    ex_photo.pngiscisi07.png


    During the operation of clone, a 'problem' error caused by the vmdk file is thrown and clone to work stoppages. Server uses thin provisioned (40 GB) and thick (250 GB) / place.

    My question is: in target store, is 579 GB free space and space end implemented is 503 GB. While cloning thick storage (250 GB), do we need at least 250 GB of capacity between space free and put into service? If this is not the case, how can I solve my problem of clone?

    Thank you for your attention...

    Yes, you need this amount of free space (at least 250 GB freespace) available between the space free and put into service.

    TM

  • Cannot reduce the size of the VMDK file

    OK, here's my story:

    I started with the growable virtual 40 GB HD default mapped as C:\ on my virtual machine. The HD received complete and had poor performance and I converted it to a prealloue 100 GB HD. It worked OK for a while, but then I created a new virtual HD mapped as D:\ to store data.

    So my problem was C:\ was too big which made backup of the virtual machine of your time, and I thought I have to resize C:\ 30 GB. My first test was to convert it to a HD growable. This remains a 100 GB on the host vmdk file.

    Then, I used the two compacts from the GUI and stop at the command prompt on the convert HD Nope, still 100 GB vmdk file on the host.

    Then I used a disk management program to reduce the size of the c:\ partition with 30 GB and run both shrink and compact again. Guess what, the vmdk file is always 100 GB.

    I'm running out of ideas on what to do to reduce the size of the vmdk file. Any ideas?

    Yes, I did, but I used compact from the GUI and stop at the command line (vmware - vmdiskmanager.exe). At that time I didn't there's a shrink option in VMWare tools.

    In this case try to diminish with the extra partition (temporary).

    Which converter you were referring to in your previous post?

    VMware Converter Standalone 4.3

    André

  • Rename the vmdk file?

    Is it possible to rename a VMDK file?

    Ive traveled to the data store and can see the vmdk file and also the - file ctk.vmdk but when I right click the option rename is gray.

    So, how do rename you?

    Thank you

    Stewart

    You can rename the vmdk and not rename the object itself, but the vmx file needs to point the the renamed disk files.  It is in this article, http://kb.vmware.com/kb/1002491, which I pointed out above.

    in the .vmx file, you will see something like

    scsi0:0.fileName = "OpenSUSE.vmdk"
    

    .

  • The Vmdk file size

    Hello.

    I have an ESX 4.0.0 host and I created a new virtual machine on this subject, to install WIN 2003.

    When configure the virtual disk, I put the 18 GB disk and selected size space Allocate and commit on request option (thin Provisioing).

    The following steps are fine and smooth. The installation is good and VM can be saved on the local HARD disk. It could work like I want.

    In the end, I logged in the ESX sever to check how the size of the VMDK file has been generated.

    Result as below.

    $ ls - lh

    total of 9.7 G

    -rw - 1 root root 1.0 G the 31 mai 10:43 vm - 17412363.vswp

    -rw - 1 root root 17G 31 May 17:51 vm1 - flat hard

    -rw - 1 root root 8.5 K 31 mai 11:06 vm.nvram

    -rw - 1 root root 469 31 mai 10:45 vm.vmdk

    -rw - 1 root root 0 May 31 10:40 vm.vmsd

    -rwxr-xr-x 1 root root, 2.9 K 31 mai 10:43 vc01.vmx

    -rw - 1 root root 259 the 31 mai 10:40 vm.vmxf

    -rw - rr 1 root root 110 K 31 mai 17:18 vmware.log

    I felt that it is fake!

    Why is the total size of 9.7 GB but vm1 - flat hard file is 17 GB?

    It's over the total size. It seems strange to... isn't it?

    Then I was loggin to WIN2003 (vm) and make sure how the C drive size.

    C drive has been total 16.9 and GB 8,44 available...

    The C drive size is perhaps skirtss size. It is a good idea.

    but WHY the total size is 9.7 GB? AND tell me the breakdown of this total size of the file.

    Can someone explain to me?

    Help me ~ ~ ~

    Thank you!

    Hello!

    VM1 - flat hard is sparesefile and signals the total maximum size of the disk.

    And 9.7 total disk space used, log + swap files.

  • How to access the textedit files in Icloud on time machine

    Hi all

    Bad, I need your help! I'm trying to access all my text edit files, which I had saved on ICloud.
    My laptop does not run successfully. I was proposed to restore and re - install the op system. So I run a Machine back up full time and I restored my laptop. I should all have backed up, right?
    Problem is: I'm trying to get all my work on Tex Edit, but I can't find it on Time Machine. Does anyone know how can I recover these files? I have two important years of drafting work there!
    It would be good to have your suggestion.

    Thanks in advance for your help

    Did you you save the files in the correct format - OS X Server: how to modify the configuration files - Apple support?

  • How to get the bak files?

    Original title: Bak files.

    How to retrieve the bak files. They were e-mail messages that went somehow in the trash. I got the files, but they have bak next to them. Nothing I do will open to them. Thank you

    Microsoft MSDN can help, try this link.

    http://social.msdn.Microsoft.com/search/en-us?query=opening%20BAK%20Files&emptyWatermark=true&AC=5

  • How to move the MSWMM files and keep the data on my computer?

    I downloaded digital film from my camera to a destination on my D drive as a file MSWMM (collections), and whenever I try to move the downloaded film (collection), it does not recognize the movie more.

    How to move the MSWMM files and keep the data on my computer?

    The mswmm file is the project file, not a video.
    Think of it as a recipe for a cake, it only tells you what to do with the ingredients, but does not include the ingredients.
    The mswmm file tells the computer to look in a certain folder to use a video or audio file.
    If you move the file, then MM knows not where is the file, then you must tell it, by right clicking on a red x on the timeline and then choose search for the file.

  • How to display the .dcm file

    How to display the .dcm file

    Hello

    This should help you.

    http://www.FileInfo.com/extension/DCM

    See you soon.

  • How to open the pdf files from hotmail.

    OMG no body can help with this question, how to open the pdf files from hotmail

    OMG no body can help with this question, how to open the pdf files from hotmail

    Told you that you need Adobe Reader, which is designed to open pdf files?

    Download Adobe Reader:

    http://www.Adobe.com/products/reader.html

  • How to shorten the music file to match the selected slides

    I created a slide show with windows vista movie maker.  How to shorten the music files to match both of the selected slides.  Using the fade out option did not work

    Hello

    You can try the following methods and check if it helps.

    Method 1:

    (a) open your filmmaking program and create the slide show using your photos. Choose the options you want for changes between the photos and the duration of each photo display. If you need help, then check out the help file in your theater program.

    (b) open the import file dialog box. In Windows Movie Maker, it is in the part of '"movie tasks', section"vidéo Capture." Browse your files to find the mp3 file you want to import, select and import it. Will import it into filmmaking program but it will not in the video.

    (c) search for the file in your filmmaking program and import it into the film. In Windows Movie Maker, you can drag and drop the file in the position in the window of time movie online, where you want that song to start playing.

    (d) scroll through the timeline until the end of the song. Drag the end of the song in a position to match the end of your slide show. This will be the end of the song at the same time exactly like your slide show.

    (e) read your film completely from the beginning to the end and ensure that everything is with the song the way you want that there. If you are satisfied with the finished product, then export the movie to the right format and the file will be ready to play.

    Method 2: Work with clips in Windows Movie Maker

    http://Windows.Microsoft.com/en-us/Windows-Vista/work-with-clips-in-Windows-Movie-Maker

    Reference:--

    http://Windows.Microsoft.com/en-us/Windows-Vista/getting-started-with-Windows-Movie-Maker#

    http://Windows.Microsoft.com/en-us/Windows-Vista/adjusting-audio-in-Windows-Movie-Maker-frequently-asked-questions

Maybe you are looking for

  • Equium A60-692 - no power and removing the HARD drive

    The power has gone on my A60-692, the adapter is ok but there is just no no LED on the laptop. I had to get replaced a few years ago so maybe it is related to that of the power connector. I took to a local repair place, he said, it would cost more to

  • Satellite L305D - I am not able to burn anything

    Hello I have Toshiba L305D and I am running Windows 7I am not able to burn anything with my laptop and I tried all of these software: -Nero 9CopyToDVD--ConvertXtoDVD-CD recorder integrated in Windows. Whenever I get an error.Here is a picture of my D

  • Device-debug output?

    Hello NDK devs. We are trying track down a bug only release device. It seems that symbols are either generated not be loaded by GDB. We use a build managed Momentics. All the parameters or manual control of GDB for this? Thank you! Stéphane

  • SSL Server 3.3 to 4.2 acs acs certifcate

    Hi all I need a help on this SSL certificate installation on my acs for PEAP clients 1120 device Note: I exported Server Certificate SSL from my old server acs 3.3 which is located under the acscertstore folder issued by the CA vendor. I need to reus

  • ESXI 5.5 - give it a static address

    Hi allWhat is the best way to give my ESXi 5.5 server a static IP address?For now, he picks it up dynamically.