
Originally Posted by
Michael
The hdparm test profile will automatically prompt you when it detects removable devices / multiple disks, assuming you are using PTS 2.0 or newer.
The simplest way though for all test profiles would to adjust the EnvironmentDirectory in ~/.phoronix-test-suite/user-config.xml to point to some directory on the disk you wish to test.
Hmm. Look:
Code:
grep -R hdparm-read /usr/share/phoronix-test-suite/pts/test-suite
There is no test-suite with hdparm-read.
When I try to add it, the test-suite doesnt work properly.
Because when test-profile runs from test-suite - no questions are asked.
Example:
Code:
$ vim /usr/share/phoronix-test-suite/pts/test-suite/my-test-disk.xml
[cut header]
<RunTest>
<Test>hdparm-read</Test>
</RunTest>
$ phoronix-test-suite run my-test-disk
hdparm - get/set hard disk parameters - version v9.15
Usage: hdparm [options] [device] ..
Because <RunTest> has no <Argument> parameter. But I can't specify <Argument> because I don't know how many disks(and type of disk) servers will have.