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
|
Quote:
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 I updated the /etc/selinux/config From ================= #SELINUX=enforcing To ================= SELINUX=disabled but still not work , can advise what is wrong ? thx |
Are you sure it's not the automount that times out?
Code:
ps -ef|grep automount |
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 |
I tried to update /etc/sysconfig/autofs to disable #DAEMONOPTIONS="--timeout=60" , but still not work , can advise what is wrong ? thx
|
Hi,
Check /etc/auto.master. It's the file the aotomounter reads to create mount points and usually the timeout is defined there, like: Quote:
Regards |
Quote:
the entry is available but disabled , can advise what can i do ? thx #vi /etc/auto.master #/misc /etc/auto.misc --timeout=60 #/misc /etc/auto.misc #/net /etc/auto.net |
You didn't answer about the output of:
Code:
ps -ef|grep automount |
Quote:
ps -ef|grep automount root 1877 1875 0 09:40 pts/81 00:00:00 grep automount |
So you're not using automount to mount the nfs share.
You should take a look at /etc/fstab to see how it is mounted. Also looking at the log files could give you some hints why the share gets disconnected. |
All times are GMT -5. The time now is 05:08 AM. |