Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: Copy NFS from OS/2 2.11 to OSF1 3.2 + LSM + AdvFS : data lost ?
       [not found] <4jeaen$lcq@s3.iway.fr>
@ 1996-04-02  5:00 ` Eric Werme
  1996-04-03  5:00 ` Copy NFS from OS/2 2.11 to OSF1 3.2 " daswani moti
  1 sibling, 0 replies; 2+ messages in thread
From: Eric Werme @ 1996-04-02  5:00 UTC (permalink / raw)


Super-User <root> writes:

>When I nfs-copy files from OS/2 to OSF1 3.0B, I noticed that sometimes the end of my
>file "never reach the OSF's disk". In other terms, the end of the file is missing.
>I can reproduce this pb, but the frequency of such pbs is very very low.
>I met pbs with files bigger than 8956; it seems that the frequency of the pb
>increases with the size of the file. My latest tests are done with a 800K file; with
>it, I  sometimes reach 10000 loops without any error.

I assume you meant to say the problem occurs less often with big files.

My guess is that you are running into problems with the duplicate
request cache.  Whenever the server gets a NFS request that should not be
executed twice (e.g. deleting a file works the first time, not the second)
NFS will save the reply and retransmit it if the client misses the first
reply and has to retransmit the request.  A key part of identifying
retransmitted requests is the transmission identifier (XID), a 32 bit
number that should not be reused.

OS/2 does a poor job of avoiding reuse, Digital Unix has a big duplicate
request cache.  Together, file corruption is fairly common.  There's a
patch for V3.2C, I think.  The problem is fixed in V4.0.  I don't know if
IBM has plans to fix their end, which is really where the fault lies.
-- 
Eric (Ric) Werme         |  werme@zk3.dec.com
Digital Equipment Corp.  |  This space intentionally left blank.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Copy NFS from OS/2 2.11 to OSF1 3.2 : data lost ?
       [not found] <4jeaen$lcq@s3.iway.fr>
  1996-04-02  5:00 ` Copy NFS from OS/2 2.11 to OSF1 3.2 + LSM + AdvFS : data lost ? Eric Werme
@ 1996-04-03  5:00 ` daswani moti
  1 sibling, 0 replies; 2+ messages in thread
From: daswani moti @ 1996-04-03  5:00 UTC (permalink / raw)
  Cc: daswanm, glaudin, castagp, publius

Hello !

Here are some more details about the pb.

. The command copy, in spite of the /verify option, does not see any pb; the following compare 
returns errors.

. The length of the smallest file with which I remarked truncation is 8956 byte. OSF's nfs server 
buffers are 8K length, OSF's pagesize is also 8K.

. For a given file, truncation is always the same : whatever the couple OS/2-OSF is, whenever the 
test is done, the missing part of the file is always the same. It ranges from 424 bytes for a 8K 
file to 114K for a 800K one.

. With a 32K file, I noticed a 2 x 2984 byte length truncation; 2984 is the size of the OS/2 
nfs-client buffers.

. This pb appears only with the couple OS/2 V 2.11 -> OSF V 3.0B; with an ufs volume or with an 
AdvFS + LSM (simple mirroring) one.

. Changing the size of nfs-client buffers (smaller or ajusted on the 8K of the OSF) does not fix 
the pb.

. If we double the load by adding a 2nd PC, the frequency of the pb seems to remain unchanged.

. During the tests, we checked that :
		- the Alpha was not (over)loaded
		- there was not nfs server error
		- Alpha's disk fragmentation remains very low
		- all the nfs daemons were up (no <defunct>).


I have an IP-trace (OS/2 side) were we can see this pb; the only difference with a "normal" case is 
that the OS/2 re-send 1 second after the previous send the missing part (and the dialog just before 
and just after this re-sending).


Thank you.
Moti Daswani
daswanm@agf.fr



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-04-03  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4jeaen$lcq@s3.iway.fr>
1996-04-02  5:00 ` Copy NFS from OS/2 2.11 to OSF1 3.2 + LSM + AdvFS : data lost ? Eric Werme
1996-04-03  5:00 ` Copy NFS from OS/2 2.11 to OSF1 3.2 " daswani moti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox