Jump to content

[Help] mdworker[1097]: (Warning) Import: Bad path:


Allan
 Share

13 posts in this topic

Recommended Posts

after I updated OS X ML to Mavericks in MacReal style. 

K4lNId1.png

 

 

everything worked fine.

but after i test Sleep, i have this error message in the Console. what can be?

 

ASgu5KV.png

 

 

 

My Notebook hung up once.

 

checked the system state in DU, and everything oks.

and my HD is ok too.
Link to comment
Share on other sites

Solved the problem.
 
This problem does not happen only in Hacks, but in any Mac that has the Mavericks installed.
The Mavericks have bug with exFAT partitions, we can try to solve two methods:
 

1 - Exclude Items Using Spotlight’s Preferences

 

Instead of turning the whole thing off, you can simply exclude certain drives or folders from Spotlight by using its Preferences. Head to System Preferences > Spotlight > Privacy.

20130724_howtomanagespotlight_3.jpg

2 - Disable Spotlight:

 

Disable:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

If you find that this step was a unecessary, enter the following command to restore Spotlight’s functionality.

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

Note that after reenabling Spotlight, it will need to reindex your drive(s), a process that may take a while depending on the size of the drives and the number of changes that occurred since you disabled Spotlight. You can measure the progress of the rebuild by clicking on the Spotlight icon in the menu bar.

 

20130724_howtomanagespotlight_2.jpg

 

That's it!!  :thumbsup_anim:

 

Link to comment
Share on other sites

  • 3 weeks later...

You said it yourself, disable Spotlight indexing on that drive.

 

Or this, found it with a quick google search:

 

Add a file called ".metadata_never_index" to the root of all your ExFAT partitioned volumes. It prevents Spotlight from processing that volume on any Mac you plug it into without having to setup settings on every Mac.

You can't create files starting with dot in the Finder so do it via the terminal.

1. Open the terminal and go to the root of the ExFAT partition.
2. type the line below exactly and pressing enter.
touch .metadata_never_index

3. Check it was created by typing in:
ls -la

 

I have an entire 1TB drive in exFAT format, I've never seen this issue myself.

  • Like 1
Link to comment
Share on other sites

now unable to enable root user.

 

I did so: System Preferences > Users & Groups > Login Options > Network Account Server : Join > Open Directory Utlility > Search Policy  and go to Edit menu:

Screen Shot 2014-01-20 at 11.27.37 AM.png

 

In Terminal, use this: su root.

 

Now the doubt is, how to create touch. metadata_never_index within the partitions.

 

how to enter the partitions in as root?

Link to comment
Share on other sites

That's great, but just FYI I think you misunderstood the instructions:

"Add a file called ".metadata_never_index" to the root of all your ExFAT partitioned volumes"

 

"root" does not have anything to do with sudo or the "root user". Root in this case means the directory root of the drive, also known as "/".

 

You know, root as in the root of a tree, in this case a "directory tree". So for example if the name of your exFAT volume is "passaralho" you would open terminal and enter

 

cd /Volumes/passaralho

 

....which would put you at the root of that drive.

Link to comment
Share on other sites

Now I understood friend!

 

thank you so much.

look what I did.

 

in Terminal:

su root

 

now i enter as root:

sh-3.2# cd /Volumes/Mac

sh-3.2# touch .metadata_never_index

sh-3.2# ls -la

 

After that appears:

Screen Shot 2014-01-20 at 10.49.27 PM.png

 

Obrigado GV.  :wink_anim: 

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...