<?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: How to remove old /dev/rmt/* entrys in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208457#M464490</link>
    <description>&amp;gt;Duncan: Should get rid of em all in one shot...&lt;BR /&gt;&lt;BR /&gt;Since so few, you don't really need xargs:&lt;BR /&gt;rmsf $(lssf /dev/rmt/* | grep '???' | awk '{ print $NF }')</description>
    <pubDate>Mon, 09 Nov 2009 21:26:02 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-11-09T21:26:02Z</dc:date>
    <item>
      <title>How to remove old /dev/rmt/* entrys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208450#M464483</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Im after your help with the following situation, &lt;BR /&gt;&lt;BR /&gt;Situation :&lt;BR /&gt;A team moved our HP equipment from one rack to another and cabled them all up again.&lt;BR /&gt;&lt;BR /&gt;Issue :&lt;BR /&gt;On completion of the re-cabling and power up, my backup scripts fail because they run a function where if the given variable (run by an operator) is not specified it runs an ls /dev/rmt | head -1, this gives the first device path entry which should be 0mn&lt;BR /&gt;&lt;BR /&gt;the device path entry is now 3mn because the jumper settings have been changed on the system.&lt;BR /&gt;&lt;BR /&gt;The jumper settings now have to stay as they are to mirror the setup of our other system's&lt;BR /&gt;so i will force the script to look at 3mn&lt;BR /&gt;&lt;BR /&gt;The problem is i want to remove the omn and 1mn entries from /dev/rmt so i am left with just 2mn and 3mn&lt;BR /&gt;&lt;BR /&gt;I would have thought an insf -e would clear down the device paths this cannot be run until the weekend but the box was rebooted which i thought would run an insf -e, if it did it didn't clean up the device paths&lt;BR /&gt;&lt;BR /&gt;How can i remove the device paths so it only see's the paths available when i run ioscan -fnC tape.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Steven Spear&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Nov 2009 19:54:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208450#M464483</guid>
      <dc:creator>spearsy456</dc:creator>
      <dc:date>2009-11-09T19:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove old /dev/rmt/* entrys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208451#M464484</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;insf only creates _new_ DSFs - t doesn't get rid of old ones...&lt;BR /&gt;&lt;BR /&gt;To identify all your "stale" DSFs use:&lt;BR /&gt;&lt;BR /&gt;lssf /dev/rmt/* | grep '???'&lt;BR /&gt;&lt;BR /&gt;Then you can just "rmsf" them:&lt;BR /&gt;&lt;BR /&gt;e.g. if /dev/rmt/0mn is stale:&lt;BR /&gt;&lt;BR /&gt;rmsf /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Mon, 09 Nov 2009 19:59:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208451#M464484</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-11-09T19:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove old /dev/rmt/* entrys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208452#M464485</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.scribd.com/doc/5708961/HPUX-System-and-Network-Administration-I" target="_blank"&gt;http://www.scribd.com/doc/5708961/HPUX-System-and-Network-Administration-I&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In that link which my content filtering system will not let me actually read is a procedure that will let you with a boot reconfigure ioconfig and have your active tape drive be /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 09 Nov 2009 20:23:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208452#M464485</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-11-09T20:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove old /dev/rmt/* entrys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208453#M464486</link>
      <description>duncan,&lt;BR /&gt;&lt;BR /&gt;Many thanks for the quick response, always a bit nervous when it comes to removing paths, i can see in the lssf output that the devices in question do not have a set address, as i cannot run it now, i have 32 entries that do not have an address to i have to specify each in turn to remove them ?&lt;BR /&gt;&lt;BR /&gt;Many thanks&lt;BR /&gt;steve</description>
      <pubDate>Mon, 09 Nov 2009 20:39:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208453#M464486</guid>
      <dc:creator>spearsy456</dc:creator>
      <dc:date>2009-11-09T20:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove old /dev/rmt/* entrys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208454#M464487</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; i have 32 entries that do not have an address to i have to specify each in turn to remove them ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Not with some simple scripting:&lt;BR /&gt;&lt;BR /&gt;lssf /dev/rmt/* | grep '???' | awk '{ print $NF }' | xargs rmsf&lt;BR /&gt;&lt;BR /&gt;Should get rid of em all in one shot...&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Mon, 09 Nov 2009 20:51:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208454#M464487</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-11-09T20:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove old /dev/rmt/* entrys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208455#M464488</link>
      <description>Duncan&lt;BR /&gt;&lt;BR /&gt;i couldn't ask for a better answer than that many thank, that will work a treat.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Steve</description>
      <pubDate>Mon, 09 Nov 2009 21:10:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208455#M464488</guid>
      <dc:creator>spearsy456</dc:creator>
      <dc:date>2009-11-09T21:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove old /dev/rmt/* entrys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208456#M464489</link>
      <description>|</description>
      <pubDate>Mon, 09 Nov 2009 21:20:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208456#M464489</guid>
      <dc:creator>spearsy456</dc:creator>
      <dc:date>2009-11-09T21:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove old /dev/rmt/* entrys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208457#M464490</link>
      <description>&amp;gt;Duncan: Should get rid of em all in one shot...&lt;BR /&gt;&lt;BR /&gt;Since so few, you don't really need xargs:&lt;BR /&gt;rmsf $(lssf /dev/rmt/* | grep '???' | awk '{ print $NF }')</description>
      <pubDate>Mon, 09 Nov 2009 21:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-old-dev-rmt-entrys/m-p/5208457#M464490</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-11-09T21:26:02Z</dc:date>
    </item>
  </channel>
</rss>

