<?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: Incorrect Tape device/description in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-tape-device-description/m-p/3064536#M139375</link>
    <description>Normally the device file name changes when you change the SCSI ID while reconnecting. Check this and if possible, set it back to it's original SCSI ID.&lt;BR /&gt;&lt;BR /&gt;Also, you can create your own /dev/rmt/2m with 'mknod' command. What you have to do is find out the major number (ls -la /dev/rmt/8m) and the minor number (ioscan -fn).&lt;BR /&gt;&lt;BR /&gt;# mknod /dev/rmt/XXX c major minor</description>
    <pubDate>Fri, 05 Sep 2003 13:00:29 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2003-09-05T13:00:29Z</dc:date>
    <item>
      <title>Incorrect Tape device/description</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-tape-device-description/m-p/3064533#M139372</link>
      <description>I have just re-connected a DLT7000 718 2/8 changer onto a K class under 10.20 that was originally on that machine as /dev/rmt/2m. However on reconnection its picked up an instance number of 8 and a device name of /dev/rmt/8m. The autochanger device is still working fine under Omniback 3.5 but if I try and scan the drive as 8m I get an I/O error. I don't think that the ioscan (below) description is right for this drive (normally quantum as I recall). Any ideas for getting it back to 2m without a reboot - I have tried removing and recreating the /dev/rmt files with insf but still it comes back as 8m I quess because of the instance number ?&lt;BR /&gt;&lt;BR /&gt;tape      8  10/16/8.3.0  tape2       CLAIMED   DEVICE    DT00    C6280-7000    &lt;BR /&gt;                         /dev/diag/rmt/c6t3d0   /dev/rmt/c6t3d0BEST             &lt;BR /&gt;                         /dev/rmt/8m            /dev/rmt/c6t3d0BESTb            &lt;BR /&gt;                         /dev/rmt/8mb           /dev/rmt/c6t3d0BESTn            &lt;BR /&gt;                         /dev/rmt/8mn           /dev/rmt/c6t3d0BESTnb           &lt;BR /&gt;                         /dev/rmt/8mnb                                          &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Sep 2003 12:38:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-tape-device-description/m-p/3064533#M139372</guid>
      <dc:creator>Nick Wickens</dc:creator>
      <dc:date>2003-09-05T12:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Tape device/description</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-tape-device-description/m-p/3064534#M139373</link>
      <description>Nick,&lt;BR /&gt;&lt;BR /&gt;As long as there are no conflicts with other device files you can use this procedure to recreate them with whatever name you desire:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1.  Use "ioscan" to find out what the current device files look like and what the instance number is:&lt;BR /&gt;ioscan -kfnCtape&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. Use "mksf" to create each of the four types of device files:&lt;BR /&gt;&lt;BR /&gt;/sbin/mksf -d stape -I 12 -a -b BEST rmt/12m&lt;BR /&gt;/sbin/mksf -d stape -I 12 -u -b BEST rmt/12mb&lt;BR /&gt;/sbin/mksf -d stape -I 12 -a -n -b BEST rmt/12mn&lt;BR /&gt;/sbin/mksf -d stape -I 12 -u -n -b BEST rmt/12mnb&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3. Use "ll" to compare your newly created device files with those created by the system. Major and minor&lt;BR /&gt;numbers should match between corresponding entries (205 0x061000 for both 12m and the equivalent c6t1d0BE&lt;BR /&gt;ST):&lt;BR /&gt;&lt;BR /&gt;ll /dev/rmt |more&lt;BR /&gt;&lt;BR /&gt;crw-rw-rw 1 bin bin 205 0x061000 Mar 17 08:40 12m&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;crw-rw-rw 1 bin bin 205 0x061000 Mar 17 08:40 c6t1d0BEST&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4. repeat the ioscan to double check that your new device files are associated with the correct tape driv&lt;BR /&gt;e:&lt;BR /&gt;&lt;BR /&gt;ioscan -kfnCtape&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I was using 12m in the example but you can use anything you want.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Sep 2003 12:45:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-tape-device-description/m-p/3064534#M139373</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-09-05T12:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Tape device/description</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-tape-device-description/m-p/3064535#M139374</link>
      <description>Can you issue an&lt;BR /&gt;&lt;BR /&gt;lssf /dev/rmt/c6t3d0BEST&lt;BR /&gt;&lt;BR /&gt;I think that this is due to some history in the adding of the tapes.&lt;BR /&gt;&lt;BR /&gt;You can force the binding with ioscan and insf, but this can cause some problem later, so i think that is best to make it work now with the new config.&lt;BR /&gt;&lt;BR /&gt;The instance number usually is involved in the name of the special files, your guess is right.&lt;BR /&gt;&lt;BR /&gt;  Massimo</description>
      <pubDate>Fri, 05 Sep 2003 12:50:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-tape-device-description/m-p/3064535#M139374</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-09-05T12:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Tape device/description</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-tape-device-description/m-p/3064536#M139375</link>
      <description>Normally the device file name changes when you change the SCSI ID while reconnecting. Check this and if possible, set it back to it's original SCSI ID.&lt;BR /&gt;&lt;BR /&gt;Also, you can create your own /dev/rmt/2m with 'mknod' command. What you have to do is find out the major number (ls -la /dev/rmt/8m) and the minor number (ioscan -fn).&lt;BR /&gt;&lt;BR /&gt;# mknod /dev/rmt/XXX c major minor</description>
      <pubDate>Fri, 05 Sep 2003 13:00:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-tape-device-description/m-p/3064536#M139375</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-09-05T13:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Tape device/description</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-tape-device-description/m-p/3064537#M139376</link>
      <description>Thanks for the replies peoples - Looking back at some old ioscans I have confirmed that the device used to show as a QUANTUM DLT7000 but now shows as DT00 C6280-7000. Omniback is not listing at as an available drive and if I force omniback to use the /dev/rmt/8m device the tape gets loaded but an attempted scan comes back with "Can not open device ([5]I/O error)". &lt;BR /&gt;&lt;BR /&gt;lssf for device shows - &lt;BR /&gt;tape2 card instance 6 SCSI target 3 SCSI LUN 0 at&amp;amp;t best density available at ad&lt;BR /&gt;dress 10/16/8.3.0 /dev/rmt/c6t3d0BEST                                           &lt;BR /&gt;lssf /dev/rmt/8m                                            &lt;BR /&gt;tape2 card instance 6 SCSI target 3 SCSI LUN 0 at&amp;amp;t best density available at ad&lt;BR /&gt;dress 10/16/8.3.0 /dev/rmt/8m &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Sep 2003 13:42:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-tape-device-description/m-p/3064537#M139376</guid>
      <dc:creator>Nick Wickens</dc:creator>
      <dc:date>2003-09-05T13:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Tape device/description</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-tape-device-description/m-p/3064538#M139377</link>
      <description>10/16/8.3.0 /dev/rmt/c6t3d0BEST &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yes, something is dirty&lt;BR /&gt;&lt;BR /&gt;device file name should be c8t3d0, but maybe that some other equipment stole that address in the past.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If rmsf -H do not work, i think that the only way to get it clean is:&lt;BR /&gt;&lt;BR /&gt;- find how why the description string has changed&lt;BR /&gt;- clear it all and have a reboot (this will clean entry in ioconfig)&lt;BR /&gt;- shudown -h, put the tape in and then reboot another time&lt;BR /&gt;&lt;BR /&gt;  Massimo</description>
      <pubDate>Fri, 05 Sep 2003 14:29:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/incorrect-tape-device-description/m-p/3064538#M139377</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-09-05T14:29:10Z</dc:date>
    </item>
  </channel>
</rss>

