[lsb-discuss] Testing / Certifying a filesystem?

Wichmann, Mats D mats.d.wichmann at intel.com
Tue Nov 7 05:52:55 PST 2006


>Are there any guidelines for testing / certifying a third party
>filesystem against a Linux distribution?

Not that I'm aware of.  

>As a starting point the Platform Tests could be installed and the
>Runtime Test Suite executed with the target filesystem mounted on
>TESTROOT.

If you do this, there are a few things to consider - I hope
Andrew Josey will weigh in as the true expert in this area.
There are tests that stress border cases which are places
filesystems often show subtle failures (correct response to
an out-of-space condition, for example).  Some of these tests
are not conducted on the filesystem where the tests appear,
but on a separate small filesystem which is constructed in
a disk file and then loopback-mounted on demand.  You'd need
to adjust the script which builds this filesystem as well
as the mount options in the test parameters, to make sure
the filesystem type being tested is also used for these tests.
I think there may also be just a few filesystem-specific
assumptions.

The runtime test will give some confidence that the behavior
of the file system is correct under certain conditions,
most of them relatively normal and straightforward, and a
set that I believe is too limited to be really useful; but most
of the things you'd want to convince yourself about the
correctness of a filesystem have to do with operation under
periods of high stress, and the test won't do anything for
you in that respect.  Since I'll end up stepping into waters
I don't know enough about maybe we'll wait for Ted to
comment...

Cheers,

Mats




More information about the lsb-discuss mailing list