<?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: removing device file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952591#M116355</link>
    <description>Just check this&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x53a7ee3e323bd5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x53a7ee3e323bd5118fef0090279cd0f9,00.html&lt;/A&gt;</description>
    <pubDate>Thu, 17 Apr 2003 07:57:46 GMT</pubDate>
    <dc:creator>T G Manikandan</dc:creator>
    <dc:date>2003-04-17T07:57:46Z</dc:date>
    <item>
      <title>removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952577#M116341</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I want to remove a device file /dev/rmt/0mn( and it's corresponding files also). Purpose is, my default tape device is /dev/rmt/1mn, but for make_tape_recovery I like to use /dev/rmt/0mn. How can I do that?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;richard&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Apr 2003 10:21:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952577#M116341</guid>
      <dc:creator>Rgomes</dc:creator>
      <dc:date>2003-04-16T10:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952578#M116342</link>
      <description>Hi,&lt;BR /&gt;Are you using two different tape devices ? In general, if you want to recreate the devicefiles you only need to delete all old files and reboot the computer. The new devicefiles is created automatic.</description>
      <pubDate>Wed, 16 Apr 2003 10:29:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952578#M116342</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2003-04-16T10:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952579#M116343</link>
      <description>Use rmsf to (correctly) remove device files. However, since all you want is the 0m device file, you can simply create a single symlink:&lt;BR /&gt;&lt;BR /&gt;ln /dev/rmt/1mn /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;The 1m versus 0m has to do with the number of tape drives that this system has had in the past. The first drive seen on bootup will be 0m, then 1m, 2m, etc. The number is an instance or occurance. Since the kernel remembers the drives by instance number, you need to completely remove the device (not just the device files) using rmsf. &lt;BR /&gt;&lt;BR /&gt;Once removed, you can manually recreate the device file with the desired instance number using insf -I -H options. -I selects the instance and -H points to the exact hardware path. If the instance is not removed with rmsf, then insf will report an error when using -I 0.</description>
      <pubDate>Wed, 16 Apr 2003 10:36:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952579#M116343</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-04-16T10:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952580#M116344</link>
      <description>Hi Leif,&lt;BR /&gt;&lt;BR /&gt;I tried that one, by removing /dev/rmt/0mn and /dev/rmt/1mn both, but after rebooting system found the next device file, i mean, /dev/rmt/1mn not /dev/rmt/0mn.&lt;BR /&gt;&lt;BR /&gt;Hi Bill,&lt;BR /&gt;&lt;BR /&gt;thanks, yes I am looking for rmsf command and I'll try with it.&lt;BR /&gt;&lt;BR /&gt;Do I need to reboot the server after doing this?&lt;BR /&gt;&lt;BR /&gt;Thanks both of you,&lt;BR /&gt;&lt;BR /&gt;richard&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Apr 2003 11:04:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952580#M116344</guid>
      <dc:creator>Rgomes</dc:creator>
      <dc:date>2003-04-16T11:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952581#M116345</link>
      <description>I don't think you require reboot.&lt;BR /&gt;&lt;BR /&gt;Check this link also in which Bill also explain something in detail&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x7b4b68c57f64d4118fee0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x7b4b68c57f64d4118fee0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Zafar</description>
      <pubDate>Wed, 16 Apr 2003 11:17:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952581#M116345</guid>
      <dc:creator>Zafar A. Mohammed_1</dc:creator>
      <dc:date>2003-04-16T11:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952582#M116346</link>
      <description>I agree Zafar.&lt;BR /&gt;&lt;BR /&gt;The number (N) of a tape drive assigned to special device files that match the pattern&lt;BR /&gt;&lt;BR /&gt;  /dev/rmt/Nm&lt;BR /&gt;  /dev/rmt/Nmn&lt;BR /&gt;  /dev/rmt/Nmb&lt;BR /&gt;  /dev/rmt/Nmnb&lt;BR /&gt;&lt;BR /&gt;is the instance number in the tape class provided by the system.&lt;BR /&gt;&lt;BR /&gt;Thus 'ioinit' command is needed to reassing instance numbers.</description>
      <pubDate>Wed, 16 Apr 2003 12:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952582#M116346</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2003-04-16T12:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952583#M116347</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;This is a quick and dirty, correct solution that requires no reboot.  &lt;BR /&gt;&lt;BR /&gt;# find the tape&lt;BR /&gt;ioscan -fnC tape&lt;BR /&gt;# remove the tape&lt;BR /&gt;rmsf -H &lt;PATH of="" tape=""&gt;&lt;BR /&gt;# reclaim tape&lt;BR /&gt;ioscan -fnC tape&lt;BR /&gt;#rebuild devices/drivers&lt;BR /&gt;insf &lt;BR /&gt;# or if you are a gui man&lt;BR /&gt;# (in an Arnold Swartznegger &lt;BR /&gt;# voice) use sam.&lt;BR /&gt;&lt;BR /&gt;If you do it from the command lin and do the appropriate links manually there is no reboot.  I avoid Gui like it is poison.&lt;BR /&gt;&lt;BR /&gt;cd /dev/rmt&lt;BR /&gt;ln -sf /dev/rmt/cxtxdxBEST0m 0m&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;&lt;/PATH&gt;</description>
      <pubDate>Wed, 16 Apr 2003 12:18:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952583#M116347</guid>
      <dc:creator>Tim Sanko</dc:creator>
      <dc:date>2003-04-16T12:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952584#M116348</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I tried with Tim's steps:&lt;BR /&gt;&lt;BR /&gt;1)ioscan -C tape&lt;BR /&gt;2)rmsf -H &amp;lt; h/w path&amp;gt;&lt;BR /&gt;3)ioscan -C tape&lt;BR /&gt;4)insf -evC tape&lt;BR /&gt;&lt;BR /&gt;but, still it creates /dev/rmt/1m( associates device files) not the one I required, that is, /dev/rmt/0m.&lt;BR /&gt;&lt;BR /&gt;Do I need to re-build the kernel or have to reboot the system?&lt;BR /&gt;&lt;BR /&gt;Thanks all,&lt;BR /&gt;&lt;BR /&gt;richard</description>
      <pubDate>Thu, 17 Apr 2003 04:53:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952584#M116348</guid>
      <dc:creator>Rgomes</dc:creator>
      <dc:date>2003-04-17T04:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952585#M116349</link>
      <description>Hi richard,&lt;BR /&gt; &lt;BR /&gt;  First of all how many tape drives do you have?. If you 2 drives, and the drive you wanted as default is second in Instance, then you'll get the device number as 1m only. &lt;BR /&gt;&lt;BR /&gt;can you post the output of &lt;BR /&gt;&lt;BR /&gt;#ioscan -fnC tape&lt;BR /&gt;#lssf /dev/rmt/1mn&lt;BR /&gt;&lt;BR /&gt;Srini.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Apr 2003 05:40:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952585#M116349</guid>
      <dc:creator>avsrini</dc:creator>
      <dc:date>2003-04-17T05:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952586#M116350</link>
      <description>Hi,&lt;BR /&gt;Perhaps the simplest solution. Rename the devicefiles (mv /dev/rmt/XXX /dev/rmt/YYY).</description>
      <pubDate>Thu, 17 Apr 2003 06:10:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952586#M116350</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2003-04-17T06:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952587#M116351</link>
      <description>Hi Srinivasan,&lt;BR /&gt;&lt;BR /&gt;I am using only 1 tape drive. Previously, there was a tape installed, but I removed that one, and now using another ultrium tape drive, now I want to recognise the tape( presently: /dev/rmt/1m)by the system as /dev/rmt/0m. This is only for standerdization.&lt;BR /&gt;&lt;BR /&gt;The outputs:&lt;BR /&gt;&lt;BR /&gt; / #ioscan -fnC tape                                                         &lt;BR /&gt;Class     I  H/W Path     Driver S/W State   H/W Type     Description           &lt;BR /&gt;=====================================================================           &lt;BR /&gt;tape      1  0/0/1/0.1.0  stape CLAIMED     DEVICE       HP      Ultrium 1-SCSI &lt;BR /&gt;                         /dev/rmt/1m            /dev/rmt/c0t1d0BEST             &lt;BR /&gt;                         /dev/rmt/1mb           /dev/rmt/c0t1d0BESTb            &lt;BR /&gt;                         /dev/rmt/1mn           /dev/rmt/c0t1d0BESTn            &lt;BR /&gt;                         /dev/rmt/1mnb          /dev/rmt/c0t1d0BESTnb           &lt;BR /&gt;pos / #lssf /dev/rmt/*                                                          &lt;BR /&gt;stape card instance 0 SCSI target 1 SCSI LUN 0 at&amp;amp;t best density available at ad&lt;BR /&gt;dress 0/0/1/0.1.0 /dev/rmt/1m                                                   &lt;BR /&gt;stape card instance 0 SCSI target 1 SCSI LUN 0 berkeley best density available a&lt;BR /&gt;t address 0/0/1/0.1.0 /dev/rmt/1mb                                              &lt;BR /&gt;stape card instance 0 SCSI target 1 SCSI LUN 0 at&amp;amp;t no rewind best density avail&lt;BR /&gt;able at address 0/0/1/0.1.0 /dev/rmt/1mn                                        &lt;BR /&gt;stape card instance 0 SCSI target 1 SCSI LUN 0 berkeley no rewind best density a&lt;BR /&gt;vailable at address 0/0/1/0.1.0 /dev/rmt/1mnb                                   &lt;BR /&gt;stape card instance 0 SCSI target 1 SCSI LUN 0 at&amp;amp;t best density available at ad&lt;BR /&gt;dress 0/0/1/0.1.0 /dev/rmt/c0t1d0BEST                                           &lt;BR /&gt;stape card instance 0 SCSI target 1 SCSI LUN 0 berkeley best density available a&lt;BR /&gt;t address 0/0/1/0.1.0 /dev/rmt/c0t1d0BESTb                                      &lt;BR /&gt;stape card instance 0 SCSI target 1 SCSI LUN 0 at&amp;amp;t no rewind best density avail&lt;BR /&gt;able at address 0/0/1/0.1.0 /dev/rmt/c0t1d0BESTn                                &lt;BR /&gt;stape card instance 0 SCSI target 1 SCSI LUN 0 berkeley no rewind best density a&lt;BR /&gt;vailable at address 0/0/1/0.1.0 /dev/rmt/c0t1d0BESTnb                           &lt;BR /&gt;stape property table configuration device /dev/rmt/stape_config                 &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;richard</description>
      <pubDate>Thu, 17 Apr 2003 06:16:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952587#M116351</guid>
      <dc:creator>Rgomes</dc:creator>
      <dc:date>2003-04-17T06:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952588#M116352</link>
      <description>Hi Leif,&lt;BR /&gt;&lt;BR /&gt;Maybe, but I don't want to just rename it. I guess I have to run ioinit?&lt;BR /&gt;&lt;BR /&gt;richard</description>
      <pubDate>Thu, 17 Apr 2003 06:47:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952588#M116352</guid>
      <dc:creator>Rgomes</dc:creator>
      <dc:date>2003-04-17T06:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952589#M116353</link>
      <description>Hi Richard,&lt;BR /&gt;&lt;BR /&gt;with your first answer to Leif I think you have not removed all files.&lt;BR /&gt;Do you have your old tape to recreate the 0m files and delete it correctly or do you know the old &lt;PATH of="" tape=""&gt;?&lt;BR /&gt;&lt;BR /&gt;The second best solution is as I think:&lt;BR /&gt;create the link from 1m to 0m as Bill mentioned.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Volkmar&lt;/PATH&gt;</description>
      <pubDate>Thu, 17 Apr 2003 07:00:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952589#M116353</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2003-04-17T07:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952590#M116354</link>
      <description>Yes you are right.&lt;BR /&gt;&lt;BR /&gt;First I used to remove the /dev/rmt/0m with only 'rm' but not with 'rmsf'.&lt;BR /&gt;I guess that makes things complex.&lt;BR /&gt;&lt;BR /&gt;richard</description>
      <pubDate>Thu, 17 Apr 2003 07:29:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952590#M116354</guid>
      <dc:creator>Rgomes</dc:creator>
      <dc:date>2003-04-17T07:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952591#M116355</link>
      <description>Just check this&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x53a7ee3e323bd5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x53a7ee3e323bd5118fef0090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Thu, 17 Apr 2003 07:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952591#M116355</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-04-17T07:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952592#M116356</link>
      <description>Hi Manikandan,&lt;BR /&gt;&lt;BR /&gt;Trying with your link's attachment.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;richard</description>
      <pubDate>Thu, 17 Apr 2003 09:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952592#M116356</guid>
      <dc:creator>Rgomes</dc:creator>
      <dc:date>2003-04-17T09:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: removing device file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952593#M116357</link>
      <description>remove the old file using rmsf or rm &lt;BR /&gt;&lt;BR /&gt;then run ioinit &lt;BR /&gt;&lt;BR /&gt;run insf &lt;BR /&gt; it should work &lt;BR /&gt;&lt;BR /&gt;S</description>
      <pubDate>Thu, 17 Apr 2003 10:23:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-device-file/m-p/2952593#M116357</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2003-04-17T10:23:03Z</dc:date>
    </item>
  </channel>
</rss>

