Rebuild Spotlight Index in OS X To Solve Mac’s Storage Issue

dsc 0689

Spotlight search is one of the best things about OS X, and with Yosemite it’s even better. It can do calculations, conversions, and even look up movie information for you. But it is best used to find and launch obscure files and folders instead of searching for them on your system.

Spotlight is also very fast. But that’s because it’s good at pre-indexing files. This helps Spotlight return search results a lot faster than if it were actually searching your entire computer every time you type something.

But this index building can sometimes go wrong and turn your Mac into a piece of unusable aluminum. Some users are reporting issues like Spotlight filling the entire storage drive with bogus index files or essentially bringing the entire system to a halt. If that’s what’s happening to you, don’t worry, we have a solution.

dsc 0685

How to rebuild the Spotlight search index

We will use Terminal to rebuild the index. You can do this for the primary hard drive/solid state drive partition, secondary partition, or even external drives.

Note: Use caution when using Terminal on a Mac. Follow the instructions carefully.

Screenshot 2014 11 09 At 12:45 16 pm

To get started, visit Applications -> utilities and launch End application. Now, paste in the following command.

sudo mdutil -E /

Terminal will ask you to enter your system password. Once you have imported it, it will start rebuilding the index file for the default hard drive.

Screenshot 2014 11 09 At 12 45 55 PM

How to rebuild the index for an external drive

To do the same thing for external drives, enter the following command (replace “[DriveName]” with the drive letter).

See more:  How to Fix “League of Legends failed to launch” Error

sudo mdutil -E /Volumes/[DriveName]

If you are not confident enough with the command line to execute this command, there is an easier way.

Copy in the first part of the command:

sudo mdutil -E /

And drag the drive in question from the Finder window right into the Terminal window. This will automatically paste in the path for the drive. Press Enter and the rebuild will begin.

Does this make your Mac usable again?

Did the above solution work for you? Is your Mac well again? If so, let us know in the comments section below. If not, please comment, we will try to help you.

Categories: How to
Source: thpttranhungdao.edu.vn/en/

Rate this post

Leave a Comment