Shirt Pocket Discussions

Shirt Pocket Discussions (http://www.shirt-pocket.com/forums/index.php)
-   General (http://www.shirt-pocket.com/forums/forumdisplay.php?f=6)
-   -   sparseimage gets bigger and bigger after every SmartUpdate (http://www.shirt-pocket.com/forums/showthread.php?t=5887)

mleinart 10-26-2009 01:31 AM

sparseimage gets bigger and bigger after every SmartUpdate
 
So I've been backing up to the same sparseimage (located on a network drive) about once a month for the past few months. Over that time, the amount of space used by my drive has remained about the same - between 50 and 60G. When I first created the image, it was the same size as the drive. Now I noticed before backing up that it was about 90G (after last backup). After running another backup today, it's 94G. It appears that SmartUpdate is only adding and not erasing as it should.

Does anyone else see this? Running 2.6 (v85)

sjk 10-26-2009 01:50 AM

It's normal behavior. You have to compact sparse images to regain unused space. Here's an old Macworld article about it:

Ease sparse disk image compaction

Same also applies to sparse image bundles added in Leopard.

RobLewis 10-26-2009 09:03 PM

Here's the short answer:

In Terminal, enter this command:

hdiutil compact "Name of your backup.sparseimage"

Then go do something else for a while.
As noted above, sparse images can grow by themselves, but they need help to shrink.

dnanian 10-26-2009 10:15 PM

Well, more like "path-to-your-backup-image" (you can drag the image file into Terminal and it'll type out the path for you).

mleinart 10-27-2009 11:44 AM

Ah ok, that makes a lot of sense. Would be real nice if I could do the compact in linux too but that doesn't look to be the case. I'll just have to make sure to compact it every few backups.

Thanks!


All times are GMT -4. The time now is 02:09 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.