[OpenIndiana-discuss] statfs() problem with HP-UX 11.23, 11.31 client and oi_151a server

Albert Chin openindiana-discuss at mlists.thewrittenword.com
Sun Nov 27 18:44:39 UTC 2011


On Sun, Nov 27, 2011 at 08:04:33AM -0500, James Carlson wrote:
> 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.

I think you're correct. If we quota the exported file system to 40G,
then there is no problem. So why don't all operating systems return
EOVERFLOW?

> > 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>

-- 
albert chin (china at thewrittenword.com)



More information about the OpenIndiana-discuss mailing list