On Mon, 01 Sep 2014 21:32:37 -0700 David <[email protected]> dijo: >On 09/01/2014 08:41 PM, John Jason Jordan wrote: >> My laptop has a share for /media so that my desktop can access a USB >> drive external to the laptop. Sometimes it just works, more often it >> requires considerable swearing to get it to work. This evening I have >> exhausted my store of expletives in one language and am starting on >> another language. >> >> The laptop us Xubuntu 14.04.1 and the desktop is Xubuntu 12.04. >> >> If I try to mount the share on the desktop at the command line the >> command just hangs forever. No error messages; it just fails to do >> anything. If I try to umount it I get the dreaded "device is busy." >> >> Does anyone have any suggestions? Does anyone know why NFS is such a >> PITA? > >NFS normally just works, but when you get the "device busy" response, >that generally means the filesystem is in use by some process. > >This could be a shell where you did a cd into the share, it could be a >background process you have running, or a background sub-process for >an application you are using. > >Try using lsof (list open files) as root with the path you are trying >to umount. This should give you the PID of whatever is holding the >device open, and from there you can determine how to resolve the >problem so you can unmount the share.
lsof command on the desktop also hangs, the same as trying ls on the /media/jjj directory. Trying to view the /media/jjj directory in Thunar also hangs Thunar. I did discover a clue: The GUI task manager on the desktop shows the mount command twice, and I cannot kill either one (no permission). The mount command is "sudo mount.nfs 192.168.0.126:/media /media/jjj/Devil-Bonobo/ -o rw," where ...126 is the laptop. How do you kill a mount command? _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
