[2368] in linux-net channel archive
mount -t nfs
daemon@ATHENA.MIT.EDU (Robert Anthony Nader)
Fri Apr 5 08:52:38 1996
Date: Fri, 05 Apr 1996 18:58:05 +1000
From: Robert Anthony Nader <naderr@topaz.cqu.edu.au>
To: linux-net <linux-net@vger.rutgers.edu>
Hi,
Hmm, setup ...
+--------------+---------------------------------+-------------------------
|
HOME | CQU-NET
|
+----------------------+---------------------------------------------------
LOCALNET | linuxbox.cqu.edu.au | No DNS entry in CQU-NET
192.168.1.0 | 138.77.65.5 | or routing to for
| Statically assigned. | 138.77.65.5
| * No masquerading (yet) |
| |
| |
pc1.nse.com.au linuxbox.cqu.edu.au
.---------. .---------.
|L | 10BaseT |L |
| I | Line NE2000| I |Zoom VFP
| N |----------//------| N |-------//------> To ISP (CQU-NET)
| U |NE2000 | U | CSLIP/PPP
| X| | X|
._________. ._________.
Now, I'm trying to mount a directory from linuxbox onto pc1 ....
I have checked according to the 'nag' for NFS prerequisites:
[21][ root@linuxbox: ~/
# cat /proc/filesystems
minix
ext2
msdos
nodev proc
nodev nfs
nodev smbfs
iso9660
xenix
sysv
coherent
hpfs
and ...
[13][ root@pc1: ~/
# cat /proc/filesystems
minix
ext2
msdos
nodev proc
nodev nfs
iso9660
xenix
sysv
coherent
The necessary daemons, started from /etc/rc.f/inet2 are running on both boxes
[27][ root@linuxbox: ~/
# ps x
PID TTY STAT TIME COMMAND
1 ? S 0:00 init [5]
6 ? S 0:00 (update)
7 ? S 0:00 update (bdflush)
34 ? S 0:00 /usr/sbin/crond -l10
50 ? S 0:00 /usr/sbin/syslogd
52 ? S 0:00 /usr/sbin/klogd
56 ? S 0:00 /usr/sbin/inetd
58 ? S 0:00 /usr/sbin/routed -g -s
60 ? S 0:00 /usr/sbin/rwhod -t -s
62 ? S 0:00 /usr/sbin/lpd
65 ? S 0:00 /usr/sbin/rpc.mountd
67 ? S 0:00 /usr/sbin/rpc.nfsd
71 ? S 0:00 sendmail: accepting connections
76 v01 S 0:00 -bash
77 v02 S 0:00 -bash
and
[14][ root@pc1: ~/
# ps x
PID TTY STAT TIME COMMAND
1 ? S 0:00 init [5]
6 ? S 0:00 bdflush (daemon)
7 ? S 0:00 update (bdflush)
49 ? S 0:00 /usr/sbin/crond -l10
65 ? S 0:00 /usr/sbin/syslogd
67 ? S 0:00 /usr/sbin/klogd
71 ? S 0:00 /usr/sbin/inetd
73 ? S 0:00 /usr/sbin/routed -g -s
75 ? S 0:00 /usr/sbin/lpd
78 ? S 0:00 /usr/sbin/rpc.mountd
80 ? S 0:00 /usr/sbin/rpc.nfsd
84 ? S 0:00 sendmail: accepting connections
89 v01 S 0:00 -bash
* The exports file of the host from which I want to nfs mount has ...
#linuxbox.cqu.edu.au:/etc/exports
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/usr/local/src/fly8 pc1.nse.com.au(rw)
* Yet, when I try to manually nfs mount linuxbox:/usr/local/src/fly8 from
* pc1.nse.com.au I get:
[20][ root@pc1: ~/
# mount -t nfs linuxbox:/usr/local/src/fly8 /usr/local/testnfs
mount: linuxbox:/usr/local/src/fly8 failed, reason given by server: Permission denied
What alarms me even more is that I cannot nfs mount a la localhost ;)
[22][ root@linuxbox: ~/
# md /tmp/nfstest
[23][ root@linuxbox: ~/
# mount localhost:/etc /tmp/nfstest
mount: localhost:/etc failed, reason given by server: Permission denied
or ...
[24][ root@linuxbox: ~/
# mount linuxbox.cqu.edu.au:/etc /tmp/nfstest
mount: linuxbox.cqu.edu.au:/etc failed, reason given by server: Permission denied
Could someone please enlighten my as to possibly why? Have I missed anything?
TIA,
Rob -
--
Cheers,
Rob -