From owner-freebsd-hackers Tue Jan 16 13:17:55 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bsdhome.dyndns.org (unknown [24.25.2.13]) by hub.freebsd.org (Postfix) with ESMTP id 0CFE337B400; Tue, 16 Jan 2001 13:17:37 -0800 (PST) Received: from vger.bsdhome.com (vger [192.168.220.2]) by bsdhome.dyndns.org (8.11.1/8.11.1) with ESMTP id f0GLHZo04029; Tue, 16 Jan 2001 16:17:35 -0500 (EST) (envelope-from bsd@bsdhome.com) Received: (from bsd@localhost) by vger.bsdhome.com (8.11.1/8.11.1) id f0GLHZx34752; Tue, 16 Jan 2001 16:17:35 -0500 (EST) (envelope-from bsd) Date: Tue, 16 Jan 2001 16:17:35 -0500 From: Brian Dean To: Mike Smith Cc: freebsd-hackers@freebsd.org Subject: Re: NFS_ROOT not working when using a Netapp server Message-ID: <20010116161735.A34527@vger.bsdhome.com> References: <20010116131715.A33531@vger.bsdhome.com> <200101162027.f0GKRWl00629@mass.osd.bsdi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200101162027.f0GKRWl00629@mass.osd.bsdi.com>; from msmith@freebsd.org on Tue, Jan 16, 2001 at 12:27:31PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jan 16, 2001 at 12:27:31PM -0800, Mike Smith wrote: > > What did you use to actually create your exported /dev on the NetApp in > the first place? Encoding of device major/minor numbers is funky with > NFS, and FreeBSD only does NFSv2 for the root filesystem by default > (which makes matters even worse). I created the client's /dev entries by mounting the netapp from another FreeBSD box, chroot'ing to the top of the client's root tree, then "cd /dev && sh MAKEDEV all". However, this was done with an NFS V3 mount and as you observed, FreeBSD uses NFSv2 for the root. After repeating this same same procedure using an NVSv2 mount to the Netapp, the major/minor numbers look a whole lot better and it now works just fine. It's odd, though, that the NFSv2 and NFSv3 handle these aspects of of the inode so differently. I wonder if this is a bug, and if so, is it Netapp's or ours? It is interesting to note that this mangling does not occur when FreeBSD is both the client and the server. -Brian -- Brian Dean bsd@FreeBSD.org bsd@bsdhome.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message