Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I had approx 50Gb of Windows VMs on my MacBook Pro internal SSD (128Gb) (OS X 10.7.3). I copied them to an external drive, then deleted them from the internal drive, then emptied the trash.

When I look at disk usage in Activity Monitor it shows the same level of usage as it did prior to deleting c 50Gb of files.

Any ideas why the space hasn't been freed up?

share|improve this question
    
How long have you waited until you rechecked the available space? –  gentmatt Mar 18 '12 at 6:34
    
Do you use Time Machine? –  Kyle Cronin Mar 18 '12 at 11:41
add comment

3 Answers

The answer relates to changes to Time Machine backups in Lion.

My understanding is that when a TM back up is attempted when the back up disk is not connected, a back up is made in /Volumes/MobileBackups.

These back ups do not go away the next time TM runs with the back up disk connected. I am not sure if the OS will eventually reclaim this space.

You can disable the local back ups by running the following command:

sudo tmutil disablelocal

After you run this command /Volumes/MobileBackups is deleted.

I'm sure there is a good reason for the local backups and I don't necessarily recommend disabling them, but they were - in combination with some large deleted folders - the cause of disk space appearing to be still in use.

You can re-enable mobile backups by running:

sudo tmutil enablelocal

More info here - http://arstechnica.com/apple/reviews/2011/07/mac-os-x-10-7.ars/18

share|improve this answer
    
When mobile backups are on, does the disk space taken ever get freed (e.g. when it can be written on an external drive)? Or does it stay permanently? –  Szabolcs Aug 8 '13 at 15:07
add comment

Sometimes the deleted content gets held in the .Trashes folder in the root directory. From the Terminal you can cd /.Trashes and see if any of your deleted files are still in the Trash. You can then remove them via sudo rm -rf someFolderName.

Caution: this is a rather advanced user operation so be careful what you type and what exactly you remove since rm is permanent and can't be undone.

share|improve this answer
add comment

If you look the free disk space from finder it will not include the backups on space used. That is because backups will be deleted if more space is needed by other apps. What I do to keep the mobile backups working without taking much space, is disabling and enabling the time machine once per week (from TM prefs). When you disable it the local backups are deleted.

I guess it wouldn't make much difference to just let the drive get full and then automatically delete backups as needed (maybe slightly slower performance?).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.