From owner-freebsd-net Mon Jul 13 09:32:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA22505 for freebsd-net-outgoing; Mon, 13 Jul 1998 09:32:12 -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 JAA22489 for ; Mon, 13 Jul 1998 09:32:08 -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; Mon, 13 Jul 1998 16:52:04 +0100 Received: from maczebedee (actually macsmtp) by rambo with SMTP (PP); Mon, 13 Jul 1998 16:54:01 +0100 Message-ID: Date: 13 Jul 1998 16:54:36 +0100 From: Graeme Brown Subject: NFS Troubles To: "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 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