2017-08-03 03:09:39

by Dai Xiang

[permalink] [raw]
Subject: How to install xfs_scrub

Hi!
When i do xfstests with ext4 fs, one case fail as below:

FSTYP -- ext4
PLATFORM -- Linux/x86_64 local 4.13.0-rc3
MKFS_OPTIONS -- /dev/sda8
MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch

ext4/023 [not run] xfs_scrub not found <===
Not run: ext4/023
Passed all 0 tests

It is clear that i do not have xfs_scrub cmd.
I have read related docs but do not find where or how can i get it.
I use v4.7 xfsprogs and xfstests commit is a00c51a0.
Could you help me?

Thanks

Xiang


2017-08-03 03:56:13

by Theodore Ts'o

[permalink] [raw]
Subject: Re: How to install xfs_scrub

On Thu, Aug 03, 2017 at 11:09:38AM +0800, Dai Xiang wrote:
> Hi!
> When i do xfstests with ext4 fs, one case fail as below:
>
> FSTYP -- ext4
> PLATFORM -- Linux/x86_64 local 4.13.0-rc3
> MKFS_OPTIONS -- /dev/sda8
> MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch
>
> ext4/023 [not run] xfs_scrub not found <===
> Not run: ext4/023
> Passed all 0 tests
>
> It is clear that i do not have xfs_scrub cmd.
> I have read related docs but do not find where or how can i get it.
> I use v4.7 xfsprogs and xfstests commit is a00c51a0.
> Could you help me?

That's not a failure; it's just a skipped test. (The check script
reports "Not run" separately from "Failures".)

xfs_scrub is something which is still in development. It's in
Darrick's development tree in his xfsprogs-dev git tree on kernel.org,
but it's not in an officially supported release of xfsprogs yet, as
near as I can tell.

So it's not a big deal; you can just ignore the fact that it was
skipped.

Cheers,

- Ted