* strange NFS problem HP->DEC
@ 1995-07-18 4:00 Frank Weich
1995-07-21 4:00 ` Jim Gleason
0 siblings, 1 reply; 2+ messages in thread
From: Frank Weich @ 1995-07-18 4:00 UTC (permalink / raw)
Hi all!
We have a very strange NFS-problem here, which couldn't be solved yet.
We are running a DEC 2100/4 alpha server with OSF1 V3.0 as NFS master
and several HP 9000/735 (HP-UX 9.05) as clients.
One of our molecular dynamics programs crashed from time to time
with a corrupted log-file. The problem could be reduced down to
a small code you find below. It should just produce a file called
"cgrlog" having 200 lines at the end.
If I run the program on the HP in a NFS-mounted file system from the
DEC server, everything is fine until the HP clears its file buffer.
After that I find the file corrupted and the strangest is: other users
find several lines of "cgrlog" scattered to their files (sic!).
The problem is well reproducible with this combination (DEC server
and HP client), but does never occur on any other combination of
DEC, HP and PCs (running Linux).
I have installed the PHKL_5763 kernel and nfs megapatch and the
PHSS_5650 fortran patch on the HP already and our HP call service
doesn't know anything to do further.
My questions are:
* Does anyone know anything about NFS problems between DEC OSF1
and HP-UX ?
* Does anyone know about a f77 problem when a file is often
opened and closed ?
* Are there any DEC nfs patches known?
Any hint is welcome (and forwarded to our HP/DEC support centers).
For those of you who want to test the problem:
Compile this code and run it 200 times with the script below.
The file system buffer shouldn't be able to hold 200 files
at once - some of the files should be corrupted.
This could be tested by "wc -l cgrlog.*|grep -v 200".
ATTENTION: Be sure that you don't have important data on the disk!
Never run the code on the root file system!
---f77 code---
DO I=1,200
call LOGCGR(I,200-I)
ENDDO
end
SUBROUTINE LOGCGR(ISTEP,ILINE)
CHARACTER*23 LINE
OPEN(45,FILE='cgrlog',FORM='FORMATTED',STATUS='UNKNOWN')
DO I=1,100000
READ(45,'(A23)',END=10) LINE
END DO
10 CONTINUE
LINE="TEST"
WRITE(45,100) ISTEP,ILINE,LINE
100 FORMAT('Istep= ',I3,', Iline= ',I3,', ',A23)
20 CLOSE(45)
RETURN
END
---skript---
#!/bin/tcsh
set i=0
while ( $i < $1 )
rm -f cgrlog
./a.out
mv -f cgrlog cgrlog.$i
@ i++
end
--
Frank Weich Technische Universitaet Chemnitz o__
snail-mail: Th. Physik III, 09107 Chemnitz _,>/ _
phone: 0371/531-3148 (_) \(_)
e-mail: weich@physik.tu-chemnitz.de ^~^~^~^~^~
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: strange NFS problem HP->DEC
1995-07-18 4:00 strange NFS problem HP->DEC Frank Weich
@ 1995-07-21 4:00 ` Jim Gleason
0 siblings, 0 replies; 2+ messages in thread
From: Jim Gleason @ 1995-07-21 4:00 UTC (permalink / raw)
To: weich
You don't need a piece of code to reproduce this problem.
I am running a 715 (HPUX 10.x) with NFS mounted disk from DEC OSF1 machines and
have this problem all the time.
I get nfs files truncated when I am editing them with vi. I get truncated
files when I compile (cc or c89 or CC) and create object files on the nfs
mounted volume. I get truncated files when I copy (cp) to an nfs mounted
device.
I now do all nfs mounted file manipulation from the nfs mounted systems and
then use them on the 715. Every once in a while I forget and every time, I get
bit. If HP ever comes up with a fix I would sure like to know about it too.
:-(
--
__?__
/ \
/ ^ ^ \
( (o) (o) )
\ /
==oOOO======(_)=====OOOo=================================================
| Jim Gleason | Alta Technology | jimg@altatech.com |
| 9500 South 500 West, Suite 212, Sandy, Utah 84070 (801)562-1010 |
==============Oooo.======================================================
.oooO ( )
( ) ) / You have to be a little crazy just to stay sane...
\ ( (_/
\_)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-07-21 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-18 4:00 strange NFS problem HP->DEC Frank Weich
1995-07-21 4:00 ` Jim Gleason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox