From owner-freebsd-questions Fri Oct 16 05:51:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA21902 for freebsd-questions-outgoing; Fri, 16 Oct 1998 05:51:28 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA21897 for ; Fri, 16 Oct 1998 05:51:25 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.9.1a/8.9.1) with ESMTP id OAA07654 for ; Fri, 16 Oct 1998 14:51:01 +0200 (MET DST) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by mail.siemens.de (8.9.1a/8.9.1) with ESMTP id OAA09683 for ; Fri, 16 Oct 1998 14:51:03 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.8/8.8.8) id OAA09123 for ; Fri, 16 Oct 1998 14:51:04 +0200 (CEST) From: Andre Albsmeier Message-Id: <199810161251.OAA20614@internal> Subject: Re: NFS/showmount -e trouble In-Reply-To: from Brian Tiemann at "Oct 15, 1998 11:27:42 am" To: btman@ugcs.caltech.edu (Brian Tiemann) Date: Fri, 16 Oct 1998 14:51:00 +0200 (CEST) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Hi-- > > I'm having a weird problem with NFS. I'm linking two FreeBSD > machines together; the server is 2.2.6, the client is 2.2.7. My > /etc/exports is as follows: > > /usr/www -maproot=root 131.215.86.106 > /home -maproot=root 131.215.86.106 > > When I send a HUP to the mountd process, it seems to only read the > *first* entry in the file; I can mount /usr/www but can't mount /home, for > instance, and showmount -e gives the following: > > {root:45} showmount -e > Exports list on localhost: > /usr/www 131.215.86.106 > > If I reverse the order of the two lines in /etc/exports, it will > enable /home but not /usr/www. > > I can enable one, mount it, then switch them around and enable the > other, so I can mount both that way, but that seems to destabilize my > system; I've had several system-wide lockups and crashes on the client > machine when doing that. Try: /usr/www /home -maproot=root 131.215.86.106 > > Oh, and if I put -alldirs into one of the /etc/exports entries, it > will ignore that one as though I'd commented it out. > > Does anyone have any insight on this? Thanks! IIRC, -alldirs only works for the root of a filesystem. The export mechanism is the only thing I liked better in Linux | SunOS | IRIX. I had to patch mountd to do the following: /var/spool/pcnfs -alldirs when /var/spool/pcnfs is in the same filesystem as / :-( -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message