23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

16.2 Running POSIX Tests Against <strong>Lustre</strong><br />

To run the POSIX tests against <strong>Lustre</strong>:<br />

1. As root, set up your <strong>Lustre</strong> filesystem, mounted on /mnt/lustre (for instance, sh<br />

llmount.sh) and untar the POSIX tests back to their home.<br />

$ tar --same-owner -xzpvf /path/to/tarball/TESTROOT.tgz -C \<br />

/mnt/lustre<br />

As the vsx0 user, you can re-run the tests as many times as you want. If you are<br />

newly logged in as the vsx0 user, you need to source the environment with '.<br />

profile' so that your path and environment is set up correctly.<br />

2. Run the POSIX tests, run:<br />

$ . /home/tet/profile<br />

$ tcc -e -s scen.exec -a /mnt/lustre/TESTROOT -p<br />

New results are placed in new directories at /home/tet/test_sets/results<br />

Each result is given a directory name similar to 0004e (an incrementing number<br />

which ends with e (for test execution) or b (for building tests).<br />

3. To look at a formatted report, run:<br />

$ vrpt results/0004e/journal | less<br />

Some tests are "Unsupported", "Untested" or "Not In Use", which does not<br />

necessarily indicate a problem.<br />

4. To compare two test results, run:<br />

$ vrptm results/ext3/journal results/0004e/journal | less<br />

This is more interesting than looking at the result of a single test as it helps to<br />

find test failures that are specific to the filesystem, instead of the Linux VFS or<br />

kernel. Up to six test results can be compared at one time. It is often useful to<br />

rename the results directory to have more interesting names so that they are<br />

meaningful in the future.<br />

16-4 <strong>Lustre</strong> <strong>1.6</strong> <strong>Operations</strong> <strong>Manual</strong> • September 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!