xfs
[Top] [All Lists]

Re: generic/258 questions (mount issue)...

To: "Michael L. Semon" <mlsemon35@xxxxxxxxx>
Subject: Re: generic/258 questions (mount issue)...
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Wed, 22 May 2013 12:08:20 -0500
Cc: Dave Chinner <david@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <519CF6CE.8020901@xxxxxxxxx>
References: <519C14A1.8000009@xxxxxxxxx> <20130522012620.GA29466@dastard> <519C3596.7080109@xxxxxxxxx> <519CD1D9.8050904@xxxxxxxxxxx> <519CEF04.7060503@xxxxxxxxx> <519CEFFB.1080209@xxxxxxxxxxx> <519CF6CE.8020901@xxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
On 5/22/13 11:48 AM, Michael L. Semon wrote:
> On 05/22/2013 12:19 PM, Eric Sandeen wrote:
>> On 5/22/13 11:15 AM, Michael L. Semon wrote:
>>> On 05/22/2013 10:10 AM, Eric Sandeen wrote:
>>>> On 5/21/13 10:03 PM, Michael L. Semon wrote:
> 
>>> One day, I would like to earn git-log fame by incorporating better 
>>> support for JFS and especially NILFS2 into xfstests.  However, 
>>> that's a topic for another day.  I know that I have uses for both 
>>> filesystems, but that doesn't mean anybody else does.  Their 
>>> mailing lists don't give much hint of user community or progress.
>>
>> The generic tests hopefully work; if not, it should be a fairly
>> simple fixup.  And you're free to add fs-specific tests :)
>>
>> (I'm not sure if we fall back by default to mkfs.$FSTYP and fsck.$FSTYP;
>> if so, it might just work)
>>
>> -Eric
> 
> They work fine--JFS currently survives all of generic/* intact--but...
> 
> JFS: The syntax for a lot of things is very close to that of ReiserFS, 
> ext3, and ext4 filesystems.  However, before just inserting "jfs" into 
> the common/rc case switches, test results need to be audited for JFS.  
> Additionally, I don't know if the current tests use external journals 
> for non-XFS filesystems:  My first attempt stepped all over the XFS 
> journal creation script, looked messy, and was probably buggy as well.

xfs doesn't use external journal by default, it needs to have an extra
couple env. vars set (I think README covers this)

To test JFS that way it'd need more tweaking I suppose.  It could
be done, certainly.

> NILFS2: fsstress/fsx seems to slowly rip NILFS2 to bits, and I have 
> to come up with a narrower test and report bugs to those guys.

:)  not too surprising.  (first time I looked at ecryptfs vs.
fsx, fsx won the fight in about 3 ops.  Much better now.)

I'd just use fsx directly to narrow down failures to the smallest
set of operations.

> common/rc could be revised to better target filesystems with no 
> fsck whatsoever, such as NILFS2 and F2FS.  I've been getting by with 
> a simple `ln -s /bin/true /sbin/fsck.nilfs2`, and really, that is the 
> best long-term solution from an administrative standpoint.

Yeah I'd suggest that maybe nilfs2-utils should just ship something like that.

> So you see how this might be an easy fix but still take up hours in 
> debugging...

Yup.

-Eric

> Thanks again!
> 
> Michael
> 

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