<?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: Proper way to remove any non used devices in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139066#M565467</link>
    <description>&lt;!--!*#--&gt;I don't remember where I read this, but in fact after you do a rmsf in 11.31, the system will re-run insf again on it's own.&lt;BR /&gt;&lt;BR /&gt;My example:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  ioscan -fnH 0/1/1/1.2.0&lt;BR /&gt;Class     I  H/W Path     Driver S/W State   H/W Type     Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;disk      2  0/1/1/1.2.0  sdisk   CLAIMED     DEVICE       HP 36.4GMAS3367NC&lt;BR /&gt;                         /dev/dsk/c3t2d0     /dev/rdsk/c3t2d0&lt;BR /&gt;                         /dev/dsk/c3t2d0s1   /dev/rdsk/c3t2d0s1&lt;BR /&gt;                         /dev/dsk/c3t2d0s2   /dev/rdsk/c3t2d0s2&lt;BR /&gt;                         /dev/dsk/c3t2d0s3   /dev/rdsk/c3t2d0s3&lt;BR /&gt;                         /dev/dsk/c3t2d0s4   /dev/rdsk/c3t2d0s4&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; rmsf -H 0/1/1/1.2.0&lt;BR /&gt;&lt;BR /&gt; &amp;gt;  ioscan -fnH 0/1/1/1.2.0&lt;BR /&gt;(same output)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; ll /dev/dsk/c3t2*&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x032000 Nov 12 12:34 /dev/dsk/c3t2d0&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x032001 Nov 12 12:34 /dev/dsk/c3t2d0s1&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x032002 Nov 12 12:34 /dev/dsk/c3t2d0s2&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x032003 Nov 12 12:34 /dev/dsk/c3t2d0s3&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x032004 Nov 12 12:34 /dev/dsk/c3t2d0s4&lt;BR /&gt;&lt;BR /&gt;&amp;gt; date&lt;BR /&gt;Wed Nov 12 12:35:12 MEZ 2008&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SYSLOG:&lt;BR /&gt;&lt;BR /&gt;Nov 12 12:34:05 myserver sfd[2254]: started 'insf' to create device special file&lt;BR /&gt;s for newly found devices.&lt;BR /&gt;Nov 12 12:34:16 myserver sfd[2254]: execution of 'insf' completed.&lt;BR /&gt;</description>
    <pubDate>Wed, 12 Nov 2008 09:39:23 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2008-11-12T09:39:23Z</dc:date>
    <item>
      <title>Proper way to remove any non used devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139059#M565460</link>
      <description>&lt;!--!*#--&gt;Hi guys,&lt;BR /&gt;I am not sure how to properly remove a storage attached disk to my hp-ux 11.31v.  Can someone please give me a quick run down on how to do this?&lt;BR /&gt;&lt;BR /&gt;These are the things I had in mind but do not know the correct flags to use.&lt;BR /&gt;&lt;BR /&gt;1. identify the disk - &lt;BR /&gt;ioscan -funC disk&lt;BR /&gt;2. make sure it is not used - &lt;BR /&gt;pvdisplay -v /dev/disk/disk909&lt;BR /&gt;3. remove it. &lt;BR /&gt;rmfs -x disk909&lt;BR /&gt;4. verify that it is removed. - &lt;BR /&gt;ioscan -funC disk&lt;BR /&gt;&lt;BR /&gt;Any suggestions will be greatly appreciated.&lt;BR /&gt;Is the rmfs -x the only proper way to remove it?  I think I read somewhere that you should not be doing an "rm" under /dev/disk/ ...&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Nov 2008 03:35:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139059#M565460</guid>
      <dc:creator>susan.derose</dc:creator>
      <dc:date>2008-11-04T03:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way to remove any non used devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139060#M565461</link>
      <description>&amp;gt;&amp;gt; am not sure how to properly remove a storage attached disk to my hp-ux 11.31v&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;rmfs -x disk909 ..? (never used before)&lt;BR /&gt;&lt;BR /&gt;(rmfs Command&lt;BR /&gt;Purpose&lt;BR /&gt;Removes a file system)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;are your storage disk configured to any of your volume group in your server "hp-ux 11.31v" ...?&lt;BR /&gt;&lt;BR /&gt;if you need to vgreduce /dev/vg00 /dev/dsk/cxtxdx&lt;BR /&gt;&lt;BR /&gt;once you de-attached the "storage from your server"&lt;BR /&gt;mv /etc/lvmtab /etc/lvmtab.sav&lt;BR /&gt;vgscan -a&lt;BR /&gt;This will recreate you lvmtab&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;vgdisplay -v |more&lt;BR /&gt;(check for PV available in all your volume_group)&lt;BR /&gt;&lt;BR /&gt;insf -e&lt;BR /&gt;ioscan -fnC disk --&amp;gt; this should show only the currenlty used disk in your server&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Tue, 04 Nov 2008 05:16:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139060#M565461</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-11-04T05:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way to remove any non used devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139061#M565462</link>
      <description>I think its not rmfs. It should be rmsf.&lt;BR /&gt;&lt;BR /&gt;This is good choice.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;SKR</description>
      <pubDate>Tue, 04 Nov 2008 05:27:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139061#M565462</guid>
      <dc:creator>SKR_1</dc:creator>
      <dc:date>2008-11-04T05:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way to remove any non used devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139062#M565463</link>
      <description>rmsf is th command needed here followed by an insf -e.&lt;BR /&gt;&lt;BR /&gt;Man rmsf for more info or go to this link.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-3373/ch09s06.html" target="_blank"&gt;http://docs.hp.com/en/5992-3373/ch09s06.html&lt;/A&gt;</description>
      <pubDate>Tue, 04 Nov 2008 14:06:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139062#M565463</guid>
      <dc:creator>Adam W.</dc:creator>
      <dc:date>2008-11-04T14:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way to remove any non used devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139063#M565464</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;Yes I did mean rmsf and not rmfs.&lt;BR /&gt;Thanks again guys.</description>
      <pubDate>Thu, 06 Nov 2008 14:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139063#M565464</guid>
      <dc:creator>susan.derose</dc:creator>
      <dc:date>2008-11-06T14:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way to remove any non used devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139064#M565465</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Please use rmsf -H&lt;BR /&gt;&lt;BR /&gt;it will delete both rdsk and dsk device files&lt;BR /&gt;&lt;BR /&gt;Only rmsf /dev/dsk will remove /dsk files&lt;BR /&gt;Regards&lt;BR /&gt;Sanjeev</description>
      <pubDate>Fri, 07 Nov 2008 14:54:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139064#M565465</guid>
      <dc:creator>Sharma Sanjeev</dc:creator>
      <dc:date>2008-11-07T14:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way to remove any non used devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139065#M565466</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I would recommend using rmsf -H &lt;HARDWARE path=""&gt; command to delete it&lt;/HARDWARE&gt;</description>
      <pubDate>Wed, 12 Nov 2008 09:26:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139065#M565466</guid>
      <dc:creator>Sagar Sirdesai</dc:creator>
      <dc:date>2008-11-12T09:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way to remove any non used devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139066#M565467</link>
      <description>&lt;!--!*#--&gt;I don't remember where I read this, but in fact after you do a rmsf in 11.31, the system will re-run insf again on it's own.&lt;BR /&gt;&lt;BR /&gt;My example:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  ioscan -fnH 0/1/1/1.2.0&lt;BR /&gt;Class     I  H/W Path     Driver S/W State   H/W Type     Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;disk      2  0/1/1/1.2.0  sdisk   CLAIMED     DEVICE       HP 36.4GMAS3367NC&lt;BR /&gt;                         /dev/dsk/c3t2d0     /dev/rdsk/c3t2d0&lt;BR /&gt;                         /dev/dsk/c3t2d0s1   /dev/rdsk/c3t2d0s1&lt;BR /&gt;                         /dev/dsk/c3t2d0s2   /dev/rdsk/c3t2d0s2&lt;BR /&gt;                         /dev/dsk/c3t2d0s3   /dev/rdsk/c3t2d0s3&lt;BR /&gt;                         /dev/dsk/c3t2d0s4   /dev/rdsk/c3t2d0s4&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; rmsf -H 0/1/1/1.2.0&lt;BR /&gt;&lt;BR /&gt; &amp;gt;  ioscan -fnH 0/1/1/1.2.0&lt;BR /&gt;(same output)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; ll /dev/dsk/c3t2*&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x032000 Nov 12 12:34 /dev/dsk/c3t2d0&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x032001 Nov 12 12:34 /dev/dsk/c3t2d0s1&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x032002 Nov 12 12:34 /dev/dsk/c3t2d0s2&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x032003 Nov 12 12:34 /dev/dsk/c3t2d0s3&lt;BR /&gt;brw-r-----   1 bin        sys         31 0x032004 Nov 12 12:34 /dev/dsk/c3t2d0s4&lt;BR /&gt;&lt;BR /&gt;&amp;gt; date&lt;BR /&gt;Wed Nov 12 12:35:12 MEZ 2008&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SYSLOG:&lt;BR /&gt;&lt;BR /&gt;Nov 12 12:34:05 myserver sfd[2254]: started 'insf' to create device special file&lt;BR /&gt;s for newly found devices.&lt;BR /&gt;Nov 12 12:34:16 myserver sfd[2254]: execution of 'insf' completed.&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Nov 2008 09:39:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139066#M565467</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-11-12T09:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way to remove any non used devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139067#M565468</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Torsten: ...after you do a rmsf in 11.31, the system will re-run insf again on it's own.&lt;BR /&gt;&lt;BR /&gt;The way I read your test data is that the device files are regenerated as a consequence of running 'ioscan'.  I would further suspect that if you ran it with the '-k' option to consult only the kernel tables, you would not see the device file(s) regenerated.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 12 Nov 2008 14:00:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139067#M565468</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-11-12T14:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way to remove any non used devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139068#M565469</link>
      <description>JRF you are absolutely right.&lt;BR /&gt;&lt;BR /&gt;"rmsf" did remove the legacy device files, the agile will stay. &lt;BR /&gt;&lt;BR /&gt;ioscan with "-k" will not show the disk at all (only a target, but not the disk), without "-k" the legacy device files are re-created.&lt;BR /&gt;&lt;BR /&gt;So an "ioscan -fnCdisk" is *not* a good test to see if the device files are removed.&lt;BR /&gt;&lt;BR /&gt;;-)</description>
      <pubDate>Thu, 13 Nov 2008 06:31:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139068#M565469</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-11-13T06:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way to remove any non used devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139069#M565470</link>
      <description>Torsten,&lt;BR /&gt;&lt;BR /&gt;So what is a good way to check to make sure that all the associated device files are removed correctly under 11.31?&lt;BR /&gt;&lt;BR /&gt;Susan</description>
      <pubDate>Mon, 24 Nov 2008 20:47:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139069#M565470</guid>
      <dc:creator>susan.derose</dc:creator>
      <dc:date>2008-11-24T20:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way to remove any non used devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139070#M565471</link>
      <description>maybe you can run ioscan -nfCdisk and make sure to SAN administrator to unmap or unzone the LUN that have been recently removed from the server.</description>
      <pubDate>Thu, 27 Nov 2008 04:39:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139070#M565471</guid>
      <dc:creator>yulianto piyut</dc:creator>
      <dc:date>2008-11-27T04:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Proper way to remove any non used devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139071#M565472</link>
      <description>Thank you.</description>
      <pubDate>Wed, 10 Dec 2008 22:22:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/proper-way-to-remove-any-non-used-devices/m-p/5139071#M565472</guid>
      <dc:creator>susan.derose</dc:creator>
      <dc:date>2008-12-10T22:22:55Z</dc:date>
    </item>
  </channel>
</rss>

