Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 03-13-2010, 04:00 PM   #1
theosib
Prospect
 
Join Date: Nov 2009
Posts: 7
Corrupted Time Machine sparsebundle, can't repair

Apple still has a lot of work to do to get networked backups working well. Anyhow, I once again have a corrupted sparsebundle. This probably happened when I accidentally decided to put my computer to sleep in the middle of a backup. Anyhow, in the past, I've been able to repair images by using the instructions here:

http://blog.jthon.com/?p=31

However, this time, I'm having trouble with getting hdiutil to attach the volume so I can repair it.

$ hdiutil attach -ignorebadchecksums -noverify -verbose -nomount -readwrite Quechua_0017f2cdc7fd.bad.sparsebundle
Initializing…
CBSDBackingStore::newProbe directory, not a valid image file.
DIBackingStoreInstantiatorProbe: interface 0, score -1000, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface 1, score 1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface 3, score -1000, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
CBSDBackingStore::newProbe directory, not a valid image file.
DIBackingStoreInstantiatorProbe: interface 0, score -1000, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface 1, score 1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface 3, score -1000, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
DIBackingStoreInstantiatorProbe: interface 1, score -1000, CBundleBackingStore
DIBackingStoreInstantiatorProbe: interface 2, score -1000, CRAMBackingStore
DIBackingStoreInstantiatorProbe: interface 3, score 100, CCarbonBackingStore
DIBackingStoreInstantiatorProbe: interface 4, score -1000, CDevBackingStore
DIBackingStoreInstantiatorProbe: interface 5, score -1000, CCURLBackingStore
DIBackingStoreInstantiatorProbe: interface 6, score -1000, CVectoredBackingStore
DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
Attaching…
Error 35 (Resource temporarily unavailable).
Finishing…
DIHLDiskImageAttach() returned 35
hdiutil: attach failed - Resource temporarily unavailable

I added the -noverify and -ignorebadchecksums options later when trying to diagnose the problem.

Can anyone give any suggestions on how to deal with this problem?

Thanks.
theosib is offline   Reply With Quote
Old 03-13-2010, 04:26 PM   #2
Appleart
Triple-A Player
 
Join Date: Mar 2010
Location: California
Posts: 122
You might want to do another backup, but this time don't put your computer to sleep partway through.
Appleart is offline   Reply With Quote
Old 03-13-2010, 04:57 PM   #3
theosib
Prospect
 
Join Date: Nov 2009
Posts: 7
Yes, I did learn my lesson about not putting the computer to sleep in the middle of a backup. The issue is about repairing the corrupted sparsebundle. What I'm doing right now is restoring a backup of the backup that I had made. It's a little over a month old, and then I'll back up to that. But what I'd like is to recover the deltas between then and now from the sparsebundle that had been corrupted.
theosib is offline   Reply With Quote
Old 03-13-2010, 06:04 PM   #4
acme.mail.order
League Commissioner
 
Join Date: Sep 2003
Location: Tokyo
Posts: 6,334
It's a backup - just delete the sparsebundle and start with a fresh one.
acme.mail.order is offline   Reply With Quote
Old 03-13-2010, 06:30 PM   #5
theosib
Prospect
 
Join Date: Nov 2009
Posts: 7
Unfortunate

I realize that this is "just a backup", but I have more than a few times used time machine to restore files that have been lost, probably due to accidental deletion, months after they disappeared. This is why I'm going back to an older backup of the backup.

I've also set up a cron job to back up the backup periodically as a tbz2 file.
theosib is offline   Reply With Quote
Old 03-13-2010, 11:09 PM   #6
Appleart
Triple-A Player
 
Join Date: Mar 2010
Location: California
Posts: 122
The problem is, you can't always repair things like that. So, yes it is unfortunate, but you have to learn to be more careful with your backups.

Cut your losses and start fresh.
Appleart is offline   Reply With Quote
Old 03-14-2010, 10:01 AM   #7
agentx
Hall of Famer
 
Join Date: Feb 2003
Location: Brighton, UK
Posts: 4,120
Diskwarrior can repair the directory on a sparse image which can be prone to corruption.
I have done this with FileVault and TM sparse files in the past.
agentx is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 06:16 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.