<?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: Remove disk device files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789356#M637028</link>
    <description>You assigned points and that *is* appreciated, but please *also* report which solution(s) worked and why. Thanks.&lt;BR /&gt;&lt;BR /&gt;[Please no (0) points for this response.]</description>
    <pubDate>Wed, 21 Aug 2002 12:42:21 GMT</pubDate>
    <dc:creator>Frank Slootweg</dc:creator>
    <dc:date>2002-08-21T12:42:21Z</dc:date>
    <item>
      <title>Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789343#M637015</link>
      <description>I found on my 10.20 system some NO_HW disk device from ioscan. This output because someone had removed some disks without removing device files as well. Some of them can be deleted using command rmsf -H &lt;HW_PATH&gt;, but I noticed that an hardware with device files /dev/dsk/cXtYdZ,/dev/rdsk/cXtYdZ,/dev/floppy/cXtYdZ,/dev/rfloppy/cXtYdZ can be deleted using rmsf command. I'm not so sure what /dev/floppy device files and why can be deleted. Anyone can help me on this. Thanks alot in advance. &lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Dewa Negara&lt;BR /&gt;&lt;BR /&gt;target     13  10/4/12.11    target      NO_HW     DEVICE&lt;BR /&gt;disk       64  10/4/12.11.0  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;                            /dev/dsk/c2t11d0      /dev/floppy/c2t11d0   /dev/rdsk/c2t11d0     /dev/rfloppy/c2t11d0&lt;BR /&gt;disk       65  10/4/12.11.1  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;                            /dev/dsk/c2t11d1      /dev/floppy/c2t11d1   /dev/rdsk/c2t11d1     /dev/rfloppy/c2t11d1&lt;BR /&gt;disk       66  10/4/12.11.2  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;                            /dev/dsk/c2t11d2      /dev/floppy/c2t11d2   /dev/rdsk/c2t11d2     /dev/rfloppy/c2t11d2&lt;BR /&gt;disk       67  10/4/12.11.3  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;                            /dev/dsk/c2t11d3      /dev/floppy/c2t11d3   /dev/rdsk/c2t11d3     /dev/rfloppy/c2t11d3&lt;BR /&gt;disk       68  10/4/12.11.4  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;                            /dev/dsk/c2t11d4      /dev/floppy/c2t11d4   /dev/rdsk/c2t11d4     /dev/rfloppy/c2t11d4&lt;BR /&gt;disk       69  10/4/12.11.5  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;                            /dev/dsk/c2t11d5      /dev/floppy/c2t11d5   /dev/rdsk/c2t11d5     /dev/rfloppy/c2t11d5&lt;BR /&gt;disk       70  10/4/12.11.6  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;                            /dev/dsk/c2t11d6      /dev/floppy/c2t11d6   /dev/rdsk/c2t11d6     /dev/rfloppy/c2t11d6&lt;BR /&gt;disk       71  10/4/12.11.7  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;                            /dev/dsk/c2t11d7      /dev/floppy/c2t11d7   /dev/rdsk/c2t11d7     /dev/rfloppy/c2t11d7&lt;BR /&gt;target     14  10/4/12.12    target      NO_HW     DEVICE&lt;BR /&gt;disk       72  10/4/12.12.0  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;                            /dev/dsk/c2t12d0      /dev/floppy/c2t12d0   /dev/rdsk/c2t12d0     /dev/rfloppy/c2t12d0&lt;BR /&gt;disk       73  10/4/12.12.1  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;                            /dev/dsk/c2t12d1      /dev/floppy/c2t12d1   /dev/rdsk/c2t12d1     /dev/rfloppy/c2t12d1&lt;BR /&gt;disk       74  10/4/12.12.2  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;                            /dev/dsk/c2t12d2      /dev/floppy/c2t12d2   /dev/rdsk/c2t12d2     /dev/rfloppy/c2t12d2&lt;BR /&gt;disk       75  10/4/12.12.3  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;                            /dev/dsk/c2t12d3      /dev/floppy/c2t12d3   /dev/rdsk/c2t12d3     /dev/rfloppy/c2t12d3&lt;BR /&gt;&lt;/HW_PATH&gt;</description>
      <pubDate>Tue, 20 Aug 2002 02:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789343#M637015</guid>
      <dc:creator>Dewa Negara_1</dc:creator>
      <dc:date>2002-08-20T02:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789344#M637016</link>
      <description>Depending on the type of Hardware you have, the floppy drive may be using disc3 driver. So, it is natural for the floppy devices files to appear along with the disk device files.&lt;BR /&gt;&lt;BR /&gt;You can get rid of the device files using "rmsf" command, but you cannot get rid of the corresponding pointers in the kernel tree. A reboot is needed to clear the entries.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 20 Aug 2002 02:42:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789344#M637016</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-08-20T02:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789345#M637017</link>
      <description>rm /dev/dsk/c*&lt;BR /&gt;rm /dev/rdsk/c*&lt;BR /&gt;insf -e&lt;BR /&gt;ioscan -fCdisk&lt;BR /&gt;&lt;BR /&gt;i don't know about floppy, but it should work the same way..&lt;BR /&gt;Regards,&lt;BR /&gt;Ceesjan</description>
      <pubDate>Tue, 20 Aug 2002 10:16:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789345#M637017</guid>
      <dc:creator>Ceesjan van Hattum</dc:creator>
      <dc:date>2002-08-20T10:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789346#M637018</link>
      <description>&lt;BR /&gt;Use:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; for i in `ioscan -funC disk | grep -v grep | grep NO_HW | awk '{ print $3 }'`&lt;BR /&gt;&lt;BR /&gt;&amp;gt; do&lt;BR /&gt;&lt;BR /&gt;&amp;gt; rmsf -k -H $i&lt;BR /&gt;&lt;BR /&gt;&amp;gt; done &lt;BR /&gt;&lt;BR /&gt;This little program will erase all the device files that are not connect ( NO_HW ) on your system.&lt;BR /&gt;&lt;BR /&gt;Try it.&lt;BR /&gt;&lt;BR /&gt;Juanma.</description>
      <pubDate>Tue, 20 Aug 2002 10:43:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789346#M637018</guid>
      <dc:creator>Juan Manuel López</dc:creator>
      <dc:date>2002-08-20T10:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789347#M637019</link>
      <description>*Which* *exact* rmsf(1M) command did you give (i.e. which options and parameters) and *which* error message(s) did you get?&lt;BR /&gt;&lt;BR /&gt;If you want to remove specific device files, then do a "rmsf -a /dev/...".&lt;BR /&gt;&lt;BR /&gt;Do *not* use rm(1) to remove device files. rm(1) does not remove the system definition (from ioconfig).</description>
      <pubDate>Tue, 20 Aug 2002 11:30:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789347#M637019</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-08-20T11:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789348#M637020</link>
      <description>As root:&lt;BR /&gt;&lt;BR /&gt;ioscan -fnC disk | grep NO_HW | awk '{print $3}' | xargs -i -t rmsf -H {}</description>
      <pubDate>Tue, 20 Aug 2002 12:05:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789348#M637020</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2002-08-20T12:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789349#M637021</link>
      <description>You may wanna try rebooting the system and check if those devices are still there when you do an ioscan -funC disk.</description>
      <pubDate>Wed, 21 Aug 2002 02:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789349#M637021</guid>
      <dc:creator>Edgardo M. Yumul</dc:creator>
      <dc:date>2002-08-21T02:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789350#M637022</link>
      <description>Hi Guys,&lt;BR /&gt;Thanks alot for all information. Actually I have tried to use rmsf -k -H &lt;HW_PATH&gt; command, but still can NOT remove the device files that using disc3 driver as below. For all device files that using driver sdisk, this command is working well. I'm considering to reboot the server and see whether the device files have been removed. Thanks again. &lt;BR /&gt;&lt;BR /&gt;[root@sihp8020:/root]&lt;BR /&gt;# for i in `ioscan -fnC disk | grep NO_HW | awk '{print $3}'`&lt;BR /&gt;&amp;gt; do&lt;BR /&gt;&amp;gt; echo "Removing HW_PATH $i"&lt;BR /&gt;&amp;gt; rmsf -k -H $i&lt;BR /&gt;&amp;gt; done&lt;BR /&gt;Removing HW_PATH 10/4/12.2.7&lt;BR /&gt;Removing HW_PATH 10/4/12.3.0&lt;BR /&gt;Removing HW_PATH 10/4/12.3.1&lt;BR /&gt;Removing HW_PATH 10/4/12.3.2&lt;BR /&gt;Removing HW_PATH 10/4/12.3.3&lt;BR /&gt;Removing HW_PATH 10/4/12.3.4&lt;BR /&gt;Removing HW_PATH 10/4/12.3.5&lt;BR /&gt;Removing HW_PATH 10/4/12.3.6&lt;BR /&gt;Removing HW_PATH 10/4/12.3.7&lt;BR /&gt;Removing HW_PATH 10/4/12.4.0&lt;BR /&gt;Removing HW_PATH 10/4/12.4.1&lt;BR /&gt;Removing HW_PATH 10/4/12.4.2&lt;BR /&gt;Removing HW_PATH 10/4/12.4.3&lt;BR /&gt;Removing HW_PATH 10/4/12.10.7&lt;BR /&gt;Removing HW_PATH 10/4/12.11.0&lt;BR /&gt;Removing HW_PATH 10/4/12.11.1&lt;BR /&gt;Removing HW_PATH 10/4/12.11.2&lt;BR /&gt;Removing HW_PATH 10/4/12.11.3&lt;BR /&gt;Removing HW_PATH 10/4/12.11.4&lt;BR /&gt;Removing HW_PATH 10/4/12.11.5&lt;BR /&gt;Removing HW_PATH 10/4/12.11.6&lt;BR /&gt;Removing HW_PATH 10/4/12.11.7&lt;BR /&gt;Removing HW_PATH 10/4/12.12.0&lt;BR /&gt;Removing HW_PATH 10/4/12.12.1&lt;BR /&gt;Removing HW_PATH 10/4/12.12.2&lt;BR /&gt;Removing HW_PATH 10/4/12.12.3&lt;BR /&gt;&lt;BR /&gt;[root@sihp8020:/root]&lt;BR /&gt;# ioscan -fnC disk | grep NO_HW&lt;BR /&gt;disk     27  10/4/12.2.7   disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     28  10/4/12.3.0   disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     29  10/4/12.3.1   disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     30  10/4/12.3.2   disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     31  10/4/12.3.3   disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     32  10/4/12.3.4   disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     33  10/4/12.3.5   disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     34  10/4/12.3.6   disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     35  10/4/12.3.7   disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     36  10/4/12.4.0   disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     37  10/4/12.4.1   disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     38  10/4/12.4.2   disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     39  10/4/12.4.3   disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     63  10/4/12.10.7  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     64  10/4/12.11.0  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     65  10/4/12.11.1  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     66  10/4/12.11.2  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     67  10/4/12.11.3  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     68  10/4/12.11.4  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;disk     69  10/4/12.11.5  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;/HW_PATH&gt;</description>
      <pubDate>Wed, 21 Aug 2002 04:10:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789350#M637022</guid>
      <dc:creator>Dewa Negara_1</dc:creator>
      <dc:date>2002-08-21T04:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789351#M637023</link>
      <description>Try to execute the command rmsf only on one device, and tell us what happend.&lt;BR /&gt;&lt;BR /&gt;So, please, do NOT forget to give us points.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Juanma.</description>
      <pubDate>Wed, 21 Aug 2002 05:49:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789351#M637023</guid>
      <dc:creator>Juan Manuel López</dc:creator>
      <dc:date>2002-08-21T05:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789352#M637024</link>
      <description>Juanma, &lt;BR /&gt;&lt;BR /&gt;I tried to run rmsf -a &lt;DEV_FILE&gt; on each device files, but it's still can NOT be removed. When run ioscan, it's still there without device files. Pls help.  &lt;BR /&gt;&lt;BR /&gt;Thanks. &lt;BR /&gt;Dewa&lt;BR /&gt;&lt;BR /&gt;[root@sihp8020:/root]&lt;BR /&gt;# rmsf -a /dev/dsk/c2t12d0&lt;BR /&gt;&lt;BR /&gt;[root@sihp8020:/root]&lt;BR /&gt;# rmsf -a /dev/rdsk/c2t12d0&lt;BR /&gt;&lt;BR /&gt;[root@sihp8020:/root]&lt;BR /&gt;# rmsf -a /dev/rfloppy/c2t12d0&lt;BR /&gt;&lt;BR /&gt;[root@sihp8020:/root]&lt;BR /&gt;# rmsf -a /dev/floppy/c2t12d0&lt;BR /&gt;&lt;BR /&gt;[root@sihp8020:/root]&lt;BR /&gt;# ioscan -fnC disk | more&lt;BR /&gt;disk     72  10/4/12.12.0  disc3       NO_HW     DEVICE    EMC     SYMMETRIX&lt;BR /&gt;&lt;BR /&gt;&lt;/DEV_FILE&gt;</description>
      <pubDate>Wed, 21 Aug 2002 07:32:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789352#M637024</guid>
      <dc:creator>Dewa Negara_1</dc:creator>
      <dc:date>2002-08-21T07:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789353#M637025</link>
      <description>Then I suggest you to reboot the machine !.&lt;BR /&gt;&lt;BR /&gt;I hope this help you.&lt;BR /&gt;&lt;BR /&gt;Juanma.</description>
      <pubDate>Wed, 21 Aug 2002 07:47:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789353#M637025</guid>
      <dc:creator>Juan Manuel López</dc:creator>
      <dc:date>2002-08-21T07:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789354#M637026</link>
      <description>If you have not yet rebooted the machine, then re-run the ioscan with the (added) option "-k" and "-u" (one option at a time).&lt;BR /&gt;&lt;BR /&gt;I think that one of these will probably not list the removed path(s).</description>
      <pubDate>Wed, 21 Aug 2002 07:59:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789354#M637026</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-08-21T07:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789355#M637027</link>
      <description>Hi Dewa,&lt;BR /&gt;&lt;BR /&gt;As I mentioned before, you can only get rid of the device files with "rmsf" but not the pointers in the kernel IO tree. So, you will still see NO_HW associated with those paths until you reboot the server.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 21 Aug 2002 12:23:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789355#M637027</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-08-21T12:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789356#M637028</link>
      <description>You assigned points and that *is* appreciated, but please *also* report which solution(s) worked and why. Thanks.&lt;BR /&gt;&lt;BR /&gt;[Please no (0) points for this response.]</description>
      <pubDate>Wed, 21 Aug 2002 12:42:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789356#M637028</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-08-21T12:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove disk device files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789357#M637029</link>
      <description>Frank, &lt;BR /&gt;&lt;BR /&gt;To remove the device files, I ran rmsf -H ,hw_path&amp;gt;, but NO_HW can not be deleted from ioscan. So as the suggestion, I will reboot the server soon. This server is a production server. So I need to schedule for rebooting the server. I will update you guys after rebooting. &lt;BR /&gt;&lt;BR /&gt;Thanks alot for all suggestions. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Dewa &lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2002 05:26:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-device-files/m-p/2789357#M637029</guid>
      <dc:creator>Dewa Negara_1</dc:creator>
      <dc:date>2002-08-22T05:26:21Z</dc:date>
    </item>
  </channel>
</rss>

