|
#1
|
|||
|
|||
Sparse image grows beyond actual data?
I have been using SuperDuper to backup to sparse images created with Disk Utility to potentially expand to the full size of the original volume. For my needs, I like this approach better than Retrospect.
I recently noticed that the sparse image continually expands with each backup to far beyond the actual data written into it. Aparently the new/changed files is written and then the old files are deleted but the disk image does not release the empty space. Is there a way to retrieve the disk space being retained without data by the sparseimage? Thanks John |
#2
|
||||
|
||||
You can potentially recover unused space in the image using hdiutil and the "compact" option. You have to do this in the Terminal.
The syntax would be: hdiutil compact image-file So, if your image is called "My Happy Image.sparseimage" and it's stored on your desktop, you'd use: hdiutil compact ~/Desktop/My\ Happy\ Image.sparseimage (the backslashes escape the spaces, the "~" means "My Home Folder"). You can also just type: hdiutil compact (include a space at the end) and then drag the image file into the Terminal -- OSX will automatically put the path in place for you.
__________________
--Dave Nanian |
#3
|
|||
|
|||
Thanks Dave,
That worked very well. John |
#4
|
||||
|
||||
Great: glad to hear it!
__________________
--Dave Nanian |
#5
|
|||
|
|||
Sparse problem too
I'm having the same troubles with sparse image sizes and after following your instructions to compact I get an error in Terminal saying, "hdiutil:compact failed - internal error".
I'm not a wizbang with Terminal. Any ideas? Thanks, Wayne |
#6
|
||||
|
||||
Sounds like it doesn't want to compact, Wayne... the image frameworks can be buggy, unfortunately, and you might have hit one of the situations where those bugs are exposed.
Are you certain you gave it a good "path" when you specified the location of the image?
__________________
--Dave Nanian |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SuperDuper Backup of AES 128 Encrypted Disk Image | rwg4 | General | 3 | 11-30-2005 10:28 AM |
Sparse image mounted over network is grayed out in backup destination list | therevolution | General | 5 | 06-25-2005 07:49 PM |
Sparse Disk Image track record? | Phil | General | 3 | 01-05-2005 01:45 PM |
Backup to Sparse Image on Linux Box Through Network | sukhjeet | General | 1 | 12-31-2004 08:08 PM |
How do I update an image? | dnanian | Frequently Asked Questions | 0 | 06-12-2004 10:05 AM |