[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Portmapper issue : cannout mount nfs export



Hi.

I don't know how to debug this situation.
I have a client that cannot mount a NFS share.
I have many clients with similar configuration
(Root over NFS/Etherboot/IP Kernel level autoconfiguration using DHCP).
Many clients can mount the share, but one cannot.

What should I try?

How do I tune a sarge box for high nfs load? (54 clients/read only)?

Is is true that in /etc/defaults/nfs-kernel-server you have to increase
the following number to match the number of remote clients?
I've read it in some places[1].

# Number of servers to start up
RPCNFSDCOUNT=16

How do I debug NFS?

Regards,
Nelson.-


[1]http://www.gentoo.org/doc/en/diskless-howto.xml

Relevant configuration:

Client: Recent Knoppix CD (testing and troubleshooting)


mount 10.0.0.1:/diskless/root /mnt
portmap: server localhost not responding, timed out
portmap: server localhost not responding, timed out
portmap: server localhost not responding, timed out
lockd_up: makesock failed, error=-5
portmap: server localhost not responding, timed out


Server: (debian sarge)

(Kernel package taken from sid)
node1:~# uname -a
Linux node1 2.6.10-1-686-smp #1 SMP Fri Mar 11 01:49:45 EST 2005 i686 GNU/Linux

Logs:

Mar 31 22:17:42 node1 portmap[3714]: connect from 10.0.0.7 to getport(mountd)
Mar 31 22:17:42 node1 rpc.mountd: export request from 10.0.0.7
Mar 31 22:17:46 node1 portmap[3715]: connect from 10.0.0.7 to dump()
Mar 31 22:17:46 node1 rpc.mountd: authenticated mount request from
10.0.0.7:967 for /diskless/root (/diskless/root)

/etc/exports

/diskless/root     10.0.0.0/255.255.0.0(ro,no_root_squash,no_all_squash,async)
/diskless/root     127.0.0.1(ro,no_root_squash,no_all_squash,async)

/etc/hosts

127.0.0.1 localhost
192.168.0.254   mdk master

# what should I do here ???
# Is : "127.0.0.1 localhost node1" a mistake? I think so.
10.0.0.1 node1
10.0.1.1 node1
10.0.2.1 node1

/etc/hosts.deny is empty (firewalled intranet with a few trusted users)

/etc/hosts.allow
ALL:ALL
mountd: ALL
portmap: 255.255.255.255 0.0.0.0

node1:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:8B:6D:B0:41
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::250:8bff:fe6d:b041/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:23878 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25825 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2213534 (2.1 MiB)  TX bytes:3358506 (3.2 MiB)

eth0:0    Link encap:Ethernet  HWaddr 00:50:8B:6D:B0:41
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth1      Link encap:Ethernet  HWaddr 00:50:8B:6D:B0:62
          inet addr:10.0.1.1  Bcast:10.0.1.255  Mask:255.255.255.0
          inet6 addr: fe80::250:8bff:fe6d:b062/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2758 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2824 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:370344 (361.6 KiB)  TX bytes:332492 (324.6 KiB)

eth2      Link encap:Ethernet  HWaddr 00:50:8B:E7:50:F6
          inet addr:10.0.2.1  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::250:8bff:fee7:50f6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10820 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15649 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1479310 (1.4 MiB)  TX bytes:13210962 (12.5 MiB)

node1:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
10.0.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
10.0.2.0        0.0.0.0         255.255.255.0   U     0      0        0 eth2
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.0.254   0.0.0.0         UG    0      0        0 eth0

-- 
Homepage : http://geocities.com/arhuaco

The first principle is that you must not fool yourself
and you are the easiest person to fool.
     -- Richard Feynman.



Reply to: