Bug 280179 - KDE keeps my external hard drive busy after mounting
Summary: KDE keeps my external hard drive busy after mounting
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-16 10:27 UTC by Kalsan
Modified: 2011-10-26 11:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalsan 2011-08-16 10:27:11 UTC
Version:           4.6 (using KDE 4.6.2) 
OS:                Linux

I have a 1TB external HDD with a huge amount of files on it. Every time I mount that HDD on my Kubuntu 11.04, it keeps it busy for several minutes.

Reproducible: Always

Steps to Reproduce:
Mount external HDD with a lot of files on it

Actual Results:  
HDD is busy for several minutes.

Expected Results:  
HDD should just be mounted, without being parsed or whatever.
Comment 1 Christoph Feck 2011-08-16 13:38:55 UTC
Can you confirm that disabling Desktop Search (Strigi indexer), or excluding the drive from the list of indexed directories helps to resolve that issue?

You could also check the process list (Ctrl+Esc) to see the names of the processes that are working while the disk accesses happen.
Comment 2 Kalsan 2011-08-16 16:32:41 UTC
Active processes are: mount.ntfs, nepomukserver, plasma-desktop, kdeinit4, krunner.
Disabling Strigi does not have any effect. Did not restart the computer however.
Indexing removable devices is disabled. Under Indexed Folders, /media/myhdd is not activated. Where should I add the exclusion: On the part where it already says: *~, *.part, *.o, ...?
Comment 3 Christoph Feck 2011-08-20 10:01:46 UTC
It could be Nepomuk setting directory notifications, Linux currently has no other way to find out where a file has been moved to.

Note that this is not related to indexing. If disabling Nepomuk does not change anything, it could also be related to NTFS checks. Try mounting it in Windows and do a clean unmount there.
Comment 4 Kalsan 2011-08-20 21:04:53 UTC
Disabling Nepomuk BEFORE mounting the Hard Drive works.
However, if I add /media/Expansion\ Drive/ to the exception list under User-Defined Index Folders -> Exceptions for Strigi Index, the HDD is still being accessed. So how do I keep Nepomuk from accessing my HDD?
Comment 5 Christoph Feck 2011-08-21 02:02:56 UTC
Thanks for the update, reassigning to Nepomuk developers.
Comment 6 Sebastian Trueg 2011-10-26 11:51:32 UTC
External storage media handling has been significantly improved in KDE 4.7 and last (hopefully) bugs have been fixed in 4.7.3. Now the external disk will only get indexed if you choose to do so. And the only work that will be done when mounted is to update that optional index.