From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id pAM4cKJk117548 for ; Mon, 21 Nov 2011 22:38:20 -0600 Received: from mail.sandeen.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 470D926A9AB for ; Mon, 21 Nov 2011 20:38:17 -0800 (PST) Received: from mail.sandeen.net (sandeen.net [63.231.237.45]) by cuda.sgi.com with ESMTP id JxD0k5UVZwvVv9LD for ; Mon, 21 Nov 2011 20:38:17 -0800 (PST) Message-ID: <4ECB2735.3040500@sandeen.net> Date: Mon, 21 Nov 2011 22:38:13 -0600 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: inode64 readiness testing References: <501A7AEB-6708-4181-AAE2-D145DC23B938@yahoo.com> In-Reply-To: <501A7AEB-6708-4181-AAE2-D145DC23B938@yahoo.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Peter Kimball Cc: xfs@oss.sgi.com On 11/18/11 11:33 AM, Peter Kimball wrote: > Hi folks, > > We've got some large XFS volumes that should probably be using the > inode64 mount option, but aren't yet. Before I go making irrevocable > changes, I wanted to run my testing procedure by you to make sure > I've actually tested what I think I tested. These volumes will be > shared via NFS, which is not your problem but seems to be a > troublemaker. > > I created a blank 1GB disk image, created an XFS filesystem on that > image, and mounted it on a loopback device using the ino64 flag. > > I wrote a bunch of data to the filesystem (lots of small files), > approximately 600MB. > > At this point, I think I have a filesystem in which inodes use 64-bit > addresses, even if the actual address value would fit in 32 bits. I > would expect any program that can't handle 64-bit addresses to barf > when trying to access any data on the filesystem. > > I then unmounted the filesystem and re-mounted it using the inode64 > flag, just like it would be mounted in production. > > I then verified that the programs I cared about (mostly NFS clients) > could read all of the data I had written. I also made sure they > could write to the filesystem. > > Since I haven't seen any read/write failures at this point, I feel > I'm ready to sign off that we're ready to start using the inode64 > flag. Did I properly create files using 64-bit inodes? Did I read > from the filesystem in such a way that I would know if my readers > were unable to handle 64-bit inodes? Is there anything I should test > that I haven't? You might also take a look at the script at http://sandeen.net/wordpress/?p=9, which can look at binaries and check them for 32-bit stat() syscalls. -Eric > Thanks for all your hard work on this most useful project! Peter > > > > ps: not sure it makes a difference, this is on Centos 5.3 > (2.6.18-128.el5), so I'm not entirely certain which XFS bugs/features > have been folded in by the maintainers... > > _______________________________________________ xfs mailing list > xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs > _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs