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? ### contents of /etc/auto.master /work /etc/auto.work --timeout=300 ###system information [root@ln0 ~]# uname -a;automount -V Linux ln0 2.6.18-194.17.1.0.1.el5_lustre.1.8.5 #1 SMP Wed Aug 3 18:09:09 CST 2011 x86_64 x86_64 x86_64 GNU/Linux Linux automount version 5.0.1-0.rc2.143.el5 Directories: config dir: /etc/sysconfig maps dir: /etc modules dir: /usr/lib64/autofs Compile options: DISABLE_MOUNT_LOCKING ENABLE_IGNORE_BUSY_MOUNTS WITH_HESIOD WITH_LDAP WITH_SASL [zws@c37b20 origin1]$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.5 (Tikanga) #####[root@ln0 ~]# cat /etc/auto.work * -rw,soft,intr,proto=udp ibworkserver:/home/& the fortran code fragment: 1269 fid = 4444 1270 fn = trim(pwd) // '/' // trim(name) 1272 open(fid,file=trim(fn),form='unformatted') 1273 write(fid) model%tmp%elec_down%len 1274 write(fid) model%tmp%elec_down%num 1275 write(fid) model%tmp%elec_down%dim 1276 write(fid) model%tmp%elec_down%up_dif 1277 write(fid) model%tmp%elec_down%down_dif 1278 1279 do i=1,model%tmp%elec_down%num 1280 write(fid) 1281 write(fid) model%tmp%elec_down%sub(i)%num_up,model%tmp%elec_down%sub(i)%num_down 1282 write(fid) model%tmp%elec_down%sub(i)%row_dim,model%tmp%elec_down%sub(i)%sdim 1283 do y=1,model%tmp%elec_down%sub(i)%sdim 1284 do x=1,model%tmp%elec_down%sub(i)%row_dim 1285 write(fid) model%tmp%elec_down%sub(i)%mat(x,y) 1286 end do 1287 end do 1288 end do 1289 1290 1291 1292 1293 status = 0 1303 INQUIRE(UNIT=fid, OPENED=opened, NAME=fname) 1304 print *, 'model_to_disk about closing after inquire:', trim(fn), ',opened=', opened, ',fname=', trim(fname) 1305 close(fid) 1306 ..... at this code fragment, I randomly get error like this: 19367 truns_to_disk about closing after inquire:/work/zws_work/origin1/systruns24 19368 ,opened= T ,fname=/work/zws_work/origin1/systruns24 19370 forrtl: Input/output error 19371 forrtl: severe (28): CLOSE error, unit 4444, file "Unknown" 19372 Image PC Routine Line Source 19373 Kitaev_DMRG1 0000000000533CED Unknown Unknown Unknown 19374 Kitaev_DMRG1 00000000005327F5 Unknown Unknown Unknown 19375 Kitaev_DMRG1 00000000004DCE00 Unknown Unknown Unknown 19376 Kitaev_DMRG1 000000000049F7CF Unknown Unknown Unknown 19377 Kitaev_DMRG1 000000000049F002 Unknown Unknown Unknown 19378 Kitaev_DMRG1 000000000049CE61 Unknown Unknown Unknown 19379 Kitaev_DMRG1 0000000000409D44 wave_to_disk_ 1073 space_info.f90 19380 Kitaev_DMRG1 000000000046B5DF left_to_right_ 705 warm_up.f90 19381 Kitaev_DMRG1 0000000000497571 MAIN__ 45 quantum.f90 19382 Kitaev_DMRG1 0000000000403A7C Unknown Unknown Unknown 19383 libc.so.6 0000003AF641D994 Unknown Unknown Unknown 19384 Kitaev_DMRG1 0000000000403989 Unknown Unknown Unknown
_______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs