Hint and kinks: Difference between revisions

From GammaSphere DAQ
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:


The solution is to find the offending process and kill it cold.  
The solution is to find the offending process and kill it cold.  
If the disk is labeled '120514a' then the steps are:
If the disk is labeled '120514a', then the steps are:


   lsof | grep 120514a
   lsof | grep 120514a

Revision as of 16:57, January 23, 2013

unmounting a USB disk

Sometimes a user has cd'ed to a USB disk and then if someone else tries to unmount the disk they will get this message:

 looking for message, stand by

The solution is to find the offending process and kill it cold. If the disk is labeled '120514a', then the steps are:

  lsof | grep 120514a

you might see something like this

bash 8367 dgs cwd DIR 8,49 20480 61341743 /media/120514a/user/cs

you can now kill this process as

  kill -9 8367

and then you can do

  umount /media/120514a