plfs / plfs-regression

LANL no longer develops PLFS. Feel free to fork and develop as you wish.
3 stars 5 forks source link

Test N-1 file overwrites for PLFS mounts #15

Closed brettkettering closed 12 years ago

brettkettering commented 12 years ago

Use fs_test to create new N-1 files of a known size using -io posix, -io mpi, and -io plfs. For example:

fs_test.rrz.x -noextra -nodb -nobj 1 -sync -tmpdirname /users/brettk/tmp-rrz -io plfs -touch 3 -check 3 -size 4M -strided 1 -target /var/tmp/plfs.brettk/n1/brettk/t-n1-plfs/out.plfs -shift -barriers aopen -type 2

Change -io & -target parameters for each different file type.

Then, use fs_test again to overwrite the same files so that they are smaller. For example:

fs_test.rrz.x -noextra -nodb -nobj 1 -sync -tmpdirname /users/brettk/tmp-rrz -io plfs -touch 3 -check 3 -size 2M -strided 1 -target /var/tmp/plfs.brettk/n1/brettk/t-n1-plfs/out.plfs -shift -barriers aopen -type 2

Change the -size parameter to make it smaller.

Ensure that the files now report that they are the new, smaller size.

Finally, use fs_test to make the same files larger than they originally were. For example:

fs_test.rrz.x -noextra -nodb -nobj 1 -sync -tmpdirname /users/brettk/tmp-rrz -io plfs -touch 3 -check 3 -size 5M -strided 1 -target /var/tmp/plfs.brettk/n1/brettk/t-n1-plfs/out.plfs -shift -barriers aopen -type 2

Change the -size parameter to make it larger than the original size.

Ensure that the files now report that they are the new, larger size.

brettkettering commented 12 years ago

Test implemented in regression suite.