<?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 Changing the device file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023382#M300337</link>
    <description>Hi all ,&lt;BR /&gt;&lt;BR /&gt;i have a DLT 8000 attached to a L3000 server ,&lt;BR /&gt;the server detect the drive with the device file /dev/rmt/1m ,&lt;BR /&gt;or the script that i have for the backup is /dev/rmt/0m , is there a way to change the device file from 1m to 0m , because if not i will need to change the script&lt;BR /&gt;thank you</description>
    <pubDate>Wed, 20 Jun 2007 03:45:30 GMT</pubDate>
    <dc:creator>meekrob</dc:creator>
    <dc:date>2007-06-20T03:45:30Z</dc:date>
    <item>
      <title>Changing the device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023382#M300337</link>
      <description>Hi all ,&lt;BR /&gt;&lt;BR /&gt;i have a DLT 8000 attached to a L3000 server ,&lt;BR /&gt;the server detect the drive with the device file /dev/rmt/1m ,&lt;BR /&gt;or the script that i have for the backup is /dev/rmt/0m , is there a way to change the device file from 1m to 0m , because if not i will need to change the script&lt;BR /&gt;thank you</description>
      <pubDate>Wed, 20 Jun 2007 03:45:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023382#M300337</guid>
      <dc:creator>meekrob</dc:creator>
      <dc:date>2007-06-20T03:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023383#M300338</link>
      <description>I assume that number has only meaning if there was some hardware device that had a "1"?  Or there were both 0m and 1m?&lt;BR /&gt;&lt;BR /&gt;I'm not sure if "lssf /dev/rmt/1m" would help?&lt;BR /&gt;&lt;BR /&gt;I assume all you need to do is a "mv" as root to rename it.  But if there already is a 0m, you better wait until someone more experience answers.&lt;BR /&gt;&lt;BR /&gt;How hard is it to change your script?  Does your script run on multiple machines?</description>
      <pubDate>Wed, 20 Jun 2007 04:02:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023383#M300338</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-20T04:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023384#M300339</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Could you post the output of &lt;BR /&gt;&lt;BR /&gt;# ls -la /dev/rmt&lt;BR /&gt;&lt;BR /&gt;Is here an other tape-drive attched to this L3000?&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnCtape&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 20 Jun 2007 04:14:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023384#M300339</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-06-20T04:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023385#M300340</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;this is the only tape drive attached to the L3000 ;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jun 2007 08:30:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023385#M300340</guid>
      <dc:creator>meekrob</dc:creator>
      <dc:date>2007-06-20T08:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023386#M300341</link>
      <description>for the amount of time you will burn trying to change the device file. you could have already edited the script.</description>
      <pubDate>Wed, 20 Jun 2007 08:44:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023386#M300341</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-06-20T08:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023387#M300342</link>
      <description>this is the only tape drive attached to the L3000&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;then mv the device files from 1 to 0&lt;BR /&gt;example:&lt;BR /&gt;# mv /dev/rmt/1m /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 20 Jun 2007 09:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023387#M300342</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-06-20T09:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023388#M300343</link>
      <description>You can also change the SCSI id of your tape drive, so that /dev/rmt/0m is claimed to the exact scsi id</description>
      <pubDate>Wed, 20 Jun 2007 09:45:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023388#M300343</guid>
      <dc:creator>Luk Vandenbussche</dc:creator>
      <dc:date>2007-06-20T09:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023389#M300344</link>
      <description>Device file names are just names, so you can rename the device file 1m to 0m and your script will now work.&lt;BR /&gt; &lt;BR /&gt;But that is a VERY bad idea. The device names are created automatically by insf and you risk having problems in the future if you add or change tape drives. Further, it is a bad idea to hardcode a device file into a script. Things change and the only sane way to handle this is to obtain the device file from the command line when you run the script.&lt;BR /&gt; &lt;BR /&gt;Now if this is simply impossible, you will have to remove the devices for both 0m and 1m using rmsf -H (do not use rm). Once removed, use insf to add the tape drive back again, this time specifying -I 0 to create instance 0 (0m and relatives):&lt;BR /&gt; &lt;BR /&gt;insf -H 1/2/3.4.5 -I 0&lt;BR /&gt; &lt;BR /&gt;where 1/2/3.4.5 is the actual hardware path for your tape. To see the tape drive path:&lt;BR /&gt; &lt;BR /&gt;ioscan -kfnC tape</description>
      <pubDate>Wed, 20 Jun 2007 10:24:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-device-file/m-p/4023389#M300344</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-06-20T10:24:57Z</dc:date>
    </item>
  </channel>
</rss>

