[Top] [All Lists]

Re: Failure of xfstests test case 202

To: Chandra Seetharaman <sekharan@xxxxxxxxxx>
Subject: Re: Failure of xfstests test case 202
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Fri, 10 Jun 2011 17:19:11 -0400
Cc: XFS Mailing List <xfs@xxxxxxxxxxx>
In-reply-to: <1307738387.7661.450.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <1307738387.7661.450.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Fri, Jun 10, 2011 at 01:39:47PM -0700, Chandra Seetharaman wrote:
> Hi all,
> Test case 202 tries to create a single AG filesystem and runs xfs_repair
> on it expecting it to fail.
> But, when I run the test with a filesystem that is bigger than 1TB it
> fails (not pleasantly) since the max AG size is 1TB.
> I am thinking of the following solution, please let me know if there is
> any other elegant fix.

What about:

# The AG size is limited to 1TB (or even less with historic xfsprogs),
# so chose a small enough filesystem to make sure we can actually create
# a single AG filesystem.
_scratch_mkfs_sized `expr 1024 \* 1024 \* 1024`


<Prev in Thread] Current Thread [Next in Thread>