Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 1998 12:43:44 -0500
From:      Edwin Culp <eculp@webwizard.org.mx>
To:        Graeme Brown <graeme.brown@bt-sys.bt.co.uk>
Cc:        "FreeBSD-Net (FreeBSD.Org) List" <freebsd-net@FreeBSD.ORG>
Subject:   Re: NFS Troubles
Message-ID:  <35AA4750.699EACC@webwizard.org.mx>
References:  <n1311773780.67570@maczebedee>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35AA4750.699EACC>