NFS issue

William A. Mahaffey III wam at hiwaay.net
Tue Jul 21 22:27:51 UTC 2015


On 07/21/15 14:29, William A. Mahaffey III wrote:
>
>
> I booted up an old machine yesterday (predecessor to this box, as it 
> happens) to recover some stuff (which it turned out I already had 
> :-/). I accessed its HDD using automount. I looked around, figured out 
> I already had everything I needed, su'ed to root & poweroff'ed, 
> *before* the automount on this box had a chance to unmount the HDD 
> from the other box. This got me an error message in my messages file, 
> but nothing else, except that whenever I do a 'df' since (which would 
> show the automounted HDD's from other boxen), the process hangs & I 
> have to kill the (rxvt) terminal & start another one. I explicitly 
> unmounted the offending HDD w/ 'umount -f', but still no joy. How do I 
> get this fixed short of rebooting (if possible) ? TIA & have a good one.
>
> P.S.:
> [root at kabini1, /etc, 2:29:37pm] 351 % uname -a
> FreeBSD kabini1.local 9.3-RELEASE-p13 FreeBSD 9.3-RELEASE-p13 #0: Tue 
> Apr  7 03:01:12 UTC 2015 
> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
> [root at kabini1, /etc, 2:29:39pm] 352 %
>
>

Followup:

[root at kabini1, /etc, 5:32:23pm] 379 % ps -alx | grep df
    0    17     0   0 -16  0      0     16 sdflush  DL   ?? 0:37.48 
[softdepflush]
1110  1186  1174   0  20  0 162608  17420 select   S    v0 2:36.61 xfwm4 
--display :0.0 --sm-client-id 26f798dfa-3f9e-11e4-ba85-d0509913e385
1110 36442     1   0  20  0  12092   1760 rpccon   D+    9- 0:00.18 df -Tk
    0 46735  1669   0  20  0  16336   2024 piperd   S+   10 0:00.00 grep df
    0 21036  1707   0  20  0  12092   1752 newnfs   D+   17 0:00.00 df -Tk
    0 36722     1   0  20  0  12092   1752 newnfs   D    17 0:00.00 df -Tk
[root at kabini1, /etc, 5:32:30pm] 380 % killall -9 df
[root at kabini1, /etc, 5:32:38pm] 381 % ps -alx | grep df
    0    17     0   0 -16  0      0     16 sdflush  DL   ?? 0:37.48 
[softdepflush]
1110  1186  1174   0  20  0 162608  17420 select   S    v0 2:36.62 xfwm4 
--display :0.0 --sm-client-id 26f798dfa-3f9e-11e4-ba85-d0509913e385
1110 36442     1   0  20  0  12092   1760 connec   D+    9- 0:00.18 df -Tk
    0 47421  1669   0  20  0  16336   2024 piperd   S+   10 0:00.00 grep df
    0 21036  1707   0  20  0  12092   1752 newnfs   D+   17 0:00.00 df -Tk
    0 36722     1   0  20  0  12092   1752 newnfs   D    17 0:00.00 df -Tk
[root at kabini1, /etc, 5:32:39pm] 382 %

How do I kill these infernal df processes :-/ ? TIA & have a good one ....

-- 

	William A. Mahaffey III

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

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.



More information about the freebsd-questions mailing list