> -----Original Message----- > From: autofs-boun...@linux.kernel.org [mailto:autofs- > boun...@linux.kernel.org] On Behalf Of wusheng zhang > Sent: Saturday, August 13, 2011 9:04 > To: autofs@linux.kernel.org > Subject: [autofs] autofs, closing file error. > > Dear list: > I am not sure, it is suitable posing the message to this list. But > this obsessed me for a long time. > > > ####Problem description: > I am running a fortran program, that doing some computation works and > saves data to the > working directory. > I started the program at an automounted directory, here, in my > situation, the directory is > /work/zws_work/origin1. > > when the program run, I got CLOSE error randomly. > I also run the same copy of binary on a local disk, It never fail. > > so I doubt is it the autofs problem? > > But I have no idea how recognize and solve it, > Switching to a newer version of automount daemon may solve this > problem? <SNIP> > #####[root@ln0 ~]# cat /etc/auto.work > * -rw,soft,intr,proto=udp ibworkserver:/home/& > <SNIP>
My experience says try changing the soft to hard. i.e. * -rw,hard,intr,proto=udp ibworkserver:/home/& hard,intr gives, in my opinion, a reasonable balance between the 'lock the program up' of hard and 'give random unexplainable (an often silent) errors when nfs drops a couple of packets' of soft. I suggest also reading the soft entry in `man nfs`. _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs