Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-06-2008, 05:43 PM
digSD digSD is offline
Registered User
 
Join Date: May 2007
Posts: 6
sparse image keeps growing

Hope this isn't a dumb question:

Situation: I am doing a backup (clone) to a sparse disk image. (This is because the destination is another Mac on the network, so I believe I have no choice except to use a disk image.) [BTW, I am using 10.4.11 and have no plans to move to 10.5, in case that's relevant.]

Here's the issue: the size of the disk image grows significantly each time, even if very few files actually need to be updated (the image seems to grow more than needed). It gets worse if I actually change a significant fraction of source files: the image (destination) first grows to accommodate the changes, but then does not shrink when source files are deleted. So, very quickly, the image (destination) becomes too large for the HD on which it is located. This is true even if the destination HD is much bigger than the source HD.

I hope this makes sense... any suggestions, other than periodically deleting the image and then doing a full (rather than update) backup?

Armand
Reply With Quote
  #2  
Old 03-06-2008, 06:38 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
There are a lot of posts here dealing with this exact issue, Armand: it's the way HFS+ handles deleted space, and there's really nothing we can do to make it not expand.

To recover the space, you can use hdiutil. Open Terminal, type:

hdiutil compact

with a space after it, then drag in the (unmounted) image file. Press Return at the end, and it'll recover the free space.
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 03-10-2008, 02:18 PM
Bryanmc Bryanmc is offline
Registered User
 
Join Date: Mar 2008
Posts: 2
Quote:
Originally Posted by dnanian View Post
There are a lot of posts here dealing with this exact issue, Armand: it's the way HFS+ handles deleted space, and there's really nothing we can do to make it not expand.

To recover the space, you can use hdiutil. Open Terminal, type:

hdiutil compact

with a space after it, then drag in the (unmounted) image file. Press Return at the end, and it'll recover the free space.
Thanks for this tip!

And my post is proof that occasionally people will search before posting a new thread.
Reply With Quote
  #4  
Old 03-23-2008, 12:20 PM
cavenewt cavenewt is offline
Registered User
 
Join Date: Mar 2006
Posts: 6
Quote:
Originally Posted by dnanian View Post
There are a lot of posts here dealing with this exact issue, Armand: it's the way HFS+ handles deleted space, and there's really nothing we can do to make it not expand.

To recover the space, you can use hdiutil. Open Terminal, type:

hdiutil compact

with a space after it, then drag in the (unmounted) image file. Press Return at the end, and it'll recover the free space.
Hi Dave

What are the chances of adding this command as an option in SuperDuper? I will try to create something in Automator, but it'd sure be nice if SD could do it for us.

Always dreaming, aren't we?

Thanks, love SD and recommend it to all my clients.
Reply With Quote
  #5  
Old 03-23-2008, 12:37 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
It's something we're considering for the future...
__________________
--Dave Nanian
Reply With Quote
  #6  
Old 03-23-2008, 09:12 PM
cavenewt cavenewt is offline
Registered User
 
Join Date: Mar 2006
Posts: 6
Quote:
Originally Posted by dnanian View Post
It's something we're considering for the future...
That's so great.

So, today I was setting up my new Time Capsule, and I got to wondering why Apple's sparseimage files aren't prone to this problem...
Reply With Quote
  #7  
Old 03-23-2008, 10:37 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
They're not using sparseimages. They're using sparsebundles, new to Leopard.
__________________
--Dave Nanian
Reply With Quote
  #8  
Old 03-25-2008, 03:59 PM
cavenewt cavenewt is offline
Registered User
 
Join Date: Mar 2006
Posts: 6
Thank you, I was unaware of sparsebundles. The difference in file extension didn't register.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
network sparse image question subrama6 General 2 02-21-2008 11:35 AM
SD running on Leopard and Sparse Image Compression rfsonders General 0 12-19-2007 08:44 AM
sparse image creep revisited jotaro General 3 09-20-2007 08:20 PM
Testing a sparse image... macmidiguy General 5 05-14-2006 01:51 PM
Sparse image from aborted DMG backup? Winston General 9 10-22-2005 12:28 PM


All times are GMT -4. The time now is 01:18 AM.


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