<?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: tar: cannot open /dev/rmt/0m in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430469#M2831</link>
    <description>I appreciate all of your help.  It appears that there is definitely an internal connection problem after trying all of the commands listed above.  I have contacted the person who installed the motherboard and he is going to come back to take a look.  Again, thanks everyone for your help.</description>
    <pubDate>Thu, 13 Jul 2000 14:23:32 GMT</pubDate>
    <dc:creator>Brad Beard</dc:creator>
    <dc:date>2000-07-13T14:23:32Z</dc:date>
    <item>
      <title>tar: cannot open /dev/rmt/0m</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430458#M2820</link>
      <description>I'm using the following command to try to back up an entire directory:&lt;BR /&gt;    tar -cvf /dev/rmt/0m .&lt;BR /&gt;&lt;BR /&gt;This has been working for a long time, but a new motherboard was installed yesterday and that's when this command stopped working.  I have tried the following command with no luck:&lt;BR /&gt;   insf -e&lt;BR /&gt;&lt;BR /&gt;Also, when I issue the following command I get nothing back (it does not recognize it even has a tape drive, but the directory and file are there - /dev/rmt/0m):&lt;BR /&gt;   ioscan -fnC tape&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.</description>
      <pubDate>Wed, 12 Jul 2000 19:19:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430458#M2820</guid>
      <dc:creator>Brad Beard</dc:creator>
      <dc:date>2000-07-12T19:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot open /dev/rmt/0m</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430459#M2821</link>
      <description>Does SAM show the tape device? You may need to re-initialize it via SAM (would be the easiest way)&lt;BR /&gt;&lt;BR /&gt;How about ioscan - does it show in there?&lt;BR /&gt;&lt;BR /&gt;Could the device have been moved to another name?</description>
      <pubDate>Wed, 12 Jul 2000 19:24:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430459#M2821</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-07-12T19:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot open /dev/rmt/0m</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430460#M2822</link>
      <description>You may have a more serious problem than tar, if insf does not return.  I'm not clear from your post whether ioscan -fn returns properly or not.  If it does return, then try removing all files attached to that device and runnine insf -H &lt;HARDWARE path="" to="" device=""&gt;.  It is always better to specify rather than run insf -e unless you are in single user mode, anyway.&lt;/HARDWARE&gt;</description>
      <pubDate>Wed, 12 Jul 2000 19:29:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430460#M2822</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-07-12T19:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot open /dev/rmt/0m</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430461#M2823</link>
      <description>SAM does not show the tape drive.  ioscan -fn works correctly, but it does not see the tape drive.  The tape drive has power (I can insert and eject tapes), but it just isn't recognized at all.  I don't believe it would have been renamed.  A new motherboard was installed yesterday and we didn't change any names.  It's possible that maybe it wasn't hooked up correctly after the motherboard installation.  It does have power though - I'm assuming there's another wire that has to be hooked up as well.  I appreciate your responses.  Any other suggestions?  Thanks.</description>
      <pubDate>Wed, 12 Jul 2000 19:41:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430461#M2823</guid>
      <dc:creator>Brad Beard</dc:creator>
      <dc:date>2000-07-12T19:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot open /dev/rmt/0m</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430462#M2824</link>
      <description>Is the drive internal?  If so, does ioscan show anything on that path at all?  It sounds like you might have a connection problem to th enew motherboard.</description>
      <pubDate>Wed, 12 Jul 2000 19:44:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430462#M2824</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-07-12T19:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot open /dev/rmt/0m</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430463#M2825</link>
      <description>Brad:&lt;BR /&gt;&lt;BR /&gt;I had a similar problem recently.  The SCSI cable to the tape drive may have disconnected or the tape drive itself may be defective.  In my case, too, I could insert and eject tapes.  A key sympton was the absence of any tape from ioscan.  I suggest re-seating or replacing the tape drive.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 12 Jul 2000 19:45:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430463#M2825</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-07-12T19:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot open /dev/rmt/0m</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430464#M2826</link>
      <description>The tape drive is internal.  How can I find the hardware path to see if ioscan works on that path?  I'm going to have to check the internal connection to the motherboard, but I can't take the box down right now.  Thanks for your help.</description>
      <pubDate>Wed, 12 Jul 2000 19:55:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430464#M2826</guid>
      <dc:creator>Brad Beard</dc:creator>
      <dc:date>2000-07-12T19:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot open /dev/rmt/0m</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430465#M2827</link>
      <description>Brad:&lt;BR /&gt;&lt;BR /&gt;Ah, the wonderful properties of internal tape drives (not!).  I realize that you have to down the box.  I suspect that there's nothing wrong with ioscan nor the SCSI path; only the tape drive or the connection to it.  You might get the warm fuzzy your looking for by doing an ioscan to your CDROM drive since it's probably on the same path.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 12 Jul 2000 20:10:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430465#M2827</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-07-12T20:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot open /dev/rmt/0m</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430466#M2828</link>
      <description>Hi Brad,&lt;BR /&gt;&lt;BR /&gt;after changing the motherboard the hardware path to tape drive shouldn't be changed. So you can find out the path with&lt;BR /&gt;lssf /dev/rmt/0m.&lt;BR /&gt;Now you can recreate the device file with&lt;BR /&gt;insf -H &lt;HW_PATH&gt; (see above).&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Ruediger&lt;BR /&gt;&lt;/HW_PATH&gt;</description>
      <pubDate>Thu, 13 Jul 2000 10:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430466#M2828</guid>
      <dc:creator>Ruediger Noack</dc:creator>
      <dc:date>2000-07-13T10:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot open /dev/rmt/0m</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430467#M2829</link>
      <description>when I ran the lssf /dev/rmt/0m command, I received the following output:&lt;BR /&gt;&lt;BR /&gt;stape card instance 1 SCSI target 0 SCSI LUN 0 at&amp;amp;t best destiny available at address ??? /dev/rmt/0m</description>
      <pubDate>Thu, 13 Jul 2000 12:59:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430467#M2829</guid>
      <dc:creator>Brad Beard</dc:creator>
      <dc:date>2000-07-13T12:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot open /dev/rmt/0m</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430468#M2830</link>
      <description>Brad -- the SCSI path depends upon the hardware.  On a K serer the internal tape is 10/12/5.0.0.  On a D: 8/16/5.0.0.  What you can look for in an ioscan is:&lt;BR /&gt;&lt;BR /&gt;x/x        Core I/O Adapter&lt;BR /&gt;x/x/0      Built-in Parallel Interface&lt;BR /&gt;x/x/5      Built-in SCSI&lt;BR /&gt;x/x/5.0    (no label -- driver = tgt)&lt;BR /&gt;x/x/5.0.0  [YOUR TAE DEVICE]&lt;BR /&gt;x/x/5.2    (no label -- driver = tgt)&lt;BR /&gt;x/x/5.2.0  [YOUR CD-ROM]&lt;BR /&gt;x/x/5.7    (no label -- driver = tgt)&lt;BR /&gt;x/x/5.7.0  Initiator&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If your display in ioscan -fn does not match this pattern (assuming a tape and a CD on teh internal SCSI) then you almost certainly have a seating problem with the internal tape drive.  I would have whatever tech installed the motherboard for you come back to reseat (or replace) the internal tape drive.</description>
      <pubDate>Thu, 13 Jul 2000 14:19:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430468#M2830</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-07-13T14:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot open /dev/rmt/0m</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430469#M2831</link>
      <description>I appreciate all of your help.  It appears that there is definitely an internal connection problem after trying all of the commands listed above.  I have contacted the person who installed the motherboard and he is going to come back to take a look.  Again, thanks everyone for your help.</description>
      <pubDate>Thu, 13 Jul 2000 14:23:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430469#M2831</guid>
      <dc:creator>Brad Beard</dc:creator>
      <dc:date>2000-07-13T14:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: tar: cannot open /dev/rmt/0m</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430470#M2832</link>
      <description>Brian wrote:&lt;BR /&gt;&lt;BR /&gt;"when I ran the lssf /dev/rmt/0m command, I received the following output: &lt;BR /&gt;&lt;BR /&gt;stape card instance 1 SCSI target 0 SCSI LUN 0 at&amp;amp;t best destiny available at address ??? /dev/rmt/0m"&lt;BR /&gt;&lt;BR /&gt;The ??? is intersting. It looks like the hardware path is invalid, which in HP-UX is translated from an instance number into a full hardware path inside the kernel. Try this:&lt;BR /&gt;&lt;BR /&gt;rm -H 12/3.4.5.0&lt;BR /&gt;&lt;BR /&gt;where 12/3.4.5.0 is replaced with the actual hardware path of the tape drive. This will remove the device files as well as the instance number from the kernel's memory.&lt;BR /&gt;&lt;BR /&gt;Now check to see that /dev/rmt/0m is gone too (use lssf /dev/rmt/* to see all the tape devices). If it is still there but all device files assigned to the problem hardware address are gone, you can then remove /dev/rmt/0m by hand (nad any others that weren't removed by rmsf)&lt;BR /&gt;&lt;BR /&gt;Now recreate the device files with:&lt;BR /&gt;&lt;BR /&gt;insf -H 12/3.4.5.0&lt;BR /&gt;&lt;BR /&gt;(again, replace 12/3.4.5.0 with your real hw path) and use lssf again to make sure there are device files assigned to this hardware address. If so, make sure 0m belongs to the hw address too...if it does not exist, you can either create a link between a correct device file and the 0m file, or simply duplicate the device file with mknod using the same major/minor numbers found in an ls -l listing of /dev/rmt/*.&lt;BR /&gt;&lt;BR /&gt;Now try: &lt;BR /&gt;&lt;BR /&gt;mt -t rew&lt;BR /&gt;&lt;BR /&gt;(there must be a tape installed).  If the tape is writable, try:&lt;BR /&gt;&lt;BR /&gt;mt -t status&lt;BR /&gt;&lt;BR /&gt;If these return correctly, tar should work like a champ.</description>
      <pubDate>Thu, 13 Jul 2000 17:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/2430470#M2832</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2000-07-13T17:12:44Z</dc:date>
    </item>
  </channel>
</rss>

