»LID Home
»LID History
»Editing the LID

1. Summary

The "tests" subsystem is a set of scripts and programs which is used to test other lustre subsystems. It contains:

runtests

Simple basic regression test

sanity

A set of regression tests that verify operation under normal operating conditions

fsx

file system exerciser

sanityn

Tests that verify operations from two clients under normal operating conditions

lfsck

Tests e2fsck and lfsck to detect and fix filesystem corruption

liblustre

Runs a test linked to a liblustre client library

replay-single

A set of unit tests that verify recovery after MDS failure

conf-sanity

A set of unit tests that verify the configuration

recovery-small

A set of unit tests that verify RPC replay after communications failure

replay-ost-single

A set of unit tests that verify recovery after OST failure

replay-dual

A set of unit tests that verify the recovery from two clients after server failure

insanity

A set of tests that verify the multiple concurrent failure conditions

sanity-quota

A set of tests that verify filesystem quotas

The acceptance-small.sh is a wrapper which is normally used to run all (or any) of these scripts. In additional it is used to run the following pre-installed benchmarks:

dbench

Dbench benchmark for simulating N clients to produce the filesystem load

bonnie

Bonnie++ benchmark for creation, reading, and deleting many small files

iozone

Iozone benchmark for generating and measuring a variety of file operations.

2. Code

lustre/tests/acl/run
lustre/tests/acl/make-tree
lustre/tests/acl/README
lustre/tests/acl/setfacl.test
lustre/tests/acl/getfacl-noacl.test
lustre/tests/acl/permissions.test
lustre/tests/acl/inheritance.test
lustre/tests/acl/misc.test
lustre/tests/acl/cp.test
lustre/tests/cfg/local.sh
lustre/tests/cfg/insanity-local.sh
lustre/tests/ll_sparseness_write.c
lustre/tests/writeme.c
lustre/tests/cobd.sh
lustre/tests/test_brw.c
lustre/tests/ll_getstripe_info.c
lustre/tests/lov-sanity.sh
lustre/tests/sleeptest.c
lustre/tests/flocks_test.c
lustre/tests/getdents.c
lustre/tests/ll_dirstripe_verify.c
lustre/tests/sanity.sh
lustre/tests/multifstat.c
lustre/tests/sanityN.sh
lustre/tests/liblustre_sanity_uml.sh
lustre/tests/fsx.c
lustre/tests/small_write.c
lustre/tests/socketserver
lustre/tests/cmknod.c
lustre/tests/README
lustre/tests/acceptance-metadata-double.sh
lustre/tests/writemany.c
lustre/tests/llecho.sh
lustre/tests/lfscktest.sh
lustre/tests/run-llog.sh
lustre/tests/conf-sanity.sh
lustre/tests/mmap_sanity.c
lustre/tests/write_disjoint.c
lustre/tests/ldaptest.c
lustre/tests/acceptance-metadata-single.sh
lustre/tests/compile.sh
lustre/tests/mcreate.c
lustre/tests/runas.c
lustre/tests/replay-single.sh
lustre/tests/lockorder.sh
lustre/tests/test2.c
lustre/tests/llog-test.sh
lustre/tests/fchdir_test.c
lustre/tests/mkdirdeep.c
lustre/tests/runtests
lustre/tests/flock.c
lustre/tests/mlink.c
lustre/tests/checkstat.c
lustre/tests/crash-mod.sh
lustre/tests/multiop.c
lustre/tests/random-reads.c
lustre/tests/disk1_4.zip
lustre/tests/rundbench
lustre/tests/wantedi.c
lustre/tests/rename_many.c
lustre/tests/leak_finder.pl
lustre/tests/Makefile.am
lustre/tests/parallel_grouplock.c
lustre/tests/chownmany.c
lustre/tests/ost_oos.sh
lustre/tests/mkdirmany.c
lustre/tests/directio.c
lustre/tests/insanity.sh
lustre/tests/createmany-mpi.c
lustre/tests/createmany.c
lustre/tests/runiozone
lustre/tests/rmdirmany.c
lustre/tests/replay-ost-single.sh
lustre/tests/mcr.sh
lustre/tests/mrename.c
lustre/tests/sanity-quota.sh
lustre/tests/lp_utils.c
lustre/tests/lp_utils.h
lustre/tests/acceptance-metadata-parallel.sh
lustre/tests/oos.sh
lustre/tests/createdestroy.c
lustre/tests/toexcl.c
lustre/tests/replay-dual.sh
lustre/tests/createtest.c
lustre/tests/munlink.c
lustre/tests/iopentest1.c
lustre/tests/iopentest2.c
lustre/tests/openme.c
lustre/tests/openclose.c
lustre/tests/test-framework.sh
lustre/tests/ll_sparseness_verify.c
lustre/tests/it_test.c
lustre/tests/unlinkmany.c
lustre/tests/opendirunlink.c
lustre/tests/filter_survey.sh
lustre/tests/utime.c
lustre/tests/openunlink.c
lustre/tests/runvmstat
lustre/tests/statmany.c
lustre/tests/create.pl
lustre/tests/oos2.sh
lustre/tests/statone.c
lustre/tests/rename.pl
lustre/tests/set_dates.sh
lustre/tests/openfilleddirunlink.c
lustre/tests/openfile.c
lustre/tests/llmountcleanup.sh
lustre/tests/llmount.sh
lustre/tests/acceptance-small.sh
lustre/tests/truncate.c
lustre/tests/recovery-small.sh
lustre/tests/2ost.sh
lustre/tests/tchmod.c
lustre/tests/socketclient
lustre/tests/runobdstat
lustre/tests/memhog.c
lustre/tests/flock_test.c
lustre/tests/busy.sh
lustre/tests/write_append_truncate.c
lustre/tests/opendevunlink.c
lustre/tests/o_directory.c