Bug 111848 - [nfs] removing a file from a diskless nfs mounted root fs hangs
Summary: [nfs] removing a file from a diskless nfs mounted root fs hangs
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 6.2-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-19 10:20 UTC by danny
Modified: 2017-08-27 01:29 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description danny 2007-04-19 10:20:11 UTC
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
Comment 1 Remko Lodder freebsd_committer freebsd_triage 2007-04-19 11:03:31 UTC
State Changed
From-To: open->closed

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.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2007-04-20 06:10:19 UTC
State Changed
From-To: closed->open

kris claims that this does need to be fixed.
Comment 3 danny 2007-12-21 10:57:16 UTC
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
Comment 4 Remko Lodder freebsd_committer freebsd_triage 2007-12-21 18:42:40 UTC
Responsible Changed
From-To: freebsd-bugs->mohans

Over to maintainer
Comment 5 Remko Lodder freebsd_committer freebsd_triage 2008-01-18 08:17:24 UTC
Responsible Changed
From-To: mohans->freebsd-bugs

There is a workaround for this problem, perhaps we can investigate whether the suggestion can be implemented?