3

On my mac I have Time Machine configured to backup to a Sparse Disk Image Bundle that is located on my Raspberry pi, which it connects to over SMB and mounts on boot. As long as the mac is awake there is no problem at all to backup or retrieve files.

However, the problem occurs during sleep when Time Machine tries to backup during Power Nap. Once it wakes from sleep it displays the error message that TM backup failed and in the console I can find the somewhat more detailed message: "No destination resolvable"

To me it seems that during sleep the system dismounts all mounted volumes because it loses ethernet access at the point when it goes to sleep, but once it briefly wakes during Power Nap it does not remount the volume from the SMB share, but rather just looks for the previously mounted Sparse Disk Image Bundle at /Volumes/MyBackup/.

Once the system wakes fully from sleep it remounts the disk image without any problems.

So my questions is: is it possible to have the mac remount the Sparse Disk Image Bundle that is located on an SMB share to backup during Power Nap?

  • Would you be willing to document how you set up the RPi if I asked how to do what you have done here? sounds cool – bmike Jul 26 '14 at 19:23
  • @bmike I'm afraid that I am not the right person to answer that question. My experience with Macs is limited and to set it up on the RPi I mainly followed guides on how to configure TM for a NAS in general - something I cannot take full credit for or explain in detailed way. – nStgmk Jul 27 '14 at 8:20
  • I appreciate the response. I'll keep looking :) – bmike Jul 27 '14 at 8:35
1

No - Power Nap is extremely selective about what activities it will take on and thus far, no third party hooks or API is provided by Apple to allow someone to easily modify what happens when the OS wakes from a nap.

Clearly, someone could reverse engineer things and come along with a solution, but that hasn't happened yet. If they do, we can surely come with a better answer but at the moment you get the behavior out of the box which isn't going to accomplish what you ask.

  • As a side note, I even get those drive not connected errors when I have USB drives connected to a powered hub. I believe the OS just isn't handling connected drives in a repeatable, timely manner when waking from nap. I've considered disabling it as the notifications are basically a constant false alarm for me when I'm connected in clamshell mode to my monitor. – bmike Jul 26 '14 at 19:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .