<?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: /dev/rmt/0mn: Device busy in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670954#M381771</link>
    <description>lsof shows nothing running on any of the tape device files:&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 09 Aug 2010 14:30:02 GMT</pubDate>
    <dc:creator>80skeys</dc:creator>
    <dc:date>2010-08-09T14:30:02Z</dc:date>
    <item>
      <title>/dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670943#M381760</link>
      <description>rx8640 running HP-UX 11.31 with an Ultrium II scsi tape drive attached directly to the back of the server.&lt;BR /&gt;&lt;BR /&gt;When I try to use the device or check it's status, it tells me device busy, even though the device does not show up in any running processes or in fuser. &lt;BR /&gt;&lt;BR /&gt;How can I release this device so I can use it?&lt;BR /&gt;&lt;BR /&gt;rmgjt-ap#/opt/sybase/ASE-15_0/install&amp;gt; mt -f /dev/rmt/0mn status&lt;BR /&gt;on tape open: Device busy&lt;BR /&gt;rmgjt-ap#/opt/sybase/ASE-15_0/install&amp;gt; ps -ef | grep 0mn&lt;BR /&gt;    root 10657  7732  0 13:22:42 pts/0     0:00 grep 0mn&lt;BR /&gt;rmgjt-ap#/opt/sybase/ASE-15_0/install&amp;gt; fuser /dev/rmt/0mn&lt;BR /&gt;/dev/rmt/0mn: &lt;BR /&gt;</description>
      <pubDate>Thu, 05 Aug 2010 18:23:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670943#M381760</guid>
      <dc:creator>80skeys</dc:creator>
      <dc:date>2010-08-05T18:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670944#M381761</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This link may help you..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=799634" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=799634&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Are there any process running like tar,dd , Cross check for any backup software running in the server.&lt;BR /&gt;Cross check iostat outputs..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Vipin</description>
      <pubDate>Fri, 06 Aug 2010 02:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670944#M381761</guid>
      <dc:creator>Vipin Kumar</dc:creator>
      <dc:date>2010-08-06T02:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670945#M381762</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Install "lsof" utility.&lt;BR /&gt;&lt;BR /&gt;Sample use:&lt;BR /&gt;&lt;BR /&gt;# lsof /dev/rmt/35mn&lt;BR /&gt;&lt;BR /&gt;COMMAND  PID USER   FD   TYPE       DEVICE   SIZE/OFF NODE NAME&lt;BR /&gt;bma     9361 root   10u   CHR 205,0xdb7340 0x929f4000 8558 /dev/rmt/35mn&lt;BR /&gt;&lt;BR /&gt;rgs,</description>
      <pubDate>Fri, 06 Aug 2010 10:09:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670945#M381762</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2010-08-06T10:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670946#M381763</link>
      <description>Data Protector is installed, however there are no omni related processes running:&lt;BR /&gt;&lt;BR /&gt;rmgjt-ap#/opt/omni&amp;gt; ps -ef | grep omni&lt;BR /&gt;    root  5369  5591  0 08:28:07 pts/3     0:00 grep omni&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Where do I grab lsof from? I googled lsof for HP-UX, but there appears to be just old links that don't work anymore.</description>
      <pubDate>Fri, 06 Aug 2010 13:32:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670946#M381763</guid>
      <dc:creator>80skeys</dc:creator>
      <dc:date>2010-08-06T13:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670947#M381764</link>
      <description>&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.83/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.83/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There are other device files related to this device too (not only 0mn), see&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnkCtape</description>
      <pubDate>Fri, 06 Aug 2010 13:42:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670947#M381764</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-08-06T13:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670948#M381765</link>
      <description>I downloaded the lsof*gz file to my server. I'm not experienced with using software depots on HP. Can you give me a set of instructions for installing this software?</description>
      <pubDate>Fri, 06 Aug 2010 15:41:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670948#M381765</guid>
      <dc:creator>80skeys</dc:creator>
      <dc:date>2010-08-06T15:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670949#M381766</link>
      <description>Download &lt;A href="http://hpux.connect.org.uk/ftp/hpux/Sysadmin/lsof-4.83/lsof-4.83-ia64-11.31.depot.gz" target="_blank"&gt;http://hpux.connect.org.uk/ftp/hpux/Sysadmin/lsof-4.83/lsof-4.83-ia64-11.31.depot.gz&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;gunzip it (e.g. to /tmp) and run&lt;BR /&gt;&lt;BR /&gt;# swinstall -s /tmp/lsof-4.83/lsof-4.83-ia64-11.31.depot</description>
      <pubDate>Fri, 06 Aug 2010 15:43:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670949#M381766</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-08-06T15:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670950#M381767</link>
      <description>Successful install, but the command does not work:&lt;BR /&gt;&lt;BR /&gt;rmgjt-ap#/tmp&amp;gt; /usr/local/bin/lsof /dev/rmt/0mn&lt;BR /&gt;lsof: FATAL: pst_stream_size should be: 672; is 72&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Aug 2010 16:29:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670950#M381767</guid>
      <dc:creator>80skeys</dc:creator>
      <dc:date>2010-08-06T16:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670951#M381768</link>
      <description>maybe this helps:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Sysadmin/lsof-4.83/lsof-4.83-src-11.11.tar.gz+lsof-4.83/HPUX.Install+text" target="_blank"&gt;http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Sysadmin/lsof-4.83/lsof-4.83-src-11.11.tar.gz+lsof-4.83/HPUX.Install+text&lt;/A&gt;</description>
      <pubDate>Fri, 06 Aug 2010 16:57:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670951#M381768</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-08-06T16:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670952#M381769</link>
      <description>I installed the 11.23 version of lsof and this works. I tested it on /tmp and it works. When I run it on the tape device, it shows nothing is using it:&lt;BR /&gt;&lt;BR /&gt;rmgjt-ap#/tmp&amp;gt; /usr/local/bin/lsof /dev/rmt/0mn&lt;BR /&gt;rmgjt-ap#/tmp&amp;gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Next step??</description>
      <pubDate>Fri, 06 Aug 2010 20:10:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670952#M381769</guid>
      <dc:creator>80skeys</dc:creator>
      <dc:date>2010-08-06T20:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670953#M381770</link>
      <description>As said, there are other device files related to this device too (not only 0mn), see&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnkCtape&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Aug 2010 20:20:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670953#M381770</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-08-06T20:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670954#M381771</link>
      <description>lsof shows nothing running on any of the tape device files:&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Aug 2010 14:30:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670954#M381771</guid>
      <dc:creator>80skeys</dc:creator>
      <dc:date>2010-08-09T14:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670955#M381772</link>
      <description>Status still "busy"&lt;BR /&gt;&lt;BR /&gt;rmgjt-ap#/tmp&amp;gt; /usr/local/bin/lsof /dev/rmt/0mn&lt;BR /&gt;rmgjt-ap#/tmp&amp;gt; /usr/local/bin/lsof /dev/rmt/0m &lt;BR /&gt;rmgjt-ap#/tmp&amp;gt; /usr/local/bin/lsof /dev/rmt/0mnb&lt;BR /&gt;rmgjt-ap#/tmp&amp;gt; /usr/local/bin/lsof /dev/rmt/c3t1d0BEST&lt;BR /&gt;rmgjt-ap#/tmp&amp;gt; /usr/local/bin/lsof /dev/rmt/c3t1d0BESTb&lt;BR /&gt;rmgjt-ap#/tmp&amp;gt; /usr/local/bin/lsof /dev/rmt/c3t1d0BESTn&lt;BR /&gt;rmgjt-ap#/tmp&amp;gt; /usr/local/bin/lsof /dev/rmt/c3t1d0BESTnb&lt;BR /&gt;rmgjt-ap#/tmp&amp;gt; mt -f /dev/rmt/0mn status&lt;BR /&gt;on tape open: Device busy&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Aug 2010 14:54:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670955#M381772</guid>
      <dc:creator>80skeys</dc:creator>
      <dc:date>2010-08-09T14:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670956#M381773</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Did this setup ever work?  If so, you may simply have a defunct tape drive.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Aug 2010 15:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670956#M381773</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-08-09T15:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670957#M381774</link>
      <description>Yes the setup was working up until two days ago. &lt;BR /&gt;&lt;BR /&gt;At that time, I was running a database backup through Data Protector. It got interrupted - the database crashed - and left the device in a hung state. &lt;BR /&gt;&lt;BR /&gt;I'm talking to HP technical support and they're telling me the only option is to reboot. This isn't an option for us, and to be honest, I would think there should be a cleaner solution for a stable, Unix OS like HP-UX.</description>
      <pubDate>Mon, 09 Aug 2010 15:36:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670957#M381774</guid>
      <dc:creator>80skeys</dc:creator>
      <dc:date>2010-08-09T15:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670958#M381775</link>
      <description>Anybody know if there's a "factory reset" button on the HP StorageWork Ultrium 460?</description>
      <pubDate>Mon, 09 Aug 2010 20:39:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670958#M381775</guid>
      <dc:creator>80skeys</dc:creator>
      <dc:date>2010-08-09T20:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670959#M381776</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] I would think there should be a&lt;BR /&gt;&amp;gt; cleaner solution for a stable, Unix OS like&lt;BR /&gt;&amp;gt; HP-UX.&lt;BR /&gt;&lt;BR /&gt;See where optimism gets you?&lt;BR /&gt;&lt;BR /&gt;One possibility would be to change the SCSI&lt;BR /&gt;ID on the tape drive (to some safe, currently&lt;BR /&gt;unused-on-this-bus value), then go through&lt;BR /&gt;the OS-specific SCSI-device-discovery&lt;BR /&gt;procedure, and finally relax and enjoy using&lt;BR /&gt;your "new" tape drive.  (Until it goes nuts,&lt;BR /&gt;too.)</description>
      <pubDate>Mon, 09 Aug 2010 22:34:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670959#M381776</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-08-09T22:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670960#M381777</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00262559/c00262559.pdf" target="_blank"&gt;http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00262559/c00262559.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;rgs,</description>
      <pubDate>Tue, 10 Aug 2010 05:32:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670960#M381777</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2010-08-10T05:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670961#M381778</link>
      <description>HP-UX has been around for decades, you would think that it would be possible to reset a hung tape drive without rebooting!&lt;BR /&gt;&lt;BR /&gt;rariasn: thanks for the documentation link&lt;BR /&gt;steven: thanks for the scsi suggestion, i'll try it.</description>
      <pubDate>Tue, 10 Aug 2010 14:31:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670961#M381778</guid>
      <dc:creator>80skeys</dc:creator>
      <dc:date>2010-08-10T14:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/rmt/0mn: Device busy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670962#M381779</link>
      <description>I powered off the tape drive, changed the scsi id from 1 to 2, powered it on and did an ioscan. Here's the results, the first entry was the drive with id 1, the second is with id 2. mt commands don't work on either, they say "busy" for the first one and "no such address" for the second.&lt;BR /&gt;&lt;BR /&gt;rmgjt-ap#/local/data_protector&amp;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      0  0/0/0/3/1.1.0  stape   NO_HW       DEVICE       HP      Ultrium 2-SCSI&lt;BR /&gt;                           /dev/rmt/0m            /dev/rmt/c3t1d0BEST  &lt;BR /&gt;                           /dev/rmt/0mb           /dev/rmt/c3t1d0BESTb &lt;BR /&gt;                           /dev/rmt/0mn           /dev/rmt/c3t1d0BESTn &lt;BR /&gt;                           /dev/rmt/0mnb          /dev/rmt/c3t1d0BESTnb&lt;BR /&gt;tape      3  0/0/0/3/1.2.0  stape   CLAIMED     DEVICE       HP      Ultrium 2-SCSI&lt;BR /&gt;                           /dev/rmt/3m            /dev/rmt/c3t2d0BEST  &lt;BR /&gt;                           /dev/rmt/3mb           /dev/rmt/c3t2d0BESTb &lt;BR /&gt;                           /dev/rmt/3mn           /dev/rmt/c3t2d0BESTn &lt;BR /&gt;                           /dev/rmt/3mnb          /dev/rmt/c3t2d0BESTnb&lt;BR /&gt;rmgjt-ap#/local/data_protector&amp;gt; mt -f /dev/rmt/0mn status&lt;BR /&gt;on tape open: Device busy&lt;BR /&gt;rmgjt-ap#/local/data_protector&amp;gt; mt -f /dev/rmt/3mn status&lt;BR /&gt;on tape open: No such device or address&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Aug 2010 14:52:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-rmt-0mn-device-busy/m-p/4670962#M381779</guid>
      <dc:creator>80skeys</dc:creator>
      <dc:date>2010-08-10T14:52:20Z</dc:date>
    </item>
  </channel>
</rss>

