Albert Chin wrote: > 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?
In a different environment (particularly on a 64-bit system), those values may not be just 32 bits wide. If you can't fix the application that's doing this, then I think setting a quota just under 1TB may be the simplest work-around. -- James Carlson 42.703N 71.076W <carls...@workingcode.com> _______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss