linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: David Howells <dhowells@redhat.com>
Cc: David Chinner <dgc@sgi.com>,
	Christoph Hellwig <hch@infradead.org>,
	aviro@redhat.com, akpm@osdl.org, linux-fsdevel@vger.kernel.org
Subject: Re: 64-bit inode number issues
Date: Tue, 10 Oct 2006 09:53:11 +1000	[thread overview]
Message-ID: <20061009235311.GM11034@melbourne.sgi.com> (raw)
In-Reply-To: <9285.1160393534@redhat.com>

On Mon, Oct 09, 2006 at 12:32:14PM +0100, David Howells wrote:
> David Chinner <dgc@sgi.com> wrote:
> 
> > >  o turn it off by default in -mm and see what goes boom
> > 
> > Will we even see the conditions for the NFS client to go boom in the
> > environments -mm kernels are typically run? i.e. does someone have a
> > test case that reliably triggers problems?
> 
> I don't know about that, but we (Red Hat) have had customers logging the
> problem in our Bugzilla against NFS.
> 
> Coming up with a reliable test case is a little tricky, as it involves setting
> up a server to generate fileids > 0xffffffff, and manipulating inode numbers
> directly generally isn't allowed...  Maybe it can be done with a ramfs hack.

64 bit machine, >1TB sized XFS filesystem on the server, inode64
mount option, fill the filesystem to 99% full and then create lots
of inodes. You should get inodes above 1TB then, and that will give
you 64 bit inode numbers.

Typically the way we do this quickly is create an XFS filesystem
then use the ag-wipe tool (*) we have in our QA suite that uses
xfs_db to "fill" up all but the last AG in the filesystem by poking
the right numbers into on disk structures.  This is significantly
faster than filling a terabyte of disk space.....

(*)http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-cmds/xfstests/tools/ag-wipe

FWIW, if you don't have more than a TB of disk space, then you might
be able to create an XFS filesystem on loopback using a sparse file
and then using the ag-wipe tool on the loopback filesystem.

HTH.

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

  parent reply	other threads:[~2006-10-09 23:53 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-28 16:45 fscache review comments, part 1 Christoph Hellwig
2006-09-28 17:30 ` Andreas Dilger
2006-09-29  0:02   ` Christoph Hellwig
2006-09-29  1:51     ` Timothy Shimmin
2006-09-29  8:38 ` David Howells
2006-10-02 13:40 ` David Howells
2006-10-02 17:39   ` Andrew Morton
2006-10-02 21:41     ` Christoph Hellwig
2006-10-04 13:44 ` Al Viro
2006-10-04 14:18 ` 64-bit inode number issues David Howells
2006-10-07 21:01   ` Christoph Hellwig
2006-10-09  9:01     ` David Chinner
2006-10-09 11:32     ` David Howells
2006-10-09 14:12       ` Arjan van de Ven
2006-10-09 23:53       ` David Chinner [this message]
2006-10-12 18:32     ` Benjamin LaHaise
2006-10-17  6:02       ` Chris Wedgwood
2006-10-09  7:58   ` David Howells
2006-10-04 14:23 ` David Howells
2006-10-08  2:00   ` Theodore Tso
2006-10-08 16:02     ` Alexander Viro
2006-10-09 13:46 ` fscache review comments, part 1 David Howells
2006-10-10 13:31   ` Christoph Hellwig

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=20061009235311.GM11034@melbourne.sgi.com \
    --to=dgc@sgi.com \
    --cc=akpm@osdl.org \
    --cc=aviro@redhat.com \
    --cc=dhowells@redhat.com \
    --cc=hch@infradead.org \
    --cc=linux-fsdevel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).