<?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 Reappearing device files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reappearing-device-files/m-p/2435321#M656316</link>
    <description>We have a 12H with six 18Gb disks. The AutoRAID has been reconfigured completely during the last weekend and now has four LUN's of 16Gb each with all LUN's being deleted before reconfiguration. &lt;BR /&gt;Before, all 8 LUN's were in use due to earlier modifications. I've also had, for a short time, a seventh disk in the AutoRAID. I had in my /dev/dsk and /dev/rdsk device files for these old configuration. I deleted these (both /dev/dsk and /dev/rdsk) and run insf -e -C disk. To my surprise, this recreated all seven device files although only four are in use at the moment (for LUN1 to LUN4).&lt;BR /&gt;I've tried this again but with the same results. To my knowledge, the system should create only the device files for the LUN's in use at the moment.&lt;BR /&gt;Why are the extra device files recreated ??</description>
    <pubDate>Tue, 08 Aug 2000 11:40:49 GMT</pubDate>
    <dc:creator>Maarten van Maanen</dc:creator>
    <dc:date>2000-08-08T11:40:49Z</dc:date>
    <item>
      <title>Reappearing device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reappearing-device-files/m-p/2435321#M656316</link>
      <description>We have a 12H with six 18Gb disks. The AutoRAID has been reconfigured completely during the last weekend and now has four LUN's of 16Gb each with all LUN's being deleted before reconfiguration. &lt;BR /&gt;Before, all 8 LUN's were in use due to earlier modifications. I've also had, for a short time, a seventh disk in the AutoRAID. I had in my /dev/dsk and /dev/rdsk device files for these old configuration. I deleted these (both /dev/dsk and /dev/rdsk) and run insf -e -C disk. To my surprise, this recreated all seven device files although only four are in use at the moment (for LUN1 to LUN4).&lt;BR /&gt;I've tried this again but with the same results. To my knowledge, the system should create only the device files for the LUN's in use at the moment.&lt;BR /&gt;Why are the extra device files recreated ??</description>
      <pubDate>Tue, 08 Aug 2000 11:40:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reappearing-device-files/m-p/2435321#M656316</guid>
      <dc:creator>Maarten van Maanen</dc:creator>
      <dc:date>2000-08-08T11:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reappearing device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reappearing-device-files/m-p/2435322#M656317</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;try an ioscan -f before insf -e&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Tue, 08 Aug 2000 12:02:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reappearing-device-files/m-p/2435322#M656317</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-08-08T12:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reappearing device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reappearing-device-files/m-p/2435323#M656318</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I did run an ioscan -fnC disk both before and after insf with no new results.&lt;BR /&gt;When I run ioscan -f -C disk I get NO_HW in de list for the addresses mentioned but insf -e still gives me the same result.&lt;BR /&gt;&lt;BR /&gt;disk      8  8/8.1.4      sdisk       NO_HW     DEVICE    HP      C5447A&lt;BR /&gt;disk     13  8/8.1.5      sdisk       NO_HW     DEVICE    HP      C5447A&lt;BR /&gt;disk     15  8/8.1.6      sdisk       NO_HW     DEVICE    HP      C5447A&lt;BR /&gt;disk     17  8/8.1.7      sdisk       NO_HW     DEVICE    HP      C5447A&lt;BR /&gt;&lt;BR /&gt;Maybe I should remove the unnecessary device files and then reboot the system (K370)? Maybe the kernel still holds some of the paths involved.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Aug 2000 13:03:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reappearing-device-files/m-p/2435323#M656318</guid>
      <dc:creator>Maarten van Maanen</dc:creator>
      <dc:date>2000-08-08T13:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reappearing device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reappearing-device-files/m-p/2435324#M656319</link>
      <description>&lt;BR /&gt;even if you do an ioscan -f and then an insf your server is still going to look a mess with some hardware devices left unclaimed. Best to rmsf the devices that shouldnt be there and then reboot. All should come up cleanly and no old device info left around.</description>
      <pubDate>Tue, 08 Aug 2000 13:10:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reappearing-device-files/m-p/2435324#M656319</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2000-08-08T13:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reappearing device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reappearing-device-files/m-p/2435325#M656320</link>
      <description>Removing device files with rm is not recommend. Use the following device file commands:&lt;BR /&gt;&lt;BR /&gt;rmsf (not rm)&lt;BR /&gt;lssf (not ls -l)&lt;BR /&gt;insf or mksf (not mknod)&lt;BR /&gt;&lt;BR /&gt;The reason is that the kernel maintains an internal instance list of all the devices since hardware paths are much too long to fit into the minor number.&lt;BR /&gt;&lt;BR /&gt;So after removing the lvols, then physical devices (and possibly the volume groups), use rmsf -H 1/2.3.0 (or whatever) to remove all the device files related to that hardware path.&lt;BR /&gt;&lt;BR /&gt;Now add back the device files with insf -H 1/2.3.4.0 (and optionally, -I # to specify the same or different instance number). The instance number is the number after the letter c in a device file as in c1t2d0. While you can use mknod for non-hardware files (ie, /dev/null), the instance number must be assigned by the kernel.&lt;BR /&gt;&lt;BR /&gt;insf actually polls the driver to determine all the responding addresses and creates an device file for each address (and if present, LUNs).</description>
      <pubDate>Tue, 08 Aug 2000 13:46:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reappearing-device-files/m-p/2435325#M656320</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2000-08-08T13:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reappearing device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reappearing-device-files/m-p/2435326#M656321</link>
      <description>I solved the problem in the following way.&lt;BR /&gt;&lt;BR /&gt;Rerun the ioscan -f -C disk.&lt;BR /&gt;Then listed the device files in /dev/rdsk.&lt;BR /&gt;Used rmsf -a /dev/dsk/device files to remove both the device from the system and their device files.&lt;BR /&gt;After this, ioscan gave the required result.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Aug 2000 14:23:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reappearing-device-files/m-p/2435326#M656321</guid>
      <dc:creator>Maarten van Maanen</dc:creator>
      <dc:date>2000-08-09T14:23:54Z</dc:date>
    </item>
  </channel>
</rss>

