Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: werme@alingo.zk3.dec.com (Eric Werme)
Subject: Re: Copy NFS from OS/2 2.11 to OSF1 3.2 + LSM + AdvFS : data lost ?
Date: 1996/04/02	[thread overview]
Message-ID: <werme.828451166@alingo.zk3.dec.com> (raw)
In-Reply-To: 4jeaen$lcq@s3.iway.fr

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.



       reply	other threads:[~1996-04-02  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4jeaen$lcq@s3.iway.fr>
1996-04-02  5:00 ` Eric Werme [this message]
1996-04-03  5:00 ` Copy NFS from OS/2 2.11 to OSF1 3.2 : data lost ? daswani moti
read-only archive

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