Slow "moving items to trash" when Spotlight on second internal drive is active.

Discussion in 'MacBook Pro' started by Dizzyrocks2001, Jun 9, 2015.

  1. Dizzyrocks2001 macrumors newbie

    Dizzyrocks2001

    Joined:
    Jun 9, 2015
    Location:
    Mississauga, Ontario, Canada
    #1
    So I have a Mid 2012 non-retina 15" Macbook Pro (2.3Ghz, 8Gig RAM). I replaced the optical drive with an SSD using OWC's Data Doubler. The SSD in the optical bay contains Mac OS X Yosemite 10.10.3 and all my apps, the HDD in the original hard drive bay contains all my music, photos, and movies. Everything runs like a dream except for one problem - when deleting files off my HDD I get the message "preparing to move to trash" and it hangs for like more than a minute and ktext in Activity Monitor goes nuts. I've narrowed it down to an indexing problem because if I go into Spotlight preferences and add my HDD to privacy (i.e. have spotlight ignore that drive) then the hanging while moving to trash issue disappears. The problem is that when that drive is excluded from Spotlight I can't conduct a search for any files on that drive. I'm a DJ and I have about 35,000 songs on the HDD so being able to use Spotlight to find a song is kinda important. From what I can gather I think the following is going on - when deleting a file Spotlight has to modify its index to reflect that the file is no longer there. But why is this such a CPU intensive task??? Moving files between the SSD and the HDD is no problem but everything goes haywire when moving a file from the HDD to the trash. One thing I should mention: if I drag file from my HDD to the desktop (i.e. move it from the HDD to the SSD), it makes a duplicate of the original file (because it's copying from the HDD to the SSD) - no problem there. But if move the original file from the HDD to the Trash and empty the Trash and then go to move the copy of of that file from the desktop (SSD) to the Trash I'll get the message "preparing to move 2 items to the trash" even though it's just one file and the original from the HDD has already been deleted. What the hell?

    So in short, why is Spotlight having such a hard time changing the index of one measly file being moved to the Trash just because it's from my second internal drive, and what can I do to fix it?
     
  2. Samuelsan2001 macrumors 603

    Joined:
    Oct 24, 2013
    #2
    Swap the drives over.
     
  3. Dizzyrocks2001, Jun 9, 2015
    Last edited: Jun 9, 2015

    Dizzyrocks2001 thread starter macrumors newbie

    Dizzyrocks2001

    Joined:
    Jun 9, 2015
    Location:
    Mississauga, Ontario, Canada
    #3
    I thought of that but would that make a difference? Both drives are still connected to the motherboard via SATA cables so how would swapping the drives cause OS X to read them any differently? Also, I've read that there are drawbacks to having the HDD in the optical drive bay because 1) the sudden motion sensor can't be applied, 2) the fan for the optical bay won't keep the HDD cool enough.

    So by swapping the drives I may eliminate one problem but would in turn create a new one.
     
  4. Samuelsan2001 macrumors 603

    Joined:
    Oct 24, 2013
    #4
    All I have is anecdotal evidence that it works slightly better and the swap, it should be quick and easy and worth a try. Never heard anything about any fans problems there are 2 in that macbook for the whole machine they are not dedicated to any particular part.
     
  5. Dizzyrocks2001 thread starter macrumors newbie

    Dizzyrocks2001

    Joined:
    Jun 9, 2015
    Location:
    Mississauga, Ontario, Canada
    #5
    I hear what you're saying. I wasn't too worried about the fan thing because the HDD isn't spinning all the time like it would be if it contained OS X and my apps, but the last thing I want is my HDD becoming damaged because I would no longer have the benefit of the sudden motion sensor thus resulting in the disk drive heads on my HDD scraping up my disc.
     
  6. Dizzyrocks2001 thread starter macrumors newbie

    Dizzyrocks2001

    Joined:
    Jun 9, 2015
    Location:
    Mississauga, Ontario, Canada
    #6
    Update: since my last post I decided to start from scratch by wiping my SSD clean and reinstalling OS X and all my apps. I also erased my HDD (the one that contained all my music) and reloaded everything back on. This seems to pretty much have fixed the problem I had with music files from "the big music folder" being slow to delete and move around. There's a little bit of lag (which is to be expected when one folder has 33,000 mp3s in it) but I no longer get the lingering "preparing to move items to trash" message. And when I say "lag" I mean about 1 second when moving or trashing a file, as opposed to the 1-2 minutes I was experiencing before, so this is great!

    Moving forward, should I be using something like Onyx to maintain the clean state of my MacBook? Or will my MacBook eventually get sluggish again over time? I'd prefer not to have to wipe my MacBook clean and reinstall everything if possible.
     

Share This Page