From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f9c842bd6f9e8a7a,start X-Google-Attributes: gidfee84,public 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 Message-ID: #1/1 X-Deja-AN: 145420225 references: <4jeaen$lcq@s3.iway.fr> organization: Digital Equipment Corporation reply-to: werme@zk3.dec.com newsgroups: comp.unix.osf.osf1 Super-User 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.