News for hackers. Stuff that matters.
Re:The AeroFS Private Cloud by pedrocr on Tuesday December 10, 2013 @01:42PM (#6882683)
>My goal is to allow my Mac to use it for Time Machine backups

Note that this is completely unreliable. Time Machine isn't built to work over the network. The network support is badly hacked together and will destroy your backups on network faults. They basically treat the network volume as a block device that gets corrupted when the connection fails. Using it over wifi makes this painfully obvious.

[deleted]
Re:The AeroFS Private Cloud by pedrocr on Tuesday December 10, 2013 @02:11PM (#6882909)
I'm positive about Time Machine over AFP. iSCSI was indeed pointed out as a potential avenue with less issues, but if I recall didn't really fix it completely. If you're running wired+iSCSI you're probably much less prone to this. Try and yank some network cables during backup and see how it handles it.

I ran into more issues than most because the particular AP I have at home doesn't work well with the macbook air I was trying to backup and resulted in a lot of disconnects. So it was a bit of a stress test but the issue is real and well documented. You can find instructions all over the web on how to fsck sparsebundles to try and get back your backups[1].

This is particularly annoying because Time Machine is supposed to be a user friendly version of versioned backups like you can do with rsync+hardlinks. I have a script to do that for me on my personal linux machine and would love to be able to deploy TimeMachine+AFP for the rest of the family. Unfortunately apple decided it really needed to have hard-linked directories for just this case and so decided that the way to do that over the network was to have a single binary blob with a HFS image on the server instead of the proper files in the filesystem (filesystems don't usually support hard linked directories, HFS was hacked to do it). That way you not only lose direct access to the individual files on the server you also lose the whole backups when there's disk corruption...

I should probably have a look again to see if iSCSI is a viable solution to this.

[1] http://www.garth.org/archives/2011,08,27,169,fix-time-machin...

Re:The AeroFS Private Cloud by kika on Tuesday December 10, 2013 @03:08PM (#6883317)
I can confirm that. I've lost a TM backup recently made over the (wired) network. The cable failed, backup in progress hung, TM volume remained locked until I reboot, I rebooted and sparsebundle got screwed up. TM started it all over again.
Re:The AeroFS Private Cloud by pedrocr on Tuesday December 10, 2013 @03:13PM (#6883356)
Check the link in my post. If you still have the sparsebundle you can probably recover it with an fsck.
Re:The AeroFS Private Cloud by kika on Tuesday December 10, 2013 @03:18PM (#6883395)
Well, luckily I didn't _need_ this backup, so I just deleted the bundle and started over.