Compact/shrink *.vmdk does NOT (for Ubuntu guestOS)

I have a Ubuntu guestOS installation running on a Win7 hostOS.

The corresponding *.vmdk file has a size of about 8.5 GB (!).

When I start the virtual machine and enter in a terminal:

DF h

then I can see that the partition contains only 3.9 GB (= 'used').

So he has a lot of space that can be compacted/shrunk.

I leave the guestOS and go to the menu:

Machine settings VMware-> hardware-> drive-> utilities-> Compact

and began an operation of "compact".

Much to my surprise the *.vmdk file is subsequently (or almost) big as before.

If compacting doesn't seem DO NOT work.

Why?

A defragmentation does not help.

Some with VmWare Player.

And even with the command cmdline

VMware - vdiskmanager.exe - k Ubuntu.vmdk

If not, how can I compact shrink the *.vmdk?

Matt

Assuming that the VMware virtual disk is not previously affected and the file system is ext4, you will need to manually prepare to be narrowed.

In the virtual machine, in a Terminal, become root and then copy and paste the following command, as is and then press ENTER:

dd if=/dev/zero of=wipefile bs=1024x1024; rm wipefile

Wait for the prompt to return, then press stop the virtual computer, then the settings of the Virtual Machine for the hard drive to select the Compact command from the utility button.

Tags: VMware

Similar Questions

  • Facebook, Gmail and MétéoMédia works does not for me with the last update, even in safe mode

    That pretty much sums up it. Since yesterday, with the most recent update, firefox does not display correctly these sites. Someone else posted a question similar to this topic. It has been marked as resolved, but there is no solution posted. Here's his question: https://support.mozilla.org/en-US/questions/963125 I have the same problem as him with fb. In addition to the problem with fb, Gmail doesn't end loading. And MétéoMédia do not display the weather forecast. I'm sure that many other sites are affected as well.

    All sites work properly in Seamonkey, which I use once again, now. I went to oldapps download v. 22 of ff, but whatever the most recent update changed only came when I installed v.22. The problem persists. I could uninstall it completely and then new installation v.22, I guess, but I'm afraid that my browsing history, sessions, passwords, etc., would be affected, and I don't want to find all the files and support first. It's a hassle. Since the sites work in Seamonkey, I'm guessing that's not the fact that I have updated flash at the same time. I don't know how much these sites use flash, either. But if it's a problem of flash, I tell myself I should have the same problem in Seamonkey, and I did not.

    I wish that you guys would have an easy option to restore your updates because it's pretty darn annoying when they cause problems. Usually, they are not lethal problems, however, and the browser still works. Now ff does not work for some sites I use most often.

    Hello

    Many issues of the site can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.
    Note: This will be you temporarily disconnect all sites, you're connected to.
    To clear the cache and cookies to do the following:

    1. Go to Firefox > history > clear recent history or (if no Firefox button is displayed) go to tools > clear recent history.
    2. Under "Time range to clear", select "all".
    3. Now, click the arrow next to details to toggle the active details list.
    4. In the list of details, see the Cache and Cookies and uncheck everything.
    5. Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

    __________________________________________________________________

    Also, some Firefox problems can be solved by performing a clean reinstall. This means that you remove Firefox program files, and then reinstall Firefox. Please follow these steps:

    Note: You can print these steps or consult them in another browser.

    1. Download the latest version of Firefox from http://www.mozilla.org office and save the installer to your computer.
    2. Once the download is complete, close all Firefox Windows (click on quit in the file menu or Firefox).
    3. Remove the Firefox installation folder, which is located in one of these locations, by default:
      • Windows:

        • C:\Program Files\Mozilla Firefox
        • C:\Program Files (x 86) \Mozilla Firefox
      • Mac: Delete Firefox in the Applications folder.
      • Linux: If you have installed Firefox with the distribution-based package manager, you must use the same way to uninstall: see Install Firefox on Linux. If you have downloaded and installed the binary package from the Firefox download page, simply remove the folder firefox in your home directory.
    4. Now, go ahead and reinstall Firefox:
      1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
      2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.

    This will remove not essential info unless you check the box "delete all my personal data too.

    Please report back to see if this helped you!

    Thank you.

  • Satellite A100: webcam works does not for windows live messenger on Vista

    I recently lost my picture when working for video calls in windows live messenger, the sound of two ways and I can see them, but no one can see me.
    I also bought an external webcam, and it does not work either.

    When I go to Device Manager it says that the two cams don't work properly.
    I tried to update the drivers but they are up-to-date.
    I wonder if it's a problem of Windows live or Toshiba.
    I use Windows Vista Home Premium and the new version of messenger.

    > I also bought an external webcam and it doesn t work either.
    > When I go to Device Manager it says that the two cams don't work properly

    For me, it looks like a windows system problem.
    Usually two webcams operate independently from each other and so I don t think that it is a webcam driver problem I think that it s windows or windows live messenger problem
    Maybe something confused keys registry or files may be some updates to update or similar

    In your case, I recommend you to uninstall the software of webcam software, internal external webcam and the windows live messenger.
    Then, you must clean the BONES and the registry tool like CCLeaner cleaning, for example. It the free tool.

    After this, reinstall the Chicony webcam software and test functionality without installation of windows live messenger.
    If the webcam will be functions then you could install the windows live messenger again.

  • Want Dv6 - 7300st: finger print works does not for Windows 10

    Hello

    I've updated 10 64-BIT windows. then after I find, validity wbf ddk driver does not. It engages and works in the background

    Please help me driver for windows 10 64-BIT

    Hi @mahmutbasar,

    There is no newer driver for Windows 10 fingerprint sensor. It seems that the old driver is not compatible with the Windows 10 either. So, if the fingerprint work in previous windows, it's a matter of software with Windows 10.

  • ITunes 9.1 works does not for Windows Vista

    I've recently updated itunes 9.1 and when I click to open the program, nothing happens

    It is open in the process in the Task Manager

    I tried to uninstall, download of the installer on the itunes site and still does not work

    I am running Windows Vista

    Help would be greatly appreciated, thanks

    Hi all

    You can watch on the Apple site for troubleshooting iTunes and Windows Vista.

    http://www.Apple.com/support/iTunes/

    The article watch is titled: iTunes for Windows Vista or 7: Troubleshooting unexpected quits unexpectedly, freezes, or launch issues

    I hope this helps.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Webcam works does not for windows 8

    Hello

    Yesterday I installed GoogleVoiceandVideoSetup to use Gtalk WebCam but after installing it, my webcam does not work.
    It doesn't show any picture, can someone help me on this.
    Kind regards
    Gaurav Dey

    I found the solution: -.

    I went to the Device Manager. Rode to the previous setting, and after that I re-installed the latest drivers and it works for me.
    :)
  • Lights up does not, for anything!

    I'm doing a cool video with some models of a video game, one of them is a giant robot and I imported into the 3-d element with it's diffuse texture so that I could composite it inside the after-effects.

    The only problem is that lights does not work on anything WHATSOEVER, except ambient lights that makes everything more clear. The model turns black when the light is activated (point, point, and parallel)

    It's very weird, the rendering mode is set to classic 3D and draft mode is off.

    Is there something I need to keep in mind when adding lights that I missed browsing Google for an answer?

    THX

    I solved the problem. 3D of the element normals were not be shaded because I had only broadcasts a texture, so I had to check the box "Auto-normales" to get the lights to work with the model.

  • BlackBerry Smartphones QWERT keyboard does not for text messages.

    My keyboard does not appear when I switch my phone when I check my e-mail or text messages. If I use my browser or anything else needing a keyboard, it works fine. Anyone who has an idea on what could be the cause?

    Excellent! Batt-pop reboots are as restart a PC - a healthy thing!

  • Hotel Web does not for formmail cgi script. What should I use instead, and how to run it?

    Hello

    I'm close tothey done with my new site of clslow and just found out that his webhotel does not offer the simple cgi-script I usually use

    Any suggestions that I can use instead (I guess PHP and it's Greek to me...), but how do I do it?

    Address on the site and the actual page is here: http://www.kennelmannequins.se/ToftaBilII/servicebokning.html (it is in Swedish, so don't be scared if you don't understand the language)

    I hope you can help me!

    Carolin

    Try NateMail or ProcessForm from the link below. Both come with a simple step by step pdf, set up the guide.

    The two are old enough but will get the job done.

    http://www.MindPalette.com/archives/ProcessForm/

  • "Querying volume for available shrink space" does not

    I tried to create an empty partition on my 500 GB drive C (which I still have more than 350 GB free) to be able to dual boot another OS next to my already installed Windows 7 Ultimate 64-bit, but I encountered a problem from the beginning. While trying to shrink the space on drive C for the partition, the computer management hangs on 'Volume mark for available shrink space' for about a minute, and then said computer management "not responding". I have retried several times, and I still have the same result. I tried running "sfc/scannow" as administrator CMD, but there is no problems found. Afterwards, I checked errors on drive C, but the result is always the same. I don't know how to go further with this problem. Any help would be greatly appreciated...

    Here are a few options:

    • Use a third-party disk manager, or a commercial (e.g. Acronis DiskDirector) or one that is free.
    • Use diskpart.exe in a command prompt if you are comfortable to work at this level. It might give you a more explicit feedback. Here is what you would see:

    d:\>Diskpart
    Microsoft Corporation.
    On computer: ACORN

    DISKPART > select disk 0
    Disk 0 is now the selected disk.

    DISKPART > detail disk
    Crucial_CT512MX100SSD1 ATA Device
    . . .
    Volume # Ltr Label Fs Type size status Info
    ----------  ---  -----------  -----  ----------  -------  ---------  --------
    Healthy Volume 1 c System NTFS Partition 68 GB system
    Sound data 2 D NTFS Partition 97 GB Pagefile volume
    Volume 3 e drivers NTFS Partition 310 GB healthy

    DISKPART > select partition 3
    Partition 3 is now the selected partition.

    DISKPART > retractable help

    (read the help text)

    DISKPART > shrink Desired = Minimum 150 = 100

    DISKPART > exit

  • Satellite A660 - program does not for a mili-second

    Hello

    Sometimes, the program I use flashes in mode of non-resonsive.

    For a milli-second the program stops or the image of the desktop appears and then disappears again.
    Sometimes it happens only once, but in some programs, it happens constantly and they are impossible to use.

    I have an A660 running Windows 7, 32-bit with an i7 from intel.
    I loaded all the latest updates to the graphics card and drivers.

    Does anyone else have this problem?

    Thank you

    Hi mate

    It's ok.
    You will always notice a delay while loading some applications or software.
    This happens because the software loads into RAM.
    It depends also processes that are running in the background.
    Background processes can insist on the CPU and this can affect the performance of the application or may cause some short delays

    To improve this, I recommend cleanning the OS using CCleaner and disable certain porocesses that are not really important to you.
    You can do it is msconfig

  • The phone rings does not for incoming calls! / spa2101 connected to the router

    Hey guys,.

    I had this problem for 2 weeks now, my outgoing calls are fine but with the receipt of custom just phone sounds sometimes. He usually works once I restarted the adapter, then after an hour on the phone used ring when I test it.

    I opened the ports on my router (5060-5061) and the firewall is disabled.

    BTW: I have this software called xlite and when I tried to call for that, it worked fine but the phone did not respond. im guessing theres some configurations that must be accomplished, but what is the question =)

    Thank you for any response

    Hello

    You must change in the line-1/2 tab:

    NAT mapping enable: don't-online Yes

    NAT keep alive enable: don't-online Yes

    Then, you can control the interval keepalive on SIP tab:

    NAT Keep Alive Intvl: (def = 15)

  • GPS Compact Xperia Z3 does not

    I did Diagnostics on Z3 compact but has no gps. Followed by the statement, but nothing happened. Difficulty this sony.

    Hello

    The GPS may fail if you for example are located in a building where objects are around you. Have you tried the GPS test outdoors? You can also take a look to the following FAQ section for some tips:
    https://talk.sonymobile.com/T5/FAQ/GPS/m-p/351902

  • volume mixer does not for Windows 8

    Hello

    My computer laptop hp Pavillion Sleekbook D4B88PA #ABG has encountered a problem in volumes when I connected with youtube. It is said "the volume mixer is not responding. Please someone solve this problem for me. I miss her dearly. Thanks in advance.

    Hello shiz1000,

    Please take a look at this document, use Recovery Manager to restore your drivers and software.   Follow the troubleshooting steps and let me know if it helps to solve your problem.

    Good luck!

  • Netflix plugin does not (for netflix.ca - I'm in the Canada)

    I tried today to make my netflix.ca account in Windows Media Center, but no idea whates passes.  I have read hours of instructions and tried everything but the link would not show upward in Media Center, period.  I have Windows 7 Pro on a 64-bit computer.  Also checked the XBOX 360 for the plugin promissed but still nothing.  You guys work or already have one of these...

    The native application of Netflix in Windows Media Center is not supported in the Canada. Unfortunately, that's all the information I have at the moment.

    Pete

Maybe you are looking for