Defragging a virtual drive in VMWare?

Discussion in 'Windows, Linux & Others on the Mac' started by duelingdragons, Jun 6, 2007.

  1. duelingdragons macrumors 65816

    May 13, 2007
    Orlando, FL
    Every time I shut my machine down in VMWare, it tells me to defrag.

    When I go to settings, I don't see anything for defragging.
    Any ideas?
  2. Jimbode macrumors newbie

    Jun 6, 2007
    Start up the VM then run VMware Tools and select the Shrink tab. Then click on Prepare to Shrink.
  3. hodgjy macrumors 6502

    Apr 15, 2005
    Sorry to dig up an old thread, but I came across this one when I did a search for just this same question.

    Shrinking a drive does not defrag it. You have to defrag it separately. VMware does not have a GUI tool to do so, but you can do it from the terminal. Here's the command:

    /Library/Application\ Support/VMware\ Fusion/vmware-vdiskmanager -d '/Users/Your User Name/Folder where your disk is stored /Name of your disk.vmwarevm/Name of your disk.vmdk'

    Obviously, change the bold/italics to fit your specific computer.
  4. MotorcycleBetty macrumors member


    May 14, 2008
    Since installing VMware Fusion, I've been wondering about defragging, also, as I've been making a mess moving things back and forth. Is there any reason why one can't use the Windows defragger?

Share This Page