Time Machine error -1, cannot access sparsebundle (but not a NAS or WD problem)
Hello, this is my first post here, so I'll try to make it a good one!
I've been wrestling with this problem ever since I bought my Core i7 iMac (SSD + 1TB HD) over a year ago. I have not gotten Time Machine to work during that whole time. Well, I got it to work backing up directly to my internal HD, but that was just a test; it's not what I want. So let me describe this in the most clear and consise way I can:
I want the Time Machine disk to be my Synology NAS. I've configured a share on it correctly. I have an older iMac running SnowLeopard backing up to the same share on the NAS with TimeMachine successfully. But, my iMac won't do it. Whether I create the sparsebundle manually, or I let TimeMachine create it, it always gives the same "error -1". I wrote a more detailed account of my symptoms here (my message is the reply), when I thought this was a NAS-specific issue.
New development: This is not a NAS issue. I found that out by trying an experiment:
First, I tried to back up my SSD using Time Machine to my internal 1TB disk - I selected the "1 TB Secondary Disk" as the Time Machine disk. I initiated the backup, and it worked fine, putting the time machine backup in the "Backups.backupsdb" directory structure at the root of the drive. I then turned off Time Machine and "removed" the 1TB as my backup disk.
Then, I created a sparsebundle at the root of the drive using this command:
hdiutil create -size 150g -fs HFS+J -volname "Time Machine" NAME_xxxxxxxxxxxx.sparsebundle
(where the "xxxxxxxxxxxx" is my ethernet MAC address). I then selected the "1 TB Secondary Disk" as the Time Machine disk again. Time Machine found my sparsebundle and started working with it... and got "error -1"! So even on a local drive, when Time Machine tries to use a sparsebundle for backing up, it still doesn't work.
Now, I have the console log entries that were written during the Time Machine backup attempt:
----------
1/1/13 12:53:59.511 PM com.apple.backupd[4460]: Starting manual backup
1/1/13 12:54:00.780 PM com.apple.backupd[4460]: Renaming /Volumes/1 TB Secondary Disk/NAME_3c07540fdd8c.sparsebundle to /Volumes/1 TB Secondary Disk/iMac.sparsebundle
1/1/13 12:54:00.871 PM com.apple.backupd[4460]: detach: could not open /dev/disk4
1/1/13 12:54:01.260 PM com.apple.backupd[4460]: Resizing backup disk image from 161.06 GB to 999.76 GB
1/1/13 12:54:02.940 PM com.apple.backupd[4460]: Waiting 60 seconds and trying again.
1/1/13 12:55:03.378 PM com.apple.backupd[4460]: Resizing backup disk image from 161.06 GB to 999.76 GB
1/1/13 12:55:06.013 PM com.apple.backupd[4460]: Waiting 60 seconds and trying again.
1/1/13 12:56:06.619 PM com.apple.backupd[4460]: Resizing backup disk image from 161.06 GB to 999.76 GB
1/1/13 12:56:09.255 PM com.apple.backupd[4460]: Giving up after 3 retries.
1/1/13 12:56:19.263 PM com.apple.backupd[4460]: Backup failed with error: 21
1/1/13 12:56:19.265 PM com.apple.backupd[4460]: [SnapshotUtilities mountPointForVolumeRef] FSGetVolumeInfo returned: -35
1/1/13 12:56:19.265 PM com.apple.backupd[4460]: Failed to eject volume (null) (FSVolumeRefNum: 0; status: -35; dissenting pid: -1)
1/1/13 12:56:19.265 PM com.apple.backupd[4460]: Failed to eject Time Machine disk image: /Volumes/1 TB Secondary Disk/iMac.sparsebundle
----------
So, here I see it tries to resize the sparsebundle to the full volume size, and fails. I don't think I want it to do this resize, because I don't want it to fill up my whole NAS share. I searched and found this post, which specifies how to set the permissions in the sparsebundle such that it won't be resized. I followed those instructions with a new sparsebundle, and see the same problem... tries to resize, and fails.
I do not have Western Digital software installed and never have.
I've tried everything on this page.
It seems like the attempt to resize is corrupting the sparsebundle. Before starting the backup, I can mount the sparsebundle and manually copy files to it. After attempting the backup, I can mount the sparsebundle, but I cannot copy anything to it manually. Note that I can mount the sparsebundle that the MacBook Pro uses for Time Machine, and manually copy files to and from it (in other words, the correct SnowLeopard configuration does allow manual copying).
I have tried repairing the sparsebundle using the Disk Utility, which restores the ability to manually copy files to it, but Time Machine once again renders it unwriteable when it attempts to back up.
Anyone know of anything else I can try? Thank you so much!
Dan
iMac (27-inch Mid 2011), OS X Mountain Lion (10.8.2)