Bug 139363 - [nfs] diskless root nfs mount from non FreeBSD server broken
Summary: [nfs] diskless root nfs mount from non FreeBSD server broken
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-05 09:10 UTC by danny
Modified: 2010-10-27 22:33 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description danny 2009-10-05 09:10:02 UTC
	the initial diskless boot is still via nfs/v2, and once
	the kernel remounts it, it now fails with error 1001 (NFSERR_BADHANDLE),
	after some hacking in nfs_vfsops.c - dropping NFSMNT_NFSV3,
	I get error 70, which the netapp reports as:
	Client 132.65.82.135 (xid 1501470721) is trying to access an unexported mount (fileid 12829350, snapid 0, generation 0 and flags 0x0 on volume 0x8b847e [No volume name available])

Fix: 

Fixed by the commit that modified pxeboot to use NFSv3 instead
	of NFSv2. (r212716 and r212717 to stable/8)
Comment 1 danny 2009-10-05 17:17:48 UTC
the fix is to set boot.nfsroot.options="nfsv2" in /boot/loader.conf or  
via dhcp.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2009-10-06 02:50:27 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-s

Over to maintainer(s).
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2009-10-06 05:30:06 UTC
Responsible Changed
From-To: freebsd-s->freebsd-fs

gonna have to replace this keyboard soon ...
Comment 4 Rick Macklem freebsd_committer freebsd_triage 2010-10-27 22:30:49 UTC
State Changed
From-To: open->closed


Fixed by the commits r212716 and r212717 to stable/8, which made 
pxeboot use NFSv3 instead of NFSv2.