Apple Event: May 7th at 7 am PT

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

Time Machine 'Waiting for index to be ready': what does it really mean?

Backing up to my Time Capsule has started frequently reporting this message:


Aug 9 18:28:15 aron-mbp com.apple.backupd[12195]: Waiting for index to be ready (100)


...and similar messages like:


Aug 9 18:32:39 aron-mbp com.apple.backupd[12195]: Waiting for Spotlight to finish indexing /Volumes/Time Machine Backups/Backups.backupdb


The Time Machine debugging page has little to say about this message...it suggests that the backup hard drive might be failing. I just replaced my drive and it's exhibited no other troubles, so I don't really think that's the problem. Based on monitoring processes, it seems like my machine is really indexing (for Spotlight) the backup volume. But it seems to be doing it all the freakin' time! Recently it kept the Time Capsule volume mounted pretty much constantly waiting for the index to be built. I finally plugged my machine straight into the Time Capsule via Ethernet to speed up the process...and indeed it seems to have completed after a few hours. However, based on previous experience, I expect this to be a temporary solution.


Note that my backups do complete, if a bit slowly at times. My machine is just keeping the backup volume mounted a lot more than I'd like.


My questions are:

  • Is this normal/intended?
  • Is there something wrong with my Spotlight index or other settings?
  • Is there any way to get details about the indexing status of the backup volume? I know about 'mdutil -sa', but that's not very granular.


I've tried rebuilding the Spotlight index on this volume, which seems to have made little difference.

15" Unibody MBP5,1, Mac OS X (10.6.3), Ooh shiny

Posted on Aug 9, 2011 10:24 PM

Reply
6 replies

Aug 19, 2011 3:00 PM in response to ardnopes

I've also had this problem since 10.7 (&10.7.1), with constant re-indexing of the time capsule disk.


I may have solved the problem though - yesterday I deleted the spotlight index on the backup disk (by making it visible using Tinkertool ['.Spotlight-V100 directory'], then deleting it), in order to force the creation of a totally new index.


I speeded this the re-indexing by connecting my MacBook Pro by ethernet to the time capsule (it still took some hours though).


It's just told me it was re-indexing again, but this only took minutes not hours, so is presumably just incremental - lets see if it is properly fixed...

Jan 6, 2012 10:47 AM in response to ardnopes

Here's what I had to do to fix "Waiting for index to be ready (100)" error:


1.) Mount the {MyTimeMachine}.sparsebundle disk image


2.) Delete the .Spotlight-V100 folder w/ this command: sudo rm -rf /Volumes/{MyTimeMachine}/.Spotlight-V100


2.) Open Spotlight preferences, go to Privacy tab, and add the {MyTimeMachine} volume to list of excluded directories


3.) Unmount/eject {MyTimeMachine}


4.) Run "Backup Now"


Where {MyTimeMachine} is a variable = the name of your sparcebundle disk

Jan 25, 2012 11:10 PM in response to ardnopes

What seems to be happening is that the spotlight index on the backup disk is becomming corrupted, perhaps as the result of a system crash on the machine that is being backed up.


Here's a solution that worked for me, that reindexes the backup disk. It's quite a bit less risky than performing a recursive delete (rm -rf) as suggested above.


1) Disable Time Machine in system preferences.

2) Enter Time Machine to mount the backup image, then exit Time Machine.

3) Disable spotlight indexing of the backup image with:


sudo mdutil -i off /Volumes/Time\ Machine\ Backups


4) Re-enable spotlight indexing of the backup image with:


sudo mdutil -i on /Volumes/Time\ Machine\ Backups


5) Wait while mds runs (you can monitor its progress in activity monitor).


6) After mds no longer is utilizing any CPU or transmitting over the network, re-enable time machine.


7) Force a backup to run immediately.


8) The backup runs without the indexing problem occurring, backs up my data very rapidly, and completes all operations in about 4 minutes.

Time Machine 'Waiting for index to be ready': what does it really mean?

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