From 264a3f8f41441f1eb68c455618995a8faa091252 Mon Sep 17 00:00:00 2001 From: rmacklem Date: Sun, 9 Aug 2015 22:29:10 +0000 Subject: [PATCH] MFC: r284531 Document that a forced dismount of an NFSv3 mount when the NLM (rpc.lockd) is running can crash the system. Unfortunately this is not easy to fix, but I have left PR#200585 open. git-svn-id: svn://svn.freebsd.org/base/stable/9@286559 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sbin/umount/umount.8 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sbin/umount/umount.8 b/sbin/umount/umount.8 index cb3a97b8e..cba57b564 100644 --- a/sbin/umount/umount.8 +++ b/sbin/umount/umount.8 @@ -28,7 +28,7 @@ .\" @(#)umount.8 8.2 (Berkeley) 5/8/95 .\" $FreeBSD$ .\" -.Dd May 31, 2011 +.Dd June 17, 2015 .Dt UMOUNT 8 .Os .Sh NAME @@ -81,6 +81,9 @@ The root file system cannot be forcibly unmounted. For NFS, a forced dismount can take up to 1 minute or more to complete against an unresponsive server and may throw away data not yet written to the server for this case. +Also, doing a forced dismount of an NFSv3 mount when +.Xr rpc.lockd 8 +is running is unsafe and can result in a crash. .It Fl h Ar host Only file systems mounted from the specified host will be unmounted. -- 2.45.0