<?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: Re : changing device files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/re-changing-device-files/m-p/3781880#M263391</link>
    <description>Or you can change your scripts so that the tape device is held in a variable, so you don't have this pain again. Especially if you ever plan on running the script(s) on another machine. Hard-coding the tape device name is not usually a good idea.</description>
    <pubDate>Wed, 03 May 2006 11:09:34 GMT</pubDate>
    <dc:creator>Stephen Keane</dc:creator>
    <dc:date>2006-05-03T11:09:34Z</dc:date>
    <item>
      <title>Re : changing device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-changing-device-files/m-p/3781876#M263387</link>
      <description>Hi Guys,&lt;BR /&gt;   Can someone advice if I can change a hardware device file from /dev/rmt2m to /dev/rmt/0m . This is because, I have a few script which is setup to backup the server to tape device /dev/rmt/0m. And after inserting the additional card for the tape drive dat72 on a rx2620 it seems to change the device file from /dev/rmt/0m to /dev/rmt/2m.&lt;BR /&gt;&lt;BR /&gt;Pls advice??&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Vincent</description>
      <pubDate>Wed, 03 May 2006 09:50:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-changing-device-files/m-p/3781876#M263387</guid>
      <dc:creator>Vincent_5</dc:creator>
      <dc:date>2006-05-03T09:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re : changing device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-changing-device-files/m-p/3781877#M263388</link>
      <description>Why can't you just change the script to look for 2m.&lt;BR /&gt;&lt;BR /&gt;the hardware device file should not be changed to something that you like.&lt;BR /&gt;&lt;BR /&gt;I believe you can do it the following way.&lt;BR /&gt;&lt;BR /&gt;Rename 0m to 0m.orig  and then move 2m to 0m, and then mv /dev/rmt/0m.orig as /dev/rmt/2m&lt;BR /&gt;&lt;BR /&gt;You don't lose anything, but when you are tracking devices with their controller name, you/someone else in your organization may make a mistake.&lt;BR /&gt;&lt;BR /&gt;-Anil</description>
      <pubDate>Wed, 03 May 2006 09:57:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-changing-device-files/m-p/3781877#M263388</guid>
      <dc:creator>Anil C. Sedha</dc:creator>
      <dc:date>2006-05-03T09:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re : changing device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-changing-device-files/m-p/3781878#M263389</link>
      <description>Shalom Vincent,&lt;BR /&gt;&lt;BR /&gt;The only way to do this is to wipe out this file:&lt;BR /&gt;/etc/ioconfig&lt;BR /&gt;&lt;BR /&gt;Boot the box and reinitialize the drivers.&lt;BR /&gt;&lt;BR /&gt;Its dangerous and risks an unbootable system.&lt;BR /&gt;&lt;BR /&gt;Some resources on the process:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=695058" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=695058&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60105/ioconfig.4.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60105/ioconfig.4.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60103/ioinit.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60103/ioinit.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=425790" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=425790&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90691/ioinit.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90691/ioinit.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 03 May 2006 09:59:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-changing-device-files/m-p/3781878#M263389</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-05-03T09:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re : changing device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-changing-device-files/m-p/3781879#M263390</link>
      <description>Yes, absolutely - you can simply rename the device file - or you can set up a link for /dev/rmt/0m that points to /dev/rmt/2m.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 03 May 2006 10:07:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-changing-device-files/m-p/3781879#M263390</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-05-03T10:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re : changing device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-changing-device-files/m-p/3781880#M263391</link>
      <description>Or you can change your scripts so that the tape device is held in a variable, so you don't have this pain again. Especially if you ever plan on running the script(s) on another machine. Hard-coding the tape device name is not usually a good idea.</description>
      <pubDate>Wed, 03 May 2006 11:09:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-changing-device-files/m-p/3781880#M263391</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2006-05-03T11:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re : changing device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/re-changing-device-files/m-p/3781881#M263392</link>
      <description>I would definitely NOT recommend renaming a device file. When new hardware is added, device files are created. So the names are a history of adding new hardware. As mentioned, the backup script should NEVER hardcode the device file name -- it should be a runtime parameter so you can specify the tae drive you want to use.</description>
      <pubDate>Wed, 03 May 2006 18:05:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/re-changing-device-files/m-p/3781881#M263392</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-05-03T18:05:03Z</dc:date>
    </item>
  </channel>
</rss>

