This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Device Notifier Does Not Unmount External Drive [solved]

Tags: None
(comma "," separated)
Sundance Kid
Registered Member
Posts
103
Karma
0
OS
When I go to reomove a usb external storage drive from device notifier it reads: Could not unmount following device: HITACHI. One or more files on this device are open within an application.

One or more files on this device are open within an application???

So what is it saying, that I've got an mp3 / jpg / whatever open in smplayer / gwenview / whatever??? If yes, then no, I have not. And how do I get it to stop doing it and unmount properly.

-------------------------

BTW, everything is mounted correctly, I used solid-hardware query 'IS StorageVolume' and got udi = '/org/freedesktop/UDisks/devices/sdb1' for the drive and get this for solid-hardware unmount

Code: Select all
$ solid-hardware unmount /org/freedesktop/UDisks/devices/sdb1
Error: The requested operation has failed.: Error unmounting: umount exited with exit code 32: umount: /media/HITACHI: target is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))


Thanks.

Last edited by Sundance Kid on Thu Dec 20, 2012 8:11 pm, edited 1 time in total.
Sundance Kid
Registered Member
Posts
103
Karma
0
OS
Any ideas on this?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Did you try running "lsof | grep /media/HITACHI/" and seeing what processes are shown as having open files on that device?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Sundance Kid
Registered Member
Posts
103
Karma
0
OS
I used one of your old posts to get as far as I did. Got the rest now, thanks.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I have now marked the thread as solved - good to see you found the solution you needed.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Sundance Kid
Registered Member
Posts
103
Karma
0
OS
Sorry, forgot to mark it as solved and I forgot to mention the culprit. It's one of those multiple nepomukservicestub entries I get when I plug the external drive in (I have one normally with basic nepomuk settings active). I have to kill the processes in system monitor before I can 'eject safely', or whatever the dialogue is.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If I recall, this is a known bug in the Nepomuk Indexer / File Watcher at this point in time (I recall it being mentioned by developers).
I am not sure of the status of a bug fix for it however.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft