1830250 Members
2489 Online
110000 Solutions
New Discussion

Re: mount problem

 
snsd
Occasional Advisor

mount problem

I have newly installed a RHEL 4 server , this server use NFS mount to connect another RHEL server , but it is strange that the mount will be disconnected in a certain period of time ( between 15 mins and 30 mins ) , I guess the mount is disconnected by the cron job but I can't find it and the old server do not have such problem , can advise what is wrong in my server ? thx
8 REPLIES 8
Michal Kapalka (mikap)
Honored Contributor

Re: mount problem

hi,

did you check the network connection between the NFS server and the NFS client ???

look to the syslog and messages file for some errors or strange events.

mikap
Taifur
Respected Contributor

Re: mount problem

Hi,

Check network connectivity, syslog .

Cheers,
Taifur
snsd
Occasional Advisor

Re: mount problem

The below messages pops in /var/log/messages , is it related to my problem ? thx


SMB connection re-established (-5)
SMB connection re-established (-5)
SELinux: initialized (dev 0:11, type nfs), uses genfs_contexts
SELinux: initialized (dev 0:16, type nfs), uses genfs_contexts
SELinux: initialized (dev 0:11, type nfs), uses genfs_contexts
snsd
Occasional Advisor

Re: mount problem

I updated the /etc/selinux/config

From
=================
#SELINUX=enforcing


To
=================
SELINUX=disabled

but still not work , can advise what is wrong ? thx
Michal Kapalka (mikap)
Honored Contributor

Re: mount problem

hi,

could you please send how you are mounting the NFS export ???

mikap
snsd
Occasional Advisor

Re: mount problem



the command is simple

mount remote_server:/tmp/ora /tmp/ora1


the remote server /etc/exports have the entry

/tmp/ora localhost(rw,sync)

snsd
Occasional Advisor

Re: mount problem

thx reply ,

I found that only mount to a specific local path have this problem , that mean if I mount the remote path to another local path , then it will NOT disconnect , can advise what is wrong in my system ? thx
snsd
Occasional Advisor

Re: mount problem

I tried to update /etc/sysconfig/autofs to disable #DAEMONOPTIONS="--timeout=60" , but still not work , can advise what is wrong ? thx