From nobody@FreeBSD.org  Thu Apr 19 09:16:12 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id A1E7916A407
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 19 Apr 2007 09:16:12 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 7B4A213C4BD
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 19 Apr 2007 09:16:12 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l3J9GCmI013983
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 19 Apr 2007 09:16:12 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l3J9BBTl012703;
	Thu, 19 Apr 2007 09:11:11 GMT
	(envelope-from nobody)
Message-Id: <200704190911.l3J9BBTl012703@www.freebsd.org>
Date: Thu, 19 Apr 2007 09:11:11 GMT
From: Daniel Braniss<danny@cs.huji.ac.il>
To: freebsd-gnats-submit@FreeBSD.org
Subject: removing a file from a diskless nfs mounted root fs hangs
X-Send-Pr-Version: www-3.0

>Number:         111848
>Category:       kern
>Synopsis:       [nfs] removing a file from a diskless nfs mounted root fs hangs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 19 09:20:11 GMT 2007
>Closed-Date:    
>Last-Modified:  Fri Jan 18 08:18:04 UTC 2008
>Originator:     Daniel Braniss
>Release:        FreeBSD 6.2-STABLE amd64
>Organization:
The Hebrew University Jerusalem
>Environment:
FreeBSD bsd 6.2-STABLE FreeBSD 6.2-STABLE #38: Mon Apr 16 12:05:54 IDT 2007 danny@bsd:/r+d/obj/bsd/r+d/6.2/src/sys/HUJI amd64
>Description:
removing a file from the read-only  / NFS mounted partition hangs
the client, this is due, because the mount is NFS/V2.
>How-To-Repeat:
mount_nfs -2 host:/<some-ro-file-system> /mnt
rm /mnt/somefile

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Thu Apr 19 10:03:31 UTC 2007 
State-Changed-Why:  
as far as i know nfsv2 had been decprecated, use v3 or v4 instead. If 
you can reproduce it with that please let me know so that I can update 
the ticket with more (better) information. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111848 
State-Changed-From-To: closed->open 
State-Changed-By: linimon 
State-Changed-When: Fri Apr 20 05:10:19 UTC 2007 
State-Changed-Why:  
kris claims that this does need to be fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111848 

From: Daniel Braniss <danny@mail.hebrew.edu>
To: bug-followup@FreeBSD.org,
 danny@cs.huji.ac.il
Cc:  
Subject: Re: kern/111848: [nfs] removing a file from a diskless nfs mounted root fs hangs
Date: Fri, 21 Dec 2007 12:57:16 +0200

 I found a undocumented feature: boot.nfsroot.options="nfsv3" that  
 fixes this problem
 So I think this PR can be closed, but would be nice to document  the  
 fix, or better, maybe
 make it (nfsv3) the default mount in nfs_setup_diskless.
 
 danny
 
Responsible-Changed-From-To: freebsd-bugs->mohans 
Responsible-Changed-By: remko 
Responsible-Changed-When: Fri Dec 21 18:42:40 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111848 
Responsible-Changed-From-To: mohans->freebsd-bugs 
Responsible-Changed-By: remko 
Responsible-Changed-When: Fri Jan 18 08:17:24 UTC 2008 
Responsible-Changed-Why:  
There is a workaround for this problem, perhaps we can investigate whether the suggestion can be implemented? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111848 
>Unformatted:
