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.

My disk is out of space all of a sudden and I found out that a directory in /Users/.harith/harith.sparsebundle is using 178 gigs of space. What is this directory? How/Why is my mac using it. Is it safe if I remove the directory?

share|improve this question
1  
Are you using FileVault (1) on that user? –  koiyu Sep 7 '11 at 18:34
    
What version of the OS are you running? –  Daniel Lawson Sep 8 '11 at 3:25
    
Using FileVault - Yes. OS is Snow Leopard. –  harithski Sep 8 '11 at 15:01
1  
Have you verified that the trash has been emptied? If you add up the sizes of the folders in your home folder (Desktop, Documents, Downloads, etc.), do they add up to ~178 GB? –  joelseph Sep 8 '11 at 16:48
add comment

2 Answers 2

up vote 8 down vote accepted

/Users/.harith/harith.sparsebundle is the encrypted contents of your home directory. When you are logged in (as user harith), then the unecrypted contents of that same directory are visible under /Users/harith, that is, your home directory.

So what you're seeing is, your hard disk is full. And your home directory is taking up 178 GiB of space.

IT IS NOT SAFE TO DELETE /Users/.harith/harith.sparsebundle!!!!! This is your home directory's files, and deleting this will delete or corrupt your home directory!!!

What you will want to do is look for large files within your home directory, and move those to an external drive. As @lemonginger mentioned, movies and music are good places to look, but not so they're not being decrypted as he said, that's irrelevant. And don't just move them anywhere, you need to move them to a different hard drive otherwise you won't solve the problem.

If you don't have a second hard drive, consider moving files to a cloud-based storage system, such as Apple's iCloud service or Amazon's Cloud Drive. This can be either a permanent solution, or a temporary storage space until you can expand your local disk storage. Amazon may be a good choice because they offer 5 GB at no cost, and I believe you can get up to 20GB free if you purchase any MP3 from them.

In order to reduce the size of your home directory's encrypted sparsebundle, you need to log out. After you log out, if you have deleted files from within your FileVault home directory, you will see a dialog appear with a progress indicator which states "Reclaiming unused space in home directory". What this is actually doing is removing the parts of /Users/.harith/harith.sparsebundle which are no longer in use (because you have deleted files).

A side note: /Users/.harith/harith.sparsebundle is only when you are logged in. When you log out, /Users/.harith/harith.sparsebundle is moved to /Users/harith/harith.sparsebundle, and it's moved back when you next log in.

share|improve this answer
    
I currently don't have an external hard drive. Will it work if I move the movies to /tmp or somewhere else for the time being? –  harithski Sep 8 '11 at 15:06
    
@harithski: No. You will make the problem worse if you move the files to another location on your hard disk, because you'll actually be copying them, using more space... until you log out, when the space will be reclaimed. But in the end you'll be right where you started. Your best bet is to go buy a hard drive, or burn them to DVD. –  Josh Sep 8 '11 at 15:23
    
/tmp is still space on your boot volume... –  Josh Sep 8 '11 at 15:23
    
What you could do is place the content in Apple's iCloud or any other "cloud" based storage system (including Amazon.com's cloud drive which has 5GB at no cost), at least temporarily. This would free up space. –  Josh Sep 8 '11 at 15:25
add comment

It sounds like you are running File Vault and that is your Home directory. A useful tip if you are using older versions of File Vault is to store a lot of your music and movies outside of your home folder, so that they aren't being encrypted and decrypted all the time. Or upgrade to lion, which handles encryption completely differently (and much better IMHO)

share|improve this answer
    
You are right. I have 90 gigs of music and movies. I'll try moving those outside the home directory. –  harithski Sep 8 '11 at 15:01
    
@harithski: This won't save any disk space... it will just waste time, and in fact, will use more disk space until your home directory is compressed. –  Josh Sep 8 '11 at 15:24
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.