+ Reply to Thread
Results 1 to 4 of 4

Thread: test-suite tests disk

  1. #1
    Join Date
    Aug 2009
    Posts
    5

    Default test-suite tests disk

    Hi there.
    I want to test disks from test-suite.
    But servers are very different, one may have only 2 disks, another may have 3,4,5 and so on disks. I want to ask the user which drive he want to test.

    How can I do that?

    thanks.

  2. #2
    Join Date
    Aug 2009
    Posts
    5

    Default

    for example How can I add hdparm-read to test-suite?

  3. #3

    Default

    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.

  4. #4
    Join Date
    Aug 2009
    Posts
    5

    Default

    Quote Originally Posted by Michael View Post
    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.
    Last edited by silent-ion; 09-13-2009 at 11:35 AM.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts