Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ItsAShaunParty

macrumors member
Original poster
Jun 20, 2013
45
5
This question was posed a bit ago. There were a few answers but these answers didn't work -- so I'm asking again...

Ever since my Monterey upgrade, one drive won't index. I tried to add/remove it from Privacy in Spotlight -- nothing.
The same drive also shows errors when I try to copy large folders to it. My other drives don't have this issue.

Any ideas? Is the drive failing or does it need formatting or a permissions setting or....?

Thanks!
 

DeltaMac

macrumors G5
Jul 30, 2003
13,750
4,574
Delaware
If you can't get the drive to index (and spotlight does not allow searching on the drive), the format should allow the indexing.
I can recommend that you try erasing the drive. You will want to make sure that you have the drive backed up first, then erase with Disk Utility. Standard Mac OS Extended (journaled) should work fine with Spotlight, even if your other drives are APFS. And restore with whatever you were storing on that drive.
I would not format as APFS -- unless the drive is an SSD
 

ItsAShaunParty

macrumors member
Original poster
Jun 20, 2013
45
5
It seems that the metadata indexing on the disk is disabled.
Please try this to enable it:
1. Add/remove the disk.
2. Run the command· sudo mdutil -i on /Volumes/disk name. You should see "Indexing enabled".
3. Test.
THANK YOU THANK YOU THANK YOU!

I really appreciate this!
 
  • Like
Reactions: george_i

ItsAShaunParty

macrumors member
Original poster
Jun 20, 2013
45
5
It seems that the metadata indexing on the disk is disabled.
Please try this to enable it:
1. Add/remove the disk.
2. Run the command· sudo mdutil -i on /Volumes/disk name. You should see "Indexing enabled".
3. Test.
I restarted my computer and indexing is no longer working on that drive. I tried the command again and received this:

Error: unable to perform operation. (-400)
Error: unknown indexing state.

Thoughts?
 

DeltaMac

macrumors G5
Jul 30, 2003
13,750
4,574
Delaware
Run Disk Utility/First Aid on that drive. Any errors there?

Disable indexing. Eject the drive, then re-mount. Then re-enable indexing.
 
Last edited:
  • Like
Reactions: ItsAShaunParty

ItsAShaunParty

macrumors member
Original poster
Jun 20, 2013
45
5
Run Disk Utility/First Aid on that drive. Any errors there?

Disable indexing. Eject the drive, then re-mount. Then re-enable indexing.
Did the trick. Just needed first aid. Thanks -- I was getting worked up over nothing.

Though, is this a sign to replace the drive?
 

DaveFlash

macrumors member
Nov 6, 2010
67
147
i have the same problem, diskaid does not show any problems, and it's an ssd formatted in APFS.

when I disabled it, it spat out this:

mdutil disabling Spotlight: /System/Volumes/Data/Volumes/SuperSpeedDrive2TB -> kMDConfigSearchLevelFSSearchOnly


Indexing disabled.

now spotlight is re-indexing again after remounting and re-indexing it per above command
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.