From owner-freebsd-questions Wed Sep 27 13:35:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id C043C37B424 for ; Wed, 27 Sep 2000 13:35:14 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id PAA12446; Wed, 27 Sep 2000 15:35:08 -0500 (CDT) (envelope-from dan) Date: Wed, 27 Sep 2000 15:35:08 -0500 From: Dan Nelson To: Ken Bolingbroke Cc: freebsd-questions@FreeBSD.ORG Subject: Re: processes wedging on NFS Message-ID: <20000927153508.A8287@dan.emsphone.com> References: <39D2517D.6F83D2E2@pctechware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.3.9i In-Reply-To: ; from "Ken Bolingbroke" on Wed Sep 27 13:29:11 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Sep 27), Ken Bolingbroke said: > I use alot of NFS mounts around my networks, and on occasion, a NFS > server reboots or otherwise "hiccups". When this happens, the NFS > client will wedge any process that tries to access the NFS mount. I > can't find any way to kill those processes except by rebooting. Even > 'kill -9' doesn't work. > > Ideally, I'd be able to unmount any NFS mounts before the server > reboots, but for those instances where it doesn't happen, is there > any way to unwedge those processes besides rebooting? NFS should be able to handle a server being rebooted; the only time I've seen it fail is if the kernel was rebuilt between reboots, or mountpoints changed. To unwedge, you can try remounting the hung mount; you'll see the mount entry twice when you run "mount", but it should work. You can also try forcibly dismounting the original mountpoint first with umount -f. Or, you could set your mountpoints to "intr" in /etc/fstab, which tells the kernel that any NFS syscalls are interruptible (i.e. kill -9 'able). -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message