Closed brettkettering closed 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.
Test implemented in regression suite.
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.