mount.ntfs high cpu ubuntu

My computer suffers from sudden and continous hard drive load strokes. Sometimes it lasts for a few minutes and hence work is impossible because everything goes very slow.I’m trying to locate the cause because it makes me nervous :)Today I found one of…

My computer suffers from sudden and continous hard drive load strokes. Sometimes it lasts for a few minutes and hence work is impossible because everything goes very slow.
I’m trying to locate the cause because it makes me nervous :)

Today I found one of the causes. It’s updatedb.mlocate script which is responsible for scanning hard drives and build locate (a location of files) database. But due to some NTFS driver limitations that poor thing thinks that NTFS share is always new and needs to be rescan at every scheduled scan.

How to make sure that you have the same problem? When hard drive starts to choke check all IO processes with

sudo iotop

and look for updatedb.mlocate or mount.ntfs processes with high IO load. If this is the case try to fix it.
The solution is to point NTFS shares as non-scannable. To do this edit

/etc/updatedb.conf

and add your NTFS mount paths to PRUNEPATHS list. Although NTFS is listed in PRUNEFS entry that dummy mlocate script still would scan NTFS shares.

All that I found on Ubuntu forum.

You May Also Like

Devoxx 2012 review


I'm sitting in a train to Charleroi, looking through a window at the Denmark landscape, street lights flashing by, people comming home from work, getting out for a Friday night party, or having a family dinner. To my left, guys from SoftwareMill are playing cards.
I don't really see them. My mind is busy elsewhere, sorting out and processing last two days in Antwerp, where 3400 developers, from 41 different countries, listened to 200 different sessions at the Devoxx, AFAIK the biggest Java conference this year.

33rd Degree day 3 review

At the last day of the conference, I've decided to skip the first presentations, and get some sleep instead. I was afraid that Venkat's show is going to be too basic, I will see Jacek Laskowski talking about closure at 4Developers, which I'm kind of s...