Attaching high-speed external APFS solid-state drives or RAID enclosures to a Mac expands storage for video projects, code repositories, and photo archives. Spotlight’s metadata index is designed to catalogue external volume files, enabling instant searching via Command + Space or Finder search bars. When searches return incomplete file lists, fail to index newly copied folders, or report Indexing… indefinitely, corrupted Spotlight metadata stores (.Spotlight-V100), privacy blacklist exclusions, or ownership privilege conflicts are breaking the metadata engine.
Force Rebuild Spotlight Index Using Terminal mdutil
The metadata utility command-line tool provides direct control over per-volume Spotlight indexing daemons:
# Check current indexing status on the external volume
mdutil -s "/Volumes/YourDriveName"
# Erase and rebuild the index for the target APFS volume
sudo mdutil -E "/Volumes/YourDriveName"
# Turn on indexing explicitly for the volume
sudo mdutil -i on "/Volumes/YourDriveName"
- Replace
YourDriveNamewith the exact name of your external drive mounted in Finder. - Enter your macOS administrator password when prompted.
- Press Command + Space and type any search query; Spotlight will display an active indexing progress bar with an estimated time to completion.
Prune Spotlight Privacy Exclusions in System Settings
Adding and removing a drive from the privacy whitelist forces macOS to dump and re-index the volume:
- Open System Settings > Siri & Spotlight.
- Scroll to the bottom and click Spotlight Privacy….
- Click the plus (+) icon, select your external APFS drive, and click Choose.
- Wait thirty seconds, then select the drive from the list and click the minus (–) icon.
- Click Done. Spotlight will immediately begin a fresh indexing cycle across the entire disk hierarchy.
Enable Ignore Ownership on This Volume
Right-click the external drive icon in Finder, choose Get Info, expand Sharing & Permissions, and tick Ignore ownership on this volume to ensure metadata crawlers have read access across all user directories.