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

Go Back   Shirt Pocket Discussions > SuperDuper! > General

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-06-2006, 08:04 AM
benbean benbean is offline
Registered User
 
Join Date: Mar 2006
Posts: 3
Smart Update image size increasing over time

Apologies if this has been answered elsewhere, my search of the forums has been fruitless so far.

I backup nightly using Smart Update to an image file on a LaCie USB drive attached directly to my Mac Mini. As I understand it, the image should always mirror exactly the files on my drive (which currently total around 35GB).

What I see happening over time is the image file size keeps growing and growing. This morning for example it was up to about 75GB. If I delete the image and wait for the next backup to complete, it's down to 35GB or so again.

Whatupwiddat? Shouldn't the size be static?

Thanks!
Reply With Quote
  #2  
Old 03-06-2006, 11:42 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,764
Send a message via AIM to dnanian
That's the way sparse image work, benbean -- Apple doesn't seem to recover deleted space very well. You can recover it by typing the following in Terminal:

Code:
hdiutil compact
(there's a space after compact), then drag the image file from Finder into Terminal. Then, press Return. It'll shrink the sparse image as much as it can.

Hope that helps.
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 03-06-2006, 11:48 AM
benbean benbean is offline
Registered User
 
Join Date: Mar 2006
Posts: 3
Ok, useful tip. Thanks!
Reply With Quote
  #4  
Old 03-18-2006, 11:46 AM
jefman jefman is offline
Registered User
 
Join Date: Mar 2006
Posts: 6
how big an operation is this "hdiutil compact"?

- does it require extra temporary space, or does it shrink it "in place"?
- is it relatively quick, or is there a lot of bit-shuffling going on?
- does it really recover most of the empty space, or just part of it?

basically i'm trying to figure out if SD is right for me. i like almost everything i've read about it, but needing a lot of "extra" space on the backup partition or image might be a show-stopper for me. my external firewire drive is usually very tight on space - i do video editing, so i don't need to back up these files but i need the space for working. i can't afford a backup sparseimage with 50GB of wasted space (or even 10GB for that matter).

i love the idea of being able to quickly do a "smart backup" every day. but if this needs to be followed by a lengthy "compact" operation (or it often fails due to not enough extra space available, requiring a full backup instead), it seems to defeat the purpose. is it really practical?

am i better off repartitioning my external drive (i'm a bit nervous about doing that operation), making a backup partition about the same size as my internal drive? or will this also routinely fail due to not enough extra space?

thanks... <jeff
Reply With Quote
  #5  
Old 03-18-2006, 11:53 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,764
Send a message via AIM to dnanian
I honestly don't know how hdiutil compact operates, because I didn't write it, and don't have the source code. I'm certain that a lot of bit shuffling is going on... but it's not always necessary: I've never had to compact my own image, and I back up to it every night.

I think you're better off partitioning the drive. If it's mostly a scratch drive (and it sounds like it is), erasing it and partitioning shouldn't be a scary thing: it's quite simple to do!

Will it fail due to not enough space? In most cases, no. There are some situations where Smart Update can fail because you've moved around large files, and the order we "see" them shows us the new files before we find the files we delete... but it doesn't happen very often. (See the Troubleshooting section of the User's Guide for a description of this.)

Does that help?
__________________
--Dave Nanian
Reply With Quote
  #6  
Old 04-05-2006, 05:13 PM
bradleebaker bradleebaker is offline
Registered User
 
Join Date: Jan 2006
Location: Australia
Posts: 6
Ok great suggestions... my problem is my image resides on a xp machine. Will running this hidutil still work?
__________________
Brad Baker Rochen Ltdwww.rochen.com
● Reseller Plans ● Multiple Domain Hosting
Joomla! Core Team MemberJoomla!
Reply With Quote
  #7  
Old 04-05-2006, 07:02 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,764
Send a message via AIM to dnanian
Yes, it'll work over the network.
__________________
--Dave Nanian
Reply With Quote
  #8  
Old 04-05-2006, 07:04 PM
bradleebaker bradleebaker is offline
Registered User
 
Join Date: Jan 2006
Location: Australia
Posts: 6
Ok kewl.. I'll stop annoying now
__________________
Brad Baker Rochen Ltdwww.rochen.com
● Reseller Plans ● Multiple Domain Hosting
Joomla! Core Team MemberJoomla!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Error Doing Smart Update to Sparse Image fredhoysted General 5 11-04-2005 08:22 PM
long time to do smart update klassa General 1 06-24-2005 12:26 PM
Smart update copying all files each time fabius General 15 05-29-2005 10:29 PM
smart update didn't work due to remaining space problems JohnCoffee General 1 05-08-2005 10:42 AM
How do I update an image? dnanian Frequently Asked Questions 0 06-12-2004 11:05 AM


All times are GMT -4. The time now is 12:43 AM.


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