[OpenIndiana-discuss] statfs() problem with HP-UX 11.23, 11.31 client and oi_151a server
James Carlson
carlsonj at workingcode.com
Sun Nov 27 13:04:33 UTC 2011
On 11/27/11 02:03, Albert Chin wrote:
> On Sun, Nov 27, 2011 at 12:48:39AM -0600, Albert Chin wrote:
>> We're running oi_151a and using it to serve up file systems to HP-UX
>> 11.23 and 11.31 hosts. Unfortunately, we're seeing statfs() problems
>> on this NFS server. We don't see this issue on any other client
>> (Solaris 2.6-10, AIX 5.1-7, HP-UX 10.20, 11.00, 11.11, Tru64 UNIX,
>> IRIX, RHEL 4-6).
Do you have 1TB or more in this file system? If so, then this is
(unfortunately) the expected result. statfs() has int32_t structure
members, which overflow if you have 2^31 blocks or more in your file
system. 2^31 blocks is 1TB.
> We don't see any errors from the above program when the NFS server
> 11.31/IA or Solaris 10.
>
At a guess, smaller file systems. Just a guess, though. EOVERFLOW
basically says that the result doesn't fit in the data structure
available. Rather than return a wrong answer, it returns no answer.
--
James Carlson 42.703N 71.076W <carlsonj at workingcode.com>
More information about the OpenIndiana-discuss
mailing list