Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

time machine to SMB share, DIHLDiskImageAttach error 107

I've been trying to setup a time machine backup to an SMB share. I've read through and tried all of the suggestions on this forum and can't find any documentation around this error I'm getting in the console. This doesn't appear to be a permissions issue since I can write files to the share from my mac and copy files from the share to my mac. I have created the same userID on my mac on the smb share, and have also connected to the SMB share as an administrator to isolate any permission based issues.

Jan 7 08:10:30 jg-macbook-pro /System/Library/CoreServices/backupd[2725]: Starting standard backup
Jan 7 08:10:34 jg-macbook-pro /System/Library/CoreServices/backupd[2725]: Mounted network destination using URL: smb://Administrator@jagserver:139/macbookpro
Jan 7 08:10:34 jg-macbook-pro /System/Library/CoreServices/backupd[2725]: Backup destination mounted at path: /Volumes/macbookpro-1
Jan 7 08:10:35 jg-macbook-pro /System/Library/CoreServices/backupd[2725]: Failed to mount disk image /Volumes/macbookpro-1/. mbpro0023df831df4.sparsebundle (DIHLDiskImageAttach returned: 107)
Jan 7 08:10:35 jg-macbook-pro /System/Library/CoreServices/backupd[2725]: Waiting 60 seconds and trying again.
Jan 7 08:10:35 jg-macbook-pro /System/Library/CoreServices/backupd[2725]: Ejected Time Machine network volume.

I have connected to the SMB share as an administrator to make sure the permissions are set correctly, and I am able to copy files from the SMB share to my mac, and back again with no issues.

I followed the procedure outlined on macosxhints to create a sparse file and recv'd that file to the SMB share. The permissions in that directory are as follows:

drwx------ 1 jag staff 16384 Jan 7 08:39 .
drwxrwxrwt@ 4 root admin 136 Jan 7 08:30 ..
-rwx------ 1 jag staff 16 Jan 7 08:22 .0023df831df4
-rwx------ 1 jag staff 4096 Jan 6 12:30 . mbpro0023df831df4.sparsebundle
-rwx------ 1 jag staff 0 Jan 6 12:42 com.apple.timemachine.supported
drwx------@ 1 jag staff 16384 Jan 6 12:28 mbpro_0023df831df4.sparsebundle

The sparsebundle directory permissions are as follows:
-rwx------ 1 jag staff 499 Jan 6 12:28 Info.bckup
-rwx------ 1 jag staff 499 Jan 6 12:28 Info.plist
drwx------ 1 jag staff 16384 Jan 6 12:28 bands
-rwx------ 1 jag staff 1 Jan 7 07:33 token

Can anyone help with this error?

macbook pro, Mac OS X (10.5.6)

Posted on Jan 7, 2009 6:04 AM

Reply
10 replies

Jan 7, 2009 7:27 AM in response to Robert Carlisle

I did have the SMB share connected at one point and the password in my keychain.

However, changing this and deleting the password from my keychain still caused the same error. I "ejected" the Volume via the finder, but it remained in the Volumes directory. When I turned off TM, the SMB share threw a permissions error when trying to ls -all under the Volumes directory. I forced (sudo) umounted the SMB volume.

Then I turned TM on, it doesn't see the drive (since it's not mounted). I reconnected via Finder and did not save the password in my keychain. I configured TM, then unmounted the share via the Finder.

What's really odd is that if I click on "enter time machine", I can go into the backup (even though there's nothing in there, since this is the sparsefile i created manually).

When I went into TM preferences, it showed the volume as "macbookpro-1" (I've added a point about the macbookpro-n issue below console listing). I checked the Volumes directory via ls -all and the SMB share was not listed post TM failure.

Jan 7 10:19:39 jg-macbook-pro /System/Library/CoreServices/backupd[3097]: Ejected Time Machine network volume.
Jan 7 10:20:43 jg-macbook-pro /System/Library/CoreServices/backupd[3097]: Mounted network destination using URL: smb://Administrator@jgserver:139/macbookpro
Jan 7 10:20:43 jg-macbook-pro /System/Library/CoreServices/backupd[3097]: Backup destination mounted at path: /Volumes/macbookpro
Jan 7 10:20:43 jg-macbook-pro /System/Library/CoreServices/backupd[3097]: Failed to mount disk image /Volumes/macbookpro/. mbpro0023df831df4.sparsebundle (DIHLDiskImageAttach returned: 107)
Jan 7 10:20:43 jg-macbook-pro /System/Library/CoreServices/backupd[3097]: Waiting 60 seconds and trying again.
Jan 7 10:20:43 jg-macbook-pro /System/Library/CoreServices/backupd[3097]: Ejected Time Machine network volume.

One other oddity. When I go into the terminal and ls -all my volumes directory, I get no mount points. But TM preferences shows my disk as "macbookpro-1". I found an issue yesterday that time machine kept creating multiple mount points for the same disk (e.g., macbookpro-1, macbookpro-2, etc.). I went in and force umounted all of those.

Jan 15, 2009 3:53 PM in response to JGAtlanta

I'm having the same issue. I'm trying to use an SMB share on Ubuntu Linux 8.04 as a time machine disk location. I have created the sparsebundle file, verified it as a disk image, recreated it, etc., copied it over to the share, tried using Time Machine with and without storing the password in the keychain, tried using different orders for the procedure, etc. It all ends up with the same errors, as follows:

1/13/09 6:53:13 PM /System/Library/CoreServices/backupd[1731] Backup requested by user
1/13/09 6:53:13 PM /System/Library/CoreServices/backupd[1731] Starting standard backup
1/13/09 6:53:15 PM /System/Library/CoreServices/backupd[1731] Mounted network destination using URL: smb://anne@beast/time-capsule
1/13/09 6:53:15 PM /System/Library/CoreServices/backupd[1731] Backup destination mounted at path: /Volumes/time-capsule-2
1/13/09 6:53:15 PM /System/Library/CoreServices/backupd[1731] Failed to mount disk image /Volumes/time-capsule-2/._Anne Rabe's MacBook Pro_002332c68b96.sparsebundle (DIHLDiskImageAttach returned: 107)
1/13/09 6:53:15 PM /System/Library/CoreServices/backupd[1731] Waiting 60 seconds and trying again.
1/13/09 6:53:16 PM /System/Library/CoreServices/backupd[1731] Ejected Time Machine network volume.
1/13/09 6:54:15 PM /System/Library/CoreServices/backupd[1731] Mounted network destination using URL: smb://anne@beast/time-capsule
1/13/09 6:54:15 PM /System/Library/CoreServices/backupd[1731] Backup destination mounted at path: /Volumes/time-capsule-2
1/13/09 6:54:16 PM /System/Library/CoreServices/backupd[1731] Failed to mount disk image /Volumes/time-capsule-2/._Anne Rabe's MacBook Pro_002332c68b96.sparsebundle (DIHLDiskImageAttach returned: 107)
1/13/09 6:54:16 PM /System/Library/CoreServices/backupd[1731] Waiting 60 seconds and trying again.
1/13/09 6:54:16 PM /System/Library/CoreServices/backupd[1731] Ejected Time Machine network volume.
1/13/09 6:55:18 PM /System/Library/CoreServices/backupd[1731] Mounted network destination using URL: smb://anne@beast/time-capsule
1/13/09 6:55:18 PM /System/Library/CoreServices/backupd[1731] Backup destination mounted at path: /Volumes/time-capsule-2
1/13/09 6:55:18 PM /System/Library/CoreServices/backupd[1731] Failed to mount disk image /Volumes/time-capsule-2/._Anne Rabe's MacBook Pro_002332c68b96.sparsebundle (DIHLDiskImageAttach returned: 107)
1/13/09 6:55:18 PM /System/Library/CoreServices/backupd[1731] Giving up after 3 retries.
1/13/09 6:55:23 PM /System/Library/CoreServices/backupd[1731] Backup failed with error: 21
1/13/09 6:55:23 PM /System/Library/CoreServices/backupd[1731] Ejected Time Machine network volume.

Any ideas?

-Kyle

Jan 16, 2009 5:51 PM in response to krabe

I changed the computer's name in System Preferences -> Sharing and recreated the sparsebundle file accordingly, and now it's working. I haven't heard of other people having problems with spaces, apostrophes, or particularly long computer names, but any of these could have been a problem in my situation. (Or it could always have been totally unrelated.)

I hope that this helps somebody else!

-Kyle

Jan 26, 2009 8:26 AM in response to mrjcleaver2

Ok so i get the permission denied error from the console using networksetup -getcomputername. but I don't get the error reading from dynamic store. If i sudo the command I don't get any error. However, I'm not sharing any folders on my mac to the network. I'm wondering if this has to do a with a long device name (in my case, my laptop is named "fname-lname-macbook-pro" amounting to 25 total characters).

Jan 29, 2009 6:17 PM in response to krabe

No change. Same error using "jgMBpro" vs. "fNameLnameMacBookPro". Console results attached. I even used a successful HD TM backup, restored that into the empty sparsebundle (that I created from scratch after the rename) and copied the files to the network share via Rsync.

There are two potential issues I see:
1. the volume seems to mount "twice" (macbookpro & macbookpro-1).
2. the sparsebundle is mounted with a ._jgMBpro[hardware mac id].sparsebundle. The file is actually named jgMBpro[mac id].sparsebundle with no dot-underscore ("._"). Is this normal?

Jan 29 21:06:09 jgMBpro /System/Library/CoreServices/backupd[13403]: Backup requested by user
Jan 29 21:06:09 jgMBpro /System/Library/CoreServices/backupd[13403]: Starting standard backup
Jan 29 21:06:13 jgMBpro /System/Library/CoreServices/backupd[13403]: Mounted network destination using URL: smb://jg@jghmserver:139/macbookpro
Jan 29 21:06:13 jgMBpro /System/Library/CoreServices/backupd[13403]: Backup destination mounted at path: /Volumes/macbookpro-1
Jan 29 21:06:14 jgMBpro /System/Library/CoreServices/backupd[13403]: Failed to mount disk image /Volumes/macbookpro-1/._jgMBpro0023df831df4.sparsebundle (DIHLDiskImageAttach returned: 107)
Jan 29 21:06:14 jgMBpro /System/Library/CoreServices/backupd[13403]: Waiting 60 seconds and trying again.
Jan 29 21:06:14 jgMBpro /System/Library/CoreServices/backupd[13403]: Ejected Time Machine network volume.
Jan 29 21:07:18 jgMBpro /System/Library/CoreServices/backupd[13403]: Mounted network destination using URL: smb://jg@garveyhmserver:139/macbookpro
Jan 29 21:07:18 jgMBpro /System/Library/CoreServices/backupd[13403]: Backup destination mounted at path: /Volumes/macbookpro-1
Jan 29 21:07:19 jgMBpro /System/Library/CoreServices/backupd[13403]: Failed to mount disk image /Volumes/macbookpro-1/._jgMBpro0023df831df4.sparsebundle (DIHLDiskImageAttach returned: 107)
Jan 29 21:07:19 jgMBpro /System/Library/CoreServices/backupd[13403]: Waiting 60 seconds and trying again.
Jan 29 21:07:19 jgMBpro /System/Library/CoreServices/backupd[13403]: Ejected Time Machine network volume.
Jan 29 21:08:23 jgMBpro /System/Library/CoreServices/backupd[13403]: Mounted network destination using URL: smb://jg@garveyhmserver:139/macbookpro
Jan 29 21:08:23 jgMBpro /System/Library/CoreServices/backupd[13403]: Backup destination mounted at path: /Volumes/macbookpro-1
Jan 29 21:08:24 jgMBpro /System/Library/CoreServices/backupd[13403]: Failed to mount disk image /Volumes/macbookpro-1/._jgMBpro0023df831df4.sparsebundle (DIHLDiskImageAttach returned: 107)
Jan 29 21:08:24 jgMBpro /System/Library/CoreServices/backupd[13403]: Giving up after 3 retries.
Jan 29 21:08:29 jgMBpro /System/Library/CoreServices/backupd[13403]: Backup failed with error: 21
Jan 29 21:08:29 jgMBpro /System/Library/CoreServices/backupd[13403]: Ejected Time Machine network volume.

Jan 31, 2009 3:41 PM in response to Robert Carlisle

Robert, thank you so much! The underscore was the final piece I was missing. I did two things differently.
For those looking for a step by step guide, use the link below. If you follow this exactly, it will work with four clarifications:
http://www.readynas.com/?p=253

1. your mac network name must be short (8 char or less) with no spaces
2. backup to an attached hard drive and "restore" from your attached HD to your new "sparsebundle"
3. use rsync to copy the integrated backup file. If you use the finder, it doesn't correctly copy the pieces of the backup file
4. turn on TM, select the disk, and before it starts backing up, eject the share.

For those that may be having this problem, here are my final results without the 107 error:
Jan 31 16:36:14 jgMBpro /System/Library/CoreServices/backupd[1386]: Backup requested by user
Jan 31 16:36:14 jgMBpro /System/Library/CoreServices/backupd[1386]: Starting standard backup
Jan 31 16:36:18 jgMBpro /System/Library/CoreServices/backupd[1386]: Mounted network destination using URL: smb://jg@jghmserver:139/macbookpro
Jan 31 16:36:18 jgMBpro /System/Library/CoreServices/backupd[1386]: Backup destination mounted at path: /Volumes/macbookpro
Jan 31 16:36:33 jgMBpro hdiejectd[1403]: running
Jan 31 16:36:34 jgMBpro /System/Library/CoreServices/backupd[1386]: Disk image /Volumes/macbookpro/jgMBpro_0023df831df4.sparsebundle mounted at: /Volumes/MacTimeMachine
Jan 31 16:36:34 jgMBpro /System/Library/CoreServices/backupd[1386]: Backing up to: /Volumes/MacTimeMachine/Backups.backupdb
Jan 31 16:37:20 jgMBpro fseventsd[65]: scan_old: bailing out because device mounted @ /Volumes/Untitled has dls 0x0 and dls->fci 0x0
Jan 31 16:37:38 jgMBpro /System/Library/CoreServices/backupd[1386]: No pre-backup thinning needed: 2.59 GB requested (including padding), 33.02 GB available
Jan 31 16:42:36 jgMBpro /usr/sbin/ocspd[1428]: starting
Jan 31 16:58:21 jgMBpro com.apple.launchd[1] (org.samba.smbd[1435]): Stray process with PGID equal to this dead job: PID 1436 PPID 1 smbd
Jan 31 17:00:14 jgMBpro /System/Library/CoreServices/backupd[1386]: Copied 8969 files (2.1 GB) from volume Macintosh HD.
Jan 31 17:00:14 jgMBpro /System/Library/CoreServices/backupd[1386]: No pre-backup thinning needed: 100.0 MB requested (including padding), 29.46 GB available
Jan 31 17:00:25 jgMBpro /System/Library/CoreServices/backupd[1386]: Copied 249 files (342 KB) from volume Macintosh HD.
Jan 31 17:00:28 jgMBpro /System/Library/CoreServices/backupd[1386]: Starting post-backup thinning
Jan 31 17:00:28 jgMBpro /System/Library/CoreServices/backupd[1386]: No post-back up thinning needed: no expired backups exist
Jan 31 17:00:28 jgMBpro /System/Library/CoreServices/backupd[1386]: Backup completed successfully.
Jan 31 17:00:31 jgMBpro /System/Library/CoreServices/backupd[1386]: Ejected Time Machine disk image.
Jan 31 17:00:37 jgMBpro /System/Library/CoreServices/backupd[1386]: Ejected Time Machine network volume.

Message was edited by: JGAtlanta

time machine to SMB share, DIHLDiskImageAttach error 107

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.