NFS and shared folders problem
Inhabitant of Zion
inhabitantofzion at eml.cc
Thu Aug 18 07:50:50 UTC 2005
Right then...
Here goes.
Just to clarify the following results.
I am trying to share a folder called /home/public on machine A.
Machine A is called "morpheus" and is on the internal IP 192.168.0.247
Machine A is connected to server 1 via a switching hub.
Server 1 is called "neo" and is on IP 192.168.0.1
I am trying to share the folder from morpehus with machine B.
Machine B is called "trinity" and is on IP 192.168.0.246
I am also trying to share a folder from trinity on /home/public to
morpheus
All IP are static.
So here is what I get from morpheus -
williamgates at morpheus:~$ sudo exportfs -fa
williamgates at morpheus:~$ sudo mount 192.168.0.247:/home/public /mnt
williamgates at morpheus:~$ showmount --exports 192.168.0.247
Export list for 192.168.0.247:
/home/public 192.168.0.0/255.255.255.0
williamgates at morpheus:~$ showmount --all 192.168.0.247
All mount points on 192.168.0.247:
morpheus.thewillbys.com:/home/public
williamgates at morpheus:~$ rpcinfo -p 192.168.0.247
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32768 nlockmgr
100021 3 udp 32768 nlockmgr
100021 4 udp 32768 nlockmgr
100021 1 tcp 32768 nlockmgr
100021 3 tcp 32768 nlockmgr
100021 4 tcp 32768 nlockmgr
100005 1 udp 719 mountd
100005 1 tcp 722 mountd
100005 2 udp 719 mountd
100005 2 tcp 722 mountd
100005 3 udp 719 mountd
100005 3 tcp 722 mountd
100024 1 udp 709 status
100024 1 tcp 712 status
williamgates at morpheus:~$
williamgates at morpheus:~$ sudo mount 192.168.0.246:/home/public /mnt
Password:
williamgates at morpheus:~$ showmount --exports 192.168.0.246
Export list for 192.168.0.246:
/home/public 192.168.0.0/255.255.255.0
williamgates at morpheus:~$ showmount --all 192.168.0.246
All mount points on 192.168.0.246:
niobe.thewillbys.com:/home/public
pc-00247.thewillbys.com:/home/public
williamgates at morpheus:~$ rpcinfo -p 192.168.0.246
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32768 nlockmgr
100021 3 udp 32768 nlockmgr
100021 4 udp 32768 nlockmgr
100021 1 tcp 32768 nlockmgr
100021 3 tcp 32768 nlockmgr
100021 4 tcp 32768 nlockmgr
100005 1 udp 695 mountd
100005 1 tcp 698 mountd
100005 2 udp 695 mountd
100005 2 tcp 698 mountd
100005 3 udp 695 mountd
100005 3 tcp 698 mountd
100024 1 udp 952 status
100024 1 tcp 955 status
williamgates at morpheus:~$
williamgates at morpheus:~$ tail -f /var/log/messages
Aug 18 05:15:28 localhost -- MARK --
Aug 18 05:35:28 localhost -- MARK --
Aug 18 05:55:28 localhost -- MARK --
Aug 18 06:15:28 localhost -- MARK --
Aug 18 06:35:28 localhost -- MARK --
Aug 18 06:55:28 localhost -- MARK --
Aug 18 07:15:29 localhost -- MARK --
Aug 18 07:35:22 localhost exiting on signal 15
Aug 18 07:35:23 localhost syslogd 1.4.1#16ubuntu6: restart.
Aug 18 07:55:23 localhost -- MARK --
Aug 18 08:12:23 localhost rpc.mountd: authenticated mount request from
morpheus.thewillbys.com:848 for /home/public (/home/public) Aug 18
08:12:23 localhost kernel: nfs warning: mount version older than kernel
Aug 18 08:13:00 localhost rpc.mountd: export request from 192.168.0.247
Aug 18 08:13:19 localhost rpc.mountd: dump request from 192.168.0.247
Aug 18 08:19:30 localhost rpc.mountd: authenticated mount request from
pc-00246.thewillbys.com:682 for /home/public (/home/public) Aug 18
08:19:43 localhost rpc.mountd: export request from 192.168.0.246 Aug 18
08:19:56 localhost rpc.mountd: dump request from 192.168.0.246 Aug 18
08:35:23 localhost -- MARK -- Aug 18 08:43:06 localhost kernel: nfs
warning: mount version older than kernel
Here is what I get from trinity -
niobe at niobe:~$ sudo exportfs -fa
Password:
niobe at niobe:~$ sudo mount 192.168.0.247:/home/public /mnt
niobe at niobe:~$ showmount --exports 192.168.0.247
Export list for 192.168.0.247:
/home/public 192.168.0.0/255.255.255.0
niobe at niobe:~$ showmount --all 192.168.0.247
All mount points on 192.168.0.247:
morpheus.thewillbys.com:/home/public
pc-00246.thewillbys.com:/home/public
niobe at niobe:~$ rpcinfo -p 192.168.0.247
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32768 nlockmgr
100021 3 udp 32768 nlockmgr
100021 4 udp 32768 nlockmgr
100021 1 tcp 32768 nlockmgr
100021 3 tcp 32768 nlockmgr
100021 4 tcp 32768 nlockmgr
100005 1 udp 719 mountd
100005 1 tcp 722 mountd
100005 2 udp 719 mountd
100005 2 tcp 722 mountd
100005 3 udp 719 mountd
100005 3 tcp 722 mountd
100024 1 udp 709 status
100024 1 tcp 712 status
niobe at niobe:~$ sudo mount
192.168.0.246:/home/public /mnt niobe at niobe:~$ showmount --exports
192.168.0.246 Export list for 192.168.0.246:
/home/public 192.168.0.0/255.255.255.0
niobe at niobe:~$ showmount --all 192.168.0.246
All mount points on 192.168.0.246:
niobe.thewillbys.com:/home/public
niobe at niobe:~$ rpcinfo -p 192.168.0.246
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32768 nlockmgr
100021 3 udp 32768 nlockmgr
100021 4 udp 32768 nlockmgr
100021 1 tcp 32768 nlockmgr
100021 3 tcp 32768 nlockmgr
100021 4 tcp 32768 nlockmgr
100005 1 udp 695 mountd
100005 1 tcp 698 mountd
100005 2 udp 695 mountd
100005 2 tcp 698 mountd
100005 3 udp 695 mountd
100005 3 tcp 698 mountd
100024 1 udp 952 status
100024 1 tcp 955 status
niobe at niobe:~$ tail -f /var/log/messages
Aug 18 06:48:15 niobe -- MARK --
Aug 18 07:08:15 niobe -- MARK --
Aug 18 07:28:15 niobe -- MARK --
Aug 18 07:36:20 niobe exiting on signal 15
Aug 18 07:36:21 niobe syslogd 1.4.1#16ubuntu6: restart.
Aug 18 07:56:21 niobe -- MARK --
Aug 18 08:09:33 niobe gconfd (root-26101): starting (version 2.10.0),
pid 26101 user 'root'
Aug 18 08:09:33 niobe gconfd (root-26101): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only
configuration source at position 0 Aug 18 08:09:33 niobe gconfd
(root-26101): Resolved address "xml:readwrite:/root/.gconf" to a
writable configuration source at position 1 Aug 18 08:09:33 niobe gconfd
(root-26101): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only
configuration source at position 2 Aug 18 08:19:24 niobe kernel: nfs
warning: mount version older than kernel Aug 18 08:21:20 niobe
rpc.mountd: authenticated mount request from niobe.thewillbys.com:755
for /home/public (/home/public) Aug 18 08:21:20 niobe kernel: nfs
warning: mount version older than kernel Aug 18 08:21:46 niobe
rpc.mountd: export request from 192.168.0.246 Aug 18 08:21:54 niobe
rpc.mountd: dump request from 192.168.0.246 Aug 18 08:36:21 niobe --
MARK -- Aug 18 08:43:00 niobe rpc.mountd: authenticated mount request
from pc-00247.thewillbys.com:819 for /home/public (/home/public) Aug 18
08:43:12 niobe rpc.mountd: export request from 192.168.0.247 Aug 18
08:43:22 niobe rpc.mountd: dump request from 192.168.0.247
I hope you can make sense of all this.
Some of it looks a bit suspicious to me.
--
John Willby Registered Linux user number 321644
ICQ: 92791912 MSN: sillydilly at spamcop.net
Cum catapultae proscriptae erunt tum soli proscripti
catapultas habebunt
08:04:40 up 2 days, 8:13, 2 users, load average: 0.00, 0.00, 0.00
More information about the ubuntu-users
mailing list