* Strange NFS problem
@ 2002-10-30 15:29 andy thomas
2002-10-31 10:07 ` Strange NFS problem - NOW FIXED! andy thomas
0 siblings, 1 reply; 9+ messages in thread
From: andy thomas @ 2002-10-30 15:29 UTC (permalink / raw)
We have an Alpha server running DU 4.0D which exports user's home
directories via NFS to various other Unix and Linux machines both on its
own subnet and on other subnets. This has worked well for years but
yesterday morning, in readiness for a network upgrade, RIP and proxy ARP
were turned off on the router feeding these subnets. We do not run gated
or routed and use a single static route so this should not have made any
difference.
Now we have the odd situation of NFS working fine where the client is on
the same subnet, but Linux machines on other subnets can't see the nfsd
UDP service. Attempts to actuially mount the NFS volume casues the
client to hang. But Unix clients on other subnets (eg D Unix, Solaris)
have no problems mounting NFS volumes.
Here's the output of rpcinfo from a Digital Unix machine on a different
subnet:
rpcinfo -u geometry nfs 2
program 100003 version 2 ready and waiting
rpcinfo -t geometry nfs 2
program 100003 version 2 ready and waiting
but from any Linux box we get:
rpcinfo -u geometry nfs 2
rpcinfo: RPC: Timed out
program 100003 version 2 is not available
rpcinfo -t geometry nfs 2
program 100003 version 2 ready and waiting
It doesn't matter if we probe NFS version 3, we get the same result. And
other UDP services like NIS (this server is also a NIS master) check out
fine with both Unix & Linux:
(from the Linux box on a remote subnet):
rpcinfo -t geometry ypserv 2
program 100004 version 2 ready and waiting
Now, it can't be a Linux issue as several dozen SuSE, Red Hat and Debian
Linux systems can't all be misconfigured, and Linux clients mount fine on the
local subnet where the server is. And it all worked before. Also, these Linux
clients on remote subnets mount NFS exports from other DU servers on the same
subnet.
So there's got to be something odd about this particular server. The only
thing different about this server compared with others on the same subnet
is that it has two IP addresses (one is an alias on the default tu0
interface).
Does anyone have any ideas?
Thanks in advance,
Andy
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Strange NFS problem - NOW FIXED!
2002-10-30 15:29 Strange NFS problem andy thomas
@ 2002-10-31 10:07 ` andy thomas
2002-10-31 17:36 ` Brian Haley
0 siblings, 1 reply; 9+ messages in thread
From: andy thomas @ 2002-10-31 10:07 UTC (permalink / raw)
Yesterday I posted the message below but I've now found the problem and
it's been fixed. I thought I'd describe the solution here in case others run
into the same problem in the future.
There appears to be a bug in the ifconfig that ships with DU 4.0D so that if
an interface is configured with primary IP address, netmask and alias IP all
on one line, what actually happens is that the IP addresses are configured
correctly but the broadcast addresses for both are the same as the alias IP
address. So if I use the netsetup script to set the tu0 interface up, it
places the following line into /.etc/rc.config:
IFCONFIG_0="155.198.192.7 netmask 255.255.255.0 alias 155.198.192.59"
and at boot-up, the broadcast address is actually set to 155.198.192.59
instead of 155.198.192.255. This obviously affected correct operation of
RPC UDP calls from other subnets (eg, 155.198.190.0/24) - Linux NFS uses
UDP while DU and Solaris appear to use TCP for RPC - but I'm not too sure
of the mechanisms involved or what exactly failed.
Manually reconfiguring the correct broadcast addresses after boot time
and running '/usr/sbin/rcinet restart' didn't fix the problem as far as the
portmapper was concerned but removing the alias argument from the interface
configuration in /etc/rc.config and rebooting got everything working again.
A separate script in /sbin/rc3.d now runs towards the end of the boot process
(after everything else has been set up and has stabilised) to assign the IP
alias to the tu0 interface:
/usr/sbin/ifconfig tu0 alias 155.198.192.59/24
Andy
> We have an Alpha server running DU 4.0D which exports user's home
> directories via NFS to various other Unix and Linux machines both on its
> own subnet and on other subnets. This has worked well for years but
> yesterday morning, in readiness for a network upgrade, RIP and proxy ARP
> were turned off on the router feeding these subnets. We do not run gated
> or routed and use a single static route so this should not have made any
> difference.
>
> Now we have the odd situation of NFS working fine where the client is on
> the same subnet, but Linux machines on other subnets can't see the nfsd
> UDP service. Attempts to actuially mount the NFS volume casues the
> client to hang. But Unix clients on other subnets (eg D Unix, Solaris)
> have no problems mounting NFS volumes.
>
> Here's the output of rpcinfo from a Digital Unix machine on a different
> subnet:
>
> rpcinfo -u geometry nfs 2
> program 100003 version 2 ready and waiting
>
> rpcinfo -t geometry nfs 2
> program 100003 version 2 ready and waiting
>
> but from any Linux box we get:
>
> rpcinfo -u geometry nfs 2
> rpcinfo: RPC: Timed out
> program 100003 version 2 is not available
>
> rpcinfo -t geometry nfs 2
> program 100003 version 2 ready and waiting
>
>
> It doesn't matter if we probe NFS version 3, we get the same result. And
> other UDP services like NIS (this server is also a NIS master) check out
> fine with both Unix & Linux:
>
> (from the Linux box on a remote subnet):
>
> rpcinfo -t geometry ypserv 2
> program 100004 version 2 ready and waiting
>
> Now, it can't be a Linux issue as several dozen SuSE, Red Hat and Debian
> Linux systems can't all be misconfigured, and Linux clients mount fine on the
> local subnet where the server is. And it all worked before. Also, these Linux
> clients on remote subnets mount NFS exports from other DU servers on the same
> subnet.
>
> So there's got to be something odd about this particular server. The only
> thing different about this server compared with others on the same subnet
> is that it has two IP addresses (one is an alias on the default tu0
> interface).
>
> Does anyone have any ideas?
>
> Thanks in advance,
>
> Andy
>
>
# include <std-disclaimer.h>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Strange NFS problem - NOW FIXED!
2002-10-31 10:07 ` Strange NFS problem - NOW FIXED! andy thomas
@ 2002-10-31 17:36 ` Brian Haley
0 siblings, 0 replies; 9+ messages in thread
From: Brian Haley @ 2002-10-31 17:36 UTC (permalink / raw)
andy thomas wrote:
> There appears to be a bug in the ifconfig that ships with DU 4.0D so that if
> an interface is configured with primary IP address, netmask and alias IP all
> on one line, what actually happens is that the IP addresses are configured
> correctly but the broadcast addresses for both are the same as the alias IP
> address. So if I use the netsetup script to set the tu0 interface up, it
> places the following line into /.etc/rc.config:
>
> IFCONFIG_0="155.198.192.7 netmask 255.255.255.0 alias 155.198.192.59"
>
> and at boot-up, the broadcast address is actually set to 155.198.192.59
> instead of 155.198.192.255.
This was not the way ifconfig was intended to be used, and we have
since corrected the problem by not allowing it:
# ifconfig tu0 155.198.192.7 netmask 255.255.255.0 alias 155.198.192.59
ifconfig: cannot set primary and alias addresses, or multiple alias addresses
You must call ifconfig separately for each address, or use the 'aliaslist'
option for a range of IP alias addresses.
> A separate script in /sbin/rc3.d now runs towards the end of the boot process
> (after everything else has been set up and has stabilised) to assign the IP
> alias to the tu0 interface:
>
> /usr/sbin/ifconfig tu0 alias 155.198.192.59/24
The file /etc/inet.local is there to place IP alias info, and anything else you
want to do right after all the IP addresses are configured.
-Brian Haley, HP Tru64 UNIX Networking
^ permalink raw reply [flat|nested] 9+ messages in thread
* strange NFS problem
@ 2005-03-29 11:46 Erkki Aalto
2005-03-29 15:22 ` Eric de Redelijkheid
2005-03-31 6:04 ` Erkki Aalto
0 siblings, 2 replies; 9+ messages in thread
From: Erkki Aalto @ 2005-03-29 11:46 UTC (permalink / raw)
We have a 4.0f server with 5.1a clients. Suddenly, a strange problem
has appeared. Any attempt to read and write large files over NFS
gives a 'NFS 3 server not responding' error message.
The server itself does not see any problem. No changes have been
made to the computers recently and booting either the server or the
client does not help.
Any ideas?
--
Erkki '�rkki' Aalto "Life is divided up into
Internet: Erkki.Aalto@Helsinki.FI the horrible and the miserable"
Snail: P.O. Box 64
FI-00014 University of Helsinki, Finland
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: strange NFS problem
2005-03-29 11:46 strange NFS problem Erkki Aalto
@ 2005-03-29 15:22 ` Eric de Redelijkheid
2005-03-30 12:00 ` Erkki Aalto
2005-03-31 6:04 ` Erkki Aalto
1 sibling, 1 reply; 9+ messages in thread
From: Eric de Redelijkheid @ 2005-03-29 15:22 UTC (permalink / raw)
Anno Domini 29-3-2005 13:46, Erkki Aalto sprak aldus:
>We have a 4.0f server with 5.1a clients. Suddenly, a strange problem
>has appeared. Any attempt to read and write large files over NFS
>gives a 'NFS 3 server not responding' error message.
>The server itself does not see any problem. No changes have been
>made to the computers recently and booting either the server or the
>client does not help.
>
>Any ideas?
>
>
>
>
You have a Cisco switch?
Force your network adapters to a fixed speed: ifconfig tu0 speed 200
(this is 100Mb full duplex). Don�t forget to update rc.config with the
new setting.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: strange NFS problem
2005-03-29 15:22 ` Eric de Redelijkheid
@ 2005-03-30 12:00 ` Erkki Aalto
0 siblings, 0 replies; 9+ messages in thread
From: Erkki Aalto @ 2005-03-30 12:00 UTC (permalink / raw)
Eric de Redelijkheid <ericdere@xs4all.nl> wrote:
: You have a Cisco switch?
: Force your network adapters to a fixed speed: ifconfig tu0 speed 200
: (this is 100Mb full duplex). Don�t forget to update rc.config with the
: new setting.
No, Enterasys. This is our number one suspect, too, but no combination
of duplex settings seems to help. BTW we have one Linux NFS client
and it has no problems.
--
Erkki '�rkki' Aalto "Life is divided up into
Internet: Erkki.Aalto@Helsinki.FI the horrible and the miserable"
Snail: P.O. Box 64
FI-00014 University of Helsinki, Finland
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: strange NFS problem
2005-03-29 11:46 strange NFS problem Erkki Aalto
2005-03-29 15:22 ` Eric de Redelijkheid
@ 2005-03-31 6:04 ` Erkki Aalto
2005-03-31 15:21 ` Ann Majeske
1 sibling, 1 reply; 9+ messages in thread
From: Erkki Aalto @ 2005-03-31 6:04 UTC (permalink / raw)
Erkki Aalto <aalto@pcu.nospam.helsinki.fi.invalid> wrote:
: We have a 4.0f server with 5.1a clients. Suddenly, a strange problem
: has appeared. Any attempt to read and write large files over NFS
: gives a 'NFS 3 server not responding' error message.
: The server itself does not see any problem. No changes have been
: made to the computers recently and booting either the server or the
: client does not help.
Now I know something more. Trace revealed, that the problem starts
when proplist_syscall is called. Proplistd is alive an well in the
NFS server. We have had previous problems with proplist, but not like
this one, only an error message about proplist.
--
Erkki '�rkki' Aalto "Life is divided up into
Internet: Erkki.Aalto@Helsinki.FI the horrible and the miserable"
Snail: P.O. Box 64
FI-00014 University of Helsinki, Finland
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: strange NFS problem
2005-03-31 6:04 ` Erkki Aalto
@ 2005-03-31 15:21 ` Ann Majeske
2005-03-31 17:19 ` Erkki Aalto
0 siblings, 1 reply; 9+ messages in thread
From: Ann Majeske @ 2005-03-31 15:21 UTC (permalink / raw)
> Now I know something more. Trace revealed, that the problem starts
> when proplist_syscall is called. Proplistd is alive an well in the
> NFS server. We have had previous problems with proplist, but not like
> this one, only an error message about proplist.
Try turning the proplistd off. Check to see if there are any proplist
related patches for V4.0F.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: strange NFS problem
2005-03-31 15:21 ` Ann Majeske
@ 2005-03-31 17:19 ` Erkki Aalto
0 siblings, 0 replies; 9+ messages in thread
From: Erkki Aalto @ 2005-03-31 17:19 UTC (permalink / raw)
Ann Majeske <Ann.Majeske@hp.com> wrote:
: > Now I know something more. Trace revealed, that the problem starts
: > when proplist_syscall is called. Proplistd is alive an well in the
: > NFS server. We have had previous problems with proplist, but not like
: > this one, only an error message about proplist.
: Try turning the proplistd off. Check to see if there are any proplist
: related patches for V4.0F.
Essentially, I did that. (Actually I accidentally messed up the
proplistd) Then the file operations over NFS started to succeed but
with an error message about proplist. When I booted the NFS server,
everything was OK. My diagnosis is, that an increasing number of
client processes was getting hung with the proplistd. Booting
just the server did not help, the client processes got immediately
stuck again. I should have booted both the clients and the server
simultaneously. This would be consistent with my feeling that
the problem was getting worse all the time.
--
Erkki '�rkki' Aalto "Life is divided up into
Internet: Erkki.Aalto@Helsinki.FI the horrible and the miserable"
Snail: P.O. Box 64
FI-00014 University of Helsinki, Finland
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-03-31 17:19 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-30 15:29 Strange NFS problem andy thomas
2002-10-31 10:07 ` Strange NFS problem - NOW FIXED! andy thomas
2002-10-31 17:36 ` Brian Haley
-- strict thread matches above, loose matches on Subject: below --
2005-03-29 11:46 strange NFS problem Erkki Aalto
2005-03-29 15:22 ` Eric de Redelijkheid
2005-03-30 12:00 ` Erkki Aalto
2005-03-31 6:04 ` Erkki Aalto
2005-03-31 15:21 ` Ann Majeske
2005-03-31 17:19 ` Erkki Aalto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox