<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: using STM - test 'x' harddrive from console. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977312#M419049</link>
    <description>You can script all stm activities.&lt;BR /&gt;&lt;BR /&gt;You have to run mstm or cstm to see the index of your device (first column).&lt;BR /&gt;&lt;BR /&gt;Let's assume its ID4.&lt;BR /&gt;&lt;BR /&gt;To run the exerciser do this:&lt;BR /&gt;&lt;BR /&gt;echo "sel dev 4; exc;wait;efl"|cstm&lt;BR /&gt;&lt;BR /&gt;sel dev 4 = select device 4 from the systems map&lt;BR /&gt;&lt;BR /&gt;exc = run exercise program&lt;BR /&gt;&lt;BR /&gt;wait = wait for finishing the tool&lt;BR /&gt;&lt;BR /&gt;efl = exercise failure log report&lt;BR /&gt;&lt;BR /&gt;If you want more information, just run "cstm" and type "help"</description>
    <pubDate>Thu, 04 May 2006 15:43:23 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2006-05-04T15:43:23Z</dc:date>
    <item>
      <title>using STM - test 'x' harddrive from console.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977309#M419046</link>
      <description>I want to issue one command that will start STM and do a read / write test on a tape or harddrive. &lt;BR /&gt;&lt;BR /&gt;Does anyone have simple scripts they use?&lt;BR /&gt;&lt;BR /&gt;TIA!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 May 2006 13:24:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977309#M419046</guid>
      <dc:creator>Steven  Bucek</dc:creator>
      <dc:date>2006-05-04T13:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: using STM - test 'x' harddrive from console.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977310#M419047</link>
      <description>Well, it depends. The recommended tool for testing a tape drive is ltt (&lt;A href="http://www.hp.com/support/tapetools)" target="_blank"&gt;http://www.hp.com/support/tapetools)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can start the exercise or verify tool on disks, but you have to decide which one. Doing this on all drives will extremly decrease the performance.&lt;BR /&gt;&lt;BR /&gt;You can pass your arguments to cstm, e.g.&lt;BR /&gt;&lt;BR /&gt;echo "sel dev 1;info;wait;il"|cstm&lt;BR /&gt;&lt;BR /&gt;to select the "system" device on a server and run the info tool.&lt;BR /&gt;&lt;BR /&gt;But what is the reason for doing this by script? I can't see any.</description>
      <pubDate>Thu, 04 May 2006 14:53:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977310#M419047</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2006-05-04T14:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: using STM - test 'x' harddrive from console.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977311#M419048</link>
      <description>Thanks for your response.&lt;BR /&gt;&lt;BR /&gt;I am using L&amp;amp;TT for tape diagnotics, so im good there, heres the scoop on the hard drives. &lt;BR /&gt;&lt;BR /&gt;I am required to test drives with stm and send the logs along with it. I issue the stm command w/o agruments, find the device, right click, choose read  write / hit ok a few times, wait for the excerise to finish, print the log and go.  Doing this over and over and over is getting really old. I figure there must be a way to do this from the CLI, without using the GUI. It would be nice to have a script called 'drvtst' that calls up stm, tells stm to do a read/write test on /dev/rdsk/whatever.. and save the log. &lt;BR /&gt;&lt;BR /&gt;Can that be done?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 May 2006 15:13:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977311#M419048</guid>
      <dc:creator>Steven  Bucek</dc:creator>
      <dc:date>2006-05-04T15:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: using STM - test 'x' harddrive from console.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977312#M419049</link>
      <description>You can script all stm activities.&lt;BR /&gt;&lt;BR /&gt;You have to run mstm or cstm to see the index of your device (first column).&lt;BR /&gt;&lt;BR /&gt;Let's assume its ID4.&lt;BR /&gt;&lt;BR /&gt;To run the exerciser do this:&lt;BR /&gt;&lt;BR /&gt;echo "sel dev 4; exc;wait;efl"|cstm&lt;BR /&gt;&lt;BR /&gt;sel dev 4 = select device 4 from the systems map&lt;BR /&gt;&lt;BR /&gt;exc = run exercise program&lt;BR /&gt;&lt;BR /&gt;wait = wait for finishing the tool&lt;BR /&gt;&lt;BR /&gt;efl = exercise failure log report&lt;BR /&gt;&lt;BR /&gt;If you want more information, just run "cstm" and type "help"</description>
      <pubDate>Thu, 04 May 2006 15:43:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977312#M419049</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2006-05-04T15:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: using STM - test 'x' harddrive from console.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977313#M419050</link>
      <description>Last poster had the solution.  Man pages of stm did not have much, should have looked at man paged of cstm and mstm. &lt;BR /&gt;&lt;BR /&gt;Thank you everyone.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 May 2006 15:56:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977313#M419050</guid>
      <dc:creator>Steven  Bucek</dc:creator>
      <dc:date>2006-05-04T15:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: using STM - test 'x' harddrive from console.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977314#M419051</link>
      <description>My device id is 6, run i run the command it does the following:&lt;BR /&gt;&lt;BR /&gt;-- Updating map --&lt;BR /&gt;Updating map..&lt;BR /&gt;-- Exercise Tools for device SCSI Disk on path 10/0/14/0.0.0. --&lt;BR /&gt;&lt;BR /&gt;Insert a CD into the drive, then select "OK" to continue with the test.&lt;BR /&gt;&lt;BR /&gt;Enter,Cancel, Help, or OK [Cancel] #.&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My device ID is 6, the real hardware path is 10/0/15/1.6.0&lt;BR /&gt;&lt;BR /&gt;the command im used was:&lt;BR /&gt;&lt;BR /&gt;echo "sel dev 6; exc;wait;efl"|cstm&lt;BR /&gt;&lt;BR /&gt;using wrong id?&lt;BR /&gt;</description>
      <pubDate>Thu, 04 May 2006 16:22:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977314#M419051</guid>
      <dc:creator>Steven  Bucek</dc:creator>
      <dc:date>2006-05-04T16:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: using STM - test 'x' harddrive from console.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977315#M419052</link>
      <description>STM assigns a unique device number that has no connection to SCSI address or other hardware addresses. You'll have to get the hardware map first and then reference the actual cst-device number.</description>
      <pubDate>Thu, 04 May 2006 19:21:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977315#M419052</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-05-04T19:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: using STM - test 'x' harddrive from console.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977316#M419053</link>
      <description>Sorry, I forgot to show how to get a device map:&lt;BR /&gt; &lt;BR /&gt;echo "map" | /usr/sbin/cstm&lt;BR /&gt; &lt;BR /&gt;However, figuring out a specific disk from the device map is a pain. So you can specify the actual path. From a "map" listing:&lt;BR /&gt; &lt;BR /&gt;    8  8/4.10.0             SCSI Disk (SEAGATEST34572 Information Successful   &lt;BR /&gt; &lt;BR /&gt;The cstm-device is 8, but the path is 8/4.10.0 corresponding to SCSI address 10 on the I/O card at 8/4. So you can select the path like this to get the info:&lt;BR /&gt; &lt;BR /&gt;echo "sel path 8/4.10.0;info;wait;infolog"|cstm</description>
      <pubDate>Thu, 04 May 2006 19:48:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977316#M419053</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-05-04T19:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: using STM - test 'x' harddrive from console.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977317#M419054</link>
      <description>One last bit of help (man pages aren't useful):&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://docs.hp.com/en/diag.html" target="_blank"&gt;http://docs.hp.com/en/diag.html&lt;/A&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/diag/stm/stt_cmap.htm" target="_blank"&gt;http://docs.hp.com/en/diag/stm/stt_cmap.htm&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;For your example:&lt;BR /&gt; &lt;BR /&gt;echo "sel path 10/0/15/1.6.0; exc;wait;efl"|cstm</description>
      <pubDate>Thu, 04 May 2006 19:54:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-stm-test-x-harddrive-from-console/m-p/4977317#M419054</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-05-04T19:54:55Z</dc:date>
    </item>
  </channel>
</rss>

