Date: 14 Jul 1998 08:54:22 +0100 From: Graeme Brown <graeme.brown@bt-sys.bt.co.uk> To: Greg <gmo@lightspeed.net> Cc: "FreeBSD-Net (FreeBSD.Org) List" <freebsd-net@FreeBSD.ORG> Subject: RE: NFS Troubles Message-ID: <n1311716176.32073@maczebedee>
next in thread | raw e-mail | index | archive | help
Greg
well you are recomending the simplest option, but if I export
the /home2 file-system with the -alldirs option I should also
be able to mount a sub-directory of /home2 e.g. /home2/graeme/cbt-code.tony
TIA
Graeme
_______________________________________________________________________________
To: Graeme Brown
From: Greg on Mon, Jul 13, 1998 8:31 pm
Subject: Re: NFS Troubles
RFC Header:Received: by maczebedee with ADMIN;13 Jul 1998 20:31:42 +0100
Received: from babelfish.axion.bt.co.uk by rambo with SMTP (PP);
Mon, 13 Jul 1998 20:33:32 +0100
Received: from cow.dyn.ml.org (actually 209-165-57-240.lightspeed.net)
by babelfish.axion.bt.co.uk (PP) with ESMTP;
Mon, 13 Jul 1998 20:30:43 +0100
Received: from localhost (gmo@localhost [127.0.0.1])
by cow.dyn.ml.org (8.9.0/8.8.7) with SMTP id MAA02660
for <graeme.brown@bt-sys.bt.co.uk>; Mon, 13 Jul 1998 12:28:09 -0700
Date: Mon, 13 Jul 1998 12:28:08 -0700 (PDT)
From: Greg <gmo@lightspeed.net>
X-Sender: gmo@cow.dyn.ml.org
To: Graeme Brown <graeme.brown@bt-sys.bt.co.uk>
Subject: Re: NFS Troubles
In-Reply-To: <n1311773780.67570@maczebedee>
Message-ID: <Pine.LNX.3.95.980713122712.2629A-100000@cow.dyn.ml.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On the client side, use mount freeb1:/home2 /mnt
the /home2 part must match the server side, and the /mnt is whereever you
wish to mount the remote mount..
Greg
On 13 Jul 1998, 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?n1311716176.32073>
