From owner-freebsd-net Tue Jul 14 00:49:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA02951 for freebsd-net-outgoing; Tue, 14 Jul 1998 00:49:37 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from arthur.axion.bt.co.uk (arthur.axion.bt.co.uk [132.146.5.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA02946 for ; Tue, 14 Jul 1998 00:49:34 -0700 (PDT) (envelope-from graeme.brown@bt-sys.bt.co.uk) Received: from rambo (actually rambo.futures.bt.co.uk) by arthur.axion.bt.co.uk (PP) with SMTP; Tue, 14 Jul 1998 08:49:15 +0100 Received: from maczebedee (actually macsmtp) by rambo with SMTP (PP); Tue, 14 Jul 1998 08:51:06 +0100 Message-ID: Date: 14 Jul 1998 08:51:34 +0100 From: Graeme Brown Subject: RE: NFS Troubles To: Edwin Culp Cc: "FreeBSD-Net (FreeBSD.Org) List" X-Mailer: Mail*Link SMTP for Quarterdeck Mail; Version 4.0.0 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Edwin # cat /etc/exports gives #The following examples export /usr to 3 machines named after ducks, #/home and all directories under it to machines named after dead rock stars #and, finally, /a to 2 privileged machines allowed to write on it as root. #/usr huey louie dewie #/home -alldirs janice jimmy frank #/a -maproot=0 bill albert # # You should replace these lines with your actual exported filesystems. / -alldirs nomad luther #/home2 -alldirs freeb2 freeb9.bt-sys.bt.co.uk freeb16 freeb4 luther nomad /home2 -alldirs freeb9.bt-sys.bt.co.uk # # rw access to nomad, luther to enable remote NFS based backups # /home2 -alldirs -maproot=root nomad luther #/usr -alldirs freeb4 nomad luther freeb2 freeb3 # showmount -e gives Exports list on localhost: /home2 freeb9_fxp0 / nomad luther # TIA Graeme _______________________________________________________________________________ To: Graeme Brown Cc: FreeBSD-Net (FreeBSD.Org) List From: Edwin Culp on Mon, Jul 13, 1998 7:39 pm Subject: Re: NFS Troubles RFC Header:Received: by maczebedee with ADMIN;13 Jul 1998 19:39:41 +0100 Received: from babelfish.axion.bt.co.uk by rambo with SMTP (PP); Mon, 13 Jul 1998 19:41:41 +0100 Received: from dns.webwizard.net.mx (actually mexcom.net.mx) by babelfish.axion.bt.co.uk (PP) with ESMTP; Mon, 13 Jul 1998 19:38:27 +0100 Received: from sunix (eculp@sunix.mexcom.net [206.103.64.3]) by dns.webwizard.net.mx (8.8.8/8.8.7) with SMTP id NAA19928; Mon, 13 Jul 1998 13:37:25 -0500 (CDT) Sender: eculp@dns.webwizard.net.mx Message-ID: <35AA4750.699EACC@webwizard.org.mx> Date: Mon, 13 Jul 1998 12:43:44 -0500 From: Edwin Culp Organization: Mexico Communicates X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.14 i586) MIME-Version: 1.0 To: Graeme Brown CC: "FreeBSD-Net (FreeBSD.Org) List" Subject: Re: NFS Troubles References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'd sort of like to see: # showmount -e freeb1 and on freeb1 # cat /etc/exports thanks ed Graeme Brown wrote: > > Dear List > > NFS trouble... > > I have a FeeBSD 2.2.5 NFS server freeb1 with the following configuration > files relevant to NFS operation > > Server "freeb1" /etc/rc.conf > > nfs_client_enable="YES" # This host is an NFS client (or NO). > nfs_client_flags="-n 4" # Flags to nfsiod (if enabled). > nfs_server_enable="YES" # This host is an NFS server (or NO). > nfs_server_flags="-u -t 4" # Flags to nfsd (if enabled). > mountd_flags="-r" # Flags to mountd (if NFS server enabled). > nfs_reserved_port_only="NO" # Provide NFS only on secure port (or NO). > rpc_lockd_enable="NO" # Run NFS rpc.lockd (*broken!*) if nfs_server. > rpc_statd_enable="YES" # Run NFS rpc.statd if nfs_server (or NO). > portmap_enable="YES" # Run the portmapper service (or NO). > portmap_flags="" # Flags to portmap (if enabled). > > Server "freeb1" /etc/exports > > / -alldirs nomad luther > /home2 -alldirs freeb16.bt-sys.bt.co.uk > > Server "freeb1" /etc/fstab > > # Device Mountpoint FStype Options Dump Pass# > /dev/wd0s1b none swap sw 0 0 > /dev/wd0a / ufs rw 1 1 > /dev/wd0s1f /usr ufs rw 2 2 > /dev/wd0s1e /var ufs rw 2 2 > /dev/wd0s3e /home2 ufs rw 2 2 > proc /proc procfs rw 0 0 > /dev/wcd0c /cdrom cd9660 ro,noauto 0 0 > > I am trying to remotely mount a subdirectory of the exported freeb1:/home > on an NFS client running FreeBSD 2.2.6. The client NFS configuration > files are > > Client "freeb16.bt-sys.bt.co.uk" /etc/rc.conf > > nfs_client_enable="YES" # This host is an NFS client (or NO). > nfs_client_flags="-n 4" # Flags to nfsiod (if enabled). > nfs_server_enable="NO" # This host is an NFS server (or NO). > nfs_server_flags="-u -t 4" # Flags to nfsd (if enabled). > mountd_flags="-r" # Flags to mountd (if NFS server enabled). > nfs_reserved_port_only="NO" # Provide NFS only on secure port (or NO). > rpc_lockd_enable="YES" # Run NFS rpc.lockd (*broken!*) if nfs_server. > rpc_statd_enable="YES" # Run NFS rpc.statd if nfs_server (or NO). > portmap_enable="YES" # Run the portmapper service (or NO). > portmap_flags="" # Flags to portmap (if enabled). > > When I (as root on freeb16) try to do an nfs tcp mount of a subdirectory of > freeb1:/home2 > > I get a permission denied message > > #mount_nfs -T freeb1:/home2/graeme/cbt-code.tony > /usr/home/graeme/cbt-code.tony > > mount_nfs: can't access /home2/graeme/cbt-code.tony: Permission denied > > freeb1 and freeb16 can exchange pings OK. they are on separate subnets. > > Can anyone suggest why NFS is denying permission ? > > TIA > > Graeme N Brown > email: graeme.brown@bt-sys.bt.co.uk > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message