|
#1
|
|||
|
|||
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! |
#2
|
||||
|
||||
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 Hope that helps.
__________________
--Dave Nanian |
#3
|
|||
|
|||
Ok, useful tip. Thanks!
|
#4
|
|||
|
|||
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 |
#5
|
||||
|
||||
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 |
#6
|
|||
|
|||
Ok great suggestions... my problem is my image resides on a xp machine. Will running this hidutil still work?
__________________
Brad Baker Rochen Ltd ► www.rochen.com ● Reseller Plans ● Multiple Domain Hosting ● Joomla! Core Team Member ● Joomla! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error Doing Smart Update to Sparse Image | fredhoysted | General | 5 | 11-04-2005 07:22 PM |
long time to do smart update | klassa | General | 1 | 06-24-2005 11:26 AM |
Smart update copying all files each time | fabius | General | 15 | 05-29-2005 09:29 PM |
smart update didn't work due to remaining space problems | JohnCoffee | General | 1 | 05-08-2005 09:42 AM |
How do I update an image? | dnanian | Frequently Asked Questions | 0 | 06-12-2004 10:05 AM |