All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Kirch <okir@suse.de>
To: Christoph Hellwig <hch@infradead.org>
Cc: nfs@lists.sourceforge.net
Subject: Re: [PATCH] statfs fails with EOVERFLOW
Date: Tue, 23 Mar 2004 14:30:19 +0100	[thread overview]
Message-ID: <20040323133019.GD30984@suse.de> (raw)
In-Reply-To: <20040323132127.A322@infradead.org>

On Tue, Mar 23, 2004 at 01:21:27PM +0000, Christoph Hellwig wrote:
> On Tue, Mar 23, 2004 at 02:05:13PM +0100, Olaf Kirch wrote:
> > I am currently dealing with a 2.6 bug report concerning statfs failing
> > with EOVERFLOW. This happens on very large NFS file systems, and the
> > problem is obviously that by default, we set s_blocksize to the wtmult
> > value advertised by the server. If tbytes / wtmult exceeds 31 bits, statfs
> > will fail with EOVERFLOW (on 2.4 it would silently produce crap values).
> 
> that's why we have statfs64 in 2.6, a program with the right LFS magic
> and a recentish glibc should use if for you.

The glibc maintainers at suse tell me it's broken at the moment.

Second, not all apps can easily be converted to LFS support. One of the
apps that barfed was OpenOffice... be my guest and make it LFS clean :)

And finally, I think it's really an NFS bug. A local statfs on the file
system on the server works fine; it's just that the NFS client barfs
because it uses wtmult as the block size (and if it's a v2 mount, things
are even worse because it picks a totally arbitrary wtmult value of 512).

Olaf
-- 
Olaf Kirch     |  Stop wasting entropy - start using predictable
okir@suse.de   |  tempfile names today!
---------------+ 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2004-03-23 13:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-23 13:05 [PATCH] statfs fails with EOVERFLOW Olaf Kirch
2004-03-23 13:21 ` Christoph Hellwig
2004-03-23 13:30   ` Olaf Kirch [this message]
2004-03-23 13:36     ` Christoph Hellwig
2004-03-23 16:25 ` Trond Myklebust

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040323133019.GD30984@suse.de \
    --to=okir@suse.de \
    --cc=hch@infradead.org \
    --cc=nfs@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.