[CentOS] losing NFS connection

Mon Apr 25 19:42:56 UTC 2005
Angelo Machils <angelus at sangreal.demon.nl>

>
>
>-----Original Message-----
>> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
>> Behalf Of Angelo Machils
>> Sent: Sunday, April 24, 2005 1:28 PM
>> To: centos at centos.org
>> Subject: [CentOS] losing NFS connection
>> 
>> Hello there!
>> 
>> Perhaps this is a little off-topic, but I notice this only on the
>  
>
>Centos
>  
>
>>> box.
>>> I'm running Centos 4 on an AMD64 which has the following entries in
>>    
>>
>the
>  
>
>>> fstab to connect to NFS shares on a Fedora3 box:
>>> 192.168.1.12:/home/angelo/ /home/angelo/NFS_share1 nfs
>>> rw,addr=192.168.1.12 0 0
>>> 192.168.1.12:/home/angelo/data /home/angelo/NFS_share2 nfs
>>> rw,addr=192.168.1.12 0 0
>>> 192.168.1.12:/home/angelo/data2 /home/angelo/NFS_share3 nfs
>>> rw,addr=192.168.1.12 0 0
>>> I have opened ports 111 (TCP), 648 (TCP), 651 (TCP) and 2049 (TCP and
>>> UDP) in iptables on the FC3 box and I can connect to them, but after a
>>> while I seem to loose the connection to the shares.
>>    
>>
>
>[snip]
>
>  
>
>>> 
>>> Anyone any idea what is wrong here?
>>    
>>
>
>Just a thought but have you hard-coded speed and duplex all the way
>through? Don't trust auto-negotiation.
>
>--
>Marc 
>

I have opened the firewall on the server all the way for the client (and 
also the other way around) but it makes no difference. After a while I 
see these messages again in the /var/log/messages on the client:
Apr 25 21:38:02 solaris kernel: RPC: garbage, exit EIO
Apr 25 21:38:33 solaris last message repeated 70 times
Apr 25 21:39:34 solaris last message repeated 122 times
Apr 25 21:40:01 solaris last message repeated 55 times
Apr 25 21:40:01 solaris crond(pam_unix)[4701]: session opened for user 
root by (uid=0)
Apr 25 21:40:01 solaris crond(pam_unix)[4701]: session closed for user root
Apr 25 21:40:02 solaris kernel: RPC: garbage, exit EIO
And this keeps repeating...... No entries on the server though.....

Which file do I have to edit in order to set the NIC into fixed state. I 
know that I can use mii-tool to check and set, but is this permanent, 
even after a reboot?

Thanks in advance, Angelo