My new Lacie D2 Network drive is Time Machine compatible. That means it’s really easy to setup with Time Machine – no hacks required, it just gets detected.
However, Time Machine is clearly designed for drives that are used ONLY for Time Machine. This is great when you have a drive that is dedicated to backing up a single machine, but this device being a NAS, the point is to use it for multiple computers, and multiple purposes.
The easiest way I’ve found to limit the size that time machine will use is to:
1) Create the share where you want to host your Time Machine files, make sure you make it Time Machine compatible.
2) Enable Time Machine. It will create the file and start ‘Preparing’. As soon as you can confirm the .sparsebundle file has been created in the share, stop time machine, and disable it.
3) Copy the filename of the sparsebundle file. (It should be something similar to your hostname_mac_of_eth_card – but I figured it’s easier to copy it.)
4) Open a terminal and run this command. Replace the comment and the filename by your own of course, as well well as the size of the volume we’re creating. In my case, I created a 40gig volume for my Hackintosh, since I don’t keep much there. You can create the file locally, it won’t really take 40g (or whatever space you specify) as it is only a maximum.
hdiutil create -size 40g -fs HFS+J -volname "Backup of Blah" blah_000000000000.sparsebundle
5) Move that file on the share you created for Time Machine purposes.
6) Turn on Time Machine and point it to that share again. It will discover the file, it should start backing up to it, and should not go over the space you assigned to it. That way you can fully use your NAS to backup many computers while keeping some space for music and videos !
