From sto@stat.Duke.EDU  Mon Sep 25 10:21:36 2000
Return-Path: <sto@stat.Duke.EDU>
Received: from isds.duke.edu (davinci.isds.duke.edu [152.3.22.1])
	by hub.freebsd.org (Postfix) with ESMTP id 3B6A837B424
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Sep 2000 10:21:35 -0700 (PDT)
Received: from feta.isds.duke.edu (feta.isds.duke.edu [152.3.22.76])
	by isds.duke.edu (8.8.8/8.8.8) with ESMTP id NAA28954
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Sep 2000 13:21:33 -0400 (EDT)
Received: (from sto@localhost)
	by feta.isds.duke.edu (8.11.0/8.9.3) id e8PHLXI51003;
	Mon, 25 Sep 2000 13:21:33 -0400 (EDT)
	(envelope-from sto)
Message-Id: <200009251721.e8PHLXI51003@feta.isds.duke.edu>
Date: Mon, 25 Sep 2000 13:21:33 -0400 (EDT)
From: "Sean O'Connell" <sto@stat.Duke.EDU>
Reply-To: sto@stat.Duke.EDU
To: FreeBSD-gnats-submit@freebsd.org
Subject: installworld panics for diskless clients
X-Send-Pr-Version: 3.2

>Number:         21540
>Category:       conf
>Synopsis:       installworld panics for diskless clients
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 25 10:30:01 PDT 2000
>Closed-Date:    Mon Jun 25 21:32:17 PDT 2001
>Last-Modified:  Mon Jun 25 21:33:21 PDT 2001
>Originator:     Sean O'Connell
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Institute of Statistics and Decision Sciences
>Environment:

	FreeBSD 4.1-STABLE (-current as well, I would imagine)

>Description:

	Now that make installworld, uses copies the install target
	binaries into /tmp/inst??? (or whatever), the /tmp and /var/tmp
	in /etc/rc.diskless2 should NOT be nullfs mounts.  The glaring
	warning in /etc/rc.diskless1 is seemingly ignored :)

	I use the bootp/nfs-root kernel along wiht a script to do
	complete wipes of machines and then install via nfs to the
	local hard drive.

>How-To-Repeat:

	Boot with a bootp/nfs-root kernel.  mount the local disk and
	nfs mount the /usr/src & /usr/obj from buildbox, cd /usr/src
	attempt make installworld ... POOF! panic due to cp to nullfs
	mount.

>Fix:

	Replace nullfs mount for /tmp with another mfs mount point
	(should be sufficient large for isntall bins and slop).  I
	use the following in /etc/rc.diskless1

	mount_mfs -s 196608 -T qp120at dummy /tmp

	and then comment out the section involving the 
	mount_null /var/tmp /tmp


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->bp 
Responsible-Changed-By: phantom 
Responsible-Changed-When: Sun Oct 22 07:38:55 PDT 2000 
Responsible-Changed-Why:  
One more victim for nullfs guru 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21540 
State-Changed-From-To: open->analyzed 
State-Changed-By: bp 
State-Changed-When: Sun Oct 22 08:03:34 PDT 2000 
State-Changed-Why:  
Most of the nullfs problems are fixed in -current, but not MFC'ed to -stable. 
While it is not done, mfs mount can be a better solution. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21540 
State-Changed-From-To: analyzed->closed 
State-Changed-By: bp 
State-Changed-When: Mon Jun 25 21:32:17 PDT 2001 
State-Changed-Why:  
Most of nullfs bugs fixed in the -current and RELENG_4. 
install(1) now can be safely used on null mounts. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=21540 
>Unformatted:
