From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fe50f,86d1fac5344d4548 X-Google-Attributes: gidfe50f,public X-Google-Thread: 10872d,86d1fac5344d4548 X-Google-Attributes: gid10872d,public X-Google-Thread: fee84,86d1fac5344d4548 X-Google-Attributes: gidfee84,public From: werme@alingo.zk3.dec.com (Eric Werme) Subject: Re: du gives wrong info on NFS disks Date: 1995/08/11 Message-ID: #1/1 X-Deja-AN: 107977527 references: <40ebiu$6g1@riscsm.scripps.edu> organization: Digital Equipment Corporation reply-to: werme@zk3.dec.com newsgroups: comp.unix.osf.osf1,comp.sys.sgi.admin,comp.protocols.nfs matt@perutz.salk.edu (Matthew Bowen Harrington) writes: >du on an NFS client gives different info compared to du on the NFS >server when du'ing the same filesystem. df seems to give the same >information whether done on the client or server. What could be going >on? >The server is an SGI running Irix 5.3 and the client is an Alpha >running Digital Unix 3.2A. Digital Unix defaults to NFS V3, and this is a bug in SGI's V3 implementation. They appear to be returning data that is wrong by a factor of 64 or so. BTW, we have run into one interoperability problem that is our fault. SGI's XFS return times with nanosecond granularity. We were dividing that by 1000 to stuff into a field named for usecs, and multiplying by 1000 to reuse it. We could lead to a miscompare and send our client into a loop issuing a steady stream of SETATTR commands. It is fixed in Digital UNIX V3.2c which customers may be receiving already. I think it only happens when a client tries to truncate a file. -- Eric (Ric) Werme | werme@zk3.dec.com Digital Equipment Corp. | This space intentionally left blank.