I've been trying to debug a "Waiting for index to be ready" issue with my Time Machine volume, and one piece of advice that I've encountered is re-creating the Spotlight index on the volume.
To do this I ran the following commands (as
mdutil -i off /Volumes/Backup rm -R /Volumes/Backup/.Spotlight-V100
However, I'm now trying to re-enable Spotlight with the reverse of the first command, but this is what I'm getting:
mdutil -v -i on /Volumes/Backup /Volumes/Backup: Indexing and searching disabled.
It simply doesn't want to do it, and I can't figure out why. I've tried manually recreating the
.Spotlight-V100 with ownership set to
root:wheel and mode set to
700 (exactly as the folder on other volumes is configured), and while
mdutil has now created a
VolumeConfiguration.plist file, it still won't enable indexing.
I can't find anywhere to get more information; the
-v option of
mdutil doesn't give any additional output, and nothing extra seems to be logged anywhere. There doesn't appear to be any physical problem, as the drive is new and reporting no I/O errors or other issues; aside from the "waiting for index" slow-down, Time Machine is otherwise working perfectly and I can view the contents of its backups without any problems.
Anyway, are there any other steps that can be followed to force Spotlight to re-index the drive, or find out why it's failing to do-so?