A follow-up to this post: http://churnd.net/2009/03/09/set-time-machine-image-size/
Apparently Apple got keen to what people were doing regarding manually limiting the sparsebundle image size. As of update 10.6.3 or so, they “fixed” Time Machine to where it will resize the sparsebundle back to encompass the whole volume. I cannot think of one good reason why Apple would do this, unless there is some problem caused by it. I’ve been using it successfully for 5 different clients for a year.
Good news is, we can reclaim our resizing superpowers & make them stick. Doing so also involves delving into the command line, but if you did the previous command successfully, this one won’t be any more difficult.
Basically you have to run this:
[sourcecode language=“bash”]sudo chmod a-w bundlename.sparsebundle/Info.*[/sourcecode]
then (the previous command):
[sourcecode language=“bash”]sudo hdiutil resize -size 250g bundlename.sparsebundle[/sourcecode]
This command removes all write privileges to the Info.plist and Info.bckup files inside the sparsebundle being used with Time Machine. Resizing any sparsebundle requires being able to write to these files, so if they can’t be written to, it’ll just complain that the resize can’t be completed in your system logs (see Console.app). I have not tested it fully, but I think this command must be run on the server itself.
Now you don’t have to sit by and watch helplessly as Time Machine fills up the volume you’re backing up to. This is the kind of control that Apple should have built into Time Machine anyway.
Keep in mind though… if you ever need to resize your sparsebundle again, for example, you get a bigger HD & start using more space than the sparsebundle can contain,
you’ll need to un-do the first step above before you can grow it:
sudo chmod a+w bundlename.sparsebundle/Info.*
Actually, I don’t think you need to do this chmod because you’re using sudo…
[sourcecode language=“bash”]sudo hdiutil resize -size 500g bundlename.sparsebundle[/sourcecode]
Not too complicated, is it? That’s why I can’t figure out why Apple wouldn’t want to give this functionality to users via the Time Machine preference pane.