Announcement

Collapse
No announcement yet.

test-suite tests disk

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    for example How can I add hdparm-read to test-suite?

    Comment


    • #3
      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.
      Michael Larabel
      http://www.michaellarabel.com/

      Comment


      • #4
        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, 11:35 AM.

        Comment

        Working...
        X