From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,8d13b028d3b42bf0 X-Google-Attributes: gidfcda7,public X-Google-Thread: fee84,8d13b028d3b42bf0 X-Google-Attributes: gidfee84,public From: nospam@zk3.dec.com (Eric Werme - replace nospam with werme) Subject: Re: Interesting NFS problem Date: 1999/06/30 Message-ID: <7ldu7n$s9o$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 495747759 References: <930248785.505205@dmz4.imec.be> Organization: Digital Equipment Corporation Keywords: NFS automounter Reply-To: (Replace nobody with werme) nobody@zk3.dec.com Newsgroups: comp.unix.osf.osf1,comp.sys.hp.hpux elsen@imec.be (Marc Elsen) writes: > Recently we upgraded our hpux file servers (10.20) to > very recent patch releases which amongst fixing > many problems (ahem) also implements NFS V3 in hpux. > We have some osf / digital unix /tru 64 Unix clients > (what's in a name ...) running 4.0d > which always give the following error when listing > a directory which is mounted on the hpux file server : > % ls -lt | more >: Error 10005 occurred. >-rw-r--r-- 1 user group 621 Jun 24 10:06 some.file Is this directory listing complete? > NFS3ERR_TOOSMALL -> The buffer or request is too small. > Support centers are in these complex ages of course > pointing to each other yet the question remains > interesting a to whether the nfs client (digital unix) > or the hpux server has a bug or problem ? Gee, I thought I had trained ours to ask for tcpdump traces before pointing fingers. :-( My guess is that Tru64 sends a READDIRPLUS request, HP allocates buffers, but overflows and returns the error instead of the partial buffer. You might be able to reproduce the problem with a directory with lots of short names (or would that be a lot of long names?). In general, we'll issue READDIRPLUS for the first access of a directory, and then READDIR for subsequent reads, relying on the name cache for holding file attributes. Therefore, you may see an error on the first "ls", but see it work on subsequent runs. In the five years we've been shipping NFS V3 I can't recall hearing of this problem, however, that doesn't make me completely confident that it's solely HP's bug. (Not that I'd ever point a finger!) At any rate, tcpdump, tcpdump, tcpdump! See recent postings here about setup and usage hints from the Digital Unix/Tru64 FAQ. -Ric Werme -- <> Eric (Ric) Werme <> The above is unlikely to contain <> <> ROT-13 addresses: <> official claims or policies of <> <> <> Compaq Computer Corp. <> <> <> http://www.cyberportal.net/werme <>