<?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/5092114#M442553</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Looks like I found the reason for the errors, simple really.  The tape operator inserted a tape that was write protected, and I just 'assumed' that it would be writable:&lt;BR /&gt;&lt;BR /&gt;# mt -t /dev/rmt/0m status&lt;BR /&gt;Drive:  HP Ultrium 2-SCSI&lt;BR /&gt;Format:&lt;BR /&gt;Status: [45114200] BOT write-protected online compression immediate-report-mode&lt;BR /&gt;File:   0&lt;BR /&gt;Block:  0&lt;BR /&gt;&lt;BR /&gt;That's all it was.  Will change write-protect tab and it should work after that.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Tue, 12 Feb 2008 02:57:56 GMT</pubDate>
    <dc:creator>Team Leader UNIX DBA</dc:creator>
    <dc:date>2008-02-12T02:57:56Z</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/5092111#M442550</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I am having trouble with a tape drive and was wondering if anyone might have some ideas.&lt;BR /&gt;&lt;BR /&gt;when I execute a tar (or cpio or dd) I get an error:&lt;BR /&gt;# tar cvf /dev/rmt/0m /prd_db1/oracle/prd&lt;BR /&gt;tar: cannot open /dev/rmt/0m&lt;BR /&gt;dd returns&lt;BR /&gt;/dev/rmt/0m: Permission denied&lt;BR /&gt;and cpio returns:&lt;BR /&gt;cannot write in &lt;BR /&gt;&lt;BR /&gt;I have already checked ioscan, the device is claimed:&lt;BR /&gt;# ioscan -funC 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/1/1/1.1.0  stape CLAIMED     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;&lt;BR /&gt;&lt;BR /&gt;I tried an &lt;BR /&gt;# rmsf -H 0/1/1/1.1.0&lt;BR /&gt;# insf -H 0/1/1/1.1.0&lt;BR /&gt;&lt;BR /&gt;But this didn't fix the issue.&lt;BR /&gt;&lt;BR /&gt;Also, there is a Data Protector 5.5 media agent on this server.  I have checked that Data Protector is able to read and write to tapes in this device, which is strange since no other command works.  I have disabled the device in DP, but even after doing that, none of the tar, dd or cpio commands work on the device.&lt;BR /&gt;&lt;BR /&gt;I have also tried using /dev/rmt/0mn instead, but no change, that didn't work either.&lt;BR /&gt;&lt;BR /&gt;Does anyone have any other ideas to fix this problem?&lt;BR /&gt;&lt;BR /&gt;Thanks all!&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Feb 2008 01:35:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/5092111#M442550</guid>
      <dc:creator>Team Leader UNIX DBA</dc:creator>
      <dc:date>2008-02-12T01:35:08Z</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/5092112#M442551</link>
      <description>Also, I don't know if this helps... &lt;BR /&gt;&lt;BR /&gt;# mt -t /dev/rmt/0m fsf 1&lt;BR /&gt;fsf 1 failed: I/O error</description>
      <pubDate>Tue, 12 Feb 2008 01:52:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/5092112#M442551</guid>
      <dc:creator>Team Leader UNIX DBA</dc:creator>
      <dc:date>2008-02-12T01:52:39Z</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/5092113#M442552</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;did u check on the tape media? write protect? or replace a new tape for testing.....&lt;BR /&gt;&lt;BR /&gt;GOOD LUCK!!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Feb 2008 02:21:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/5092113#M442552</guid>
      <dc:creator>Warren_9</dc:creator>
      <dc:date>2008-02-12T02:21:46Z</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/5092114#M442553</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Looks like I found the reason for the errors, simple really.  The tape operator inserted a tape that was write protected, and I just 'assumed' that it would be writable:&lt;BR /&gt;&lt;BR /&gt;# mt -t /dev/rmt/0m status&lt;BR /&gt;Drive:  HP Ultrium 2-SCSI&lt;BR /&gt;Format:&lt;BR /&gt;Status: [45114200] BOT write-protected online compression immediate-report-mode&lt;BR /&gt;File:   0&lt;BR /&gt;Block:  0&lt;BR /&gt;&lt;BR /&gt;That's all it was.  Will change write-protect tab and it should work after that.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 12 Feb 2008 02:57:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/5092114#M442553</guid>
      <dc:creator>Team Leader UNIX DBA</dc:creator>
      <dc:date>2008-02-12T02:57:56Z</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/5092115#M442554</link>
      <description>/dev/rmt/0m: Permission denied&lt;BR /&gt;&lt;BR /&gt;Do you have permission to open the device?&lt;BR /&gt;$ ll /dev/rmt/0m</description>
      <pubDate>Tue, 12 Feb 2008 02:59:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/5092115#M442554</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-02-12T02:59:51Z</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/5092116#M442555</link>
      <description>see above</description>
      <pubDate>Tue, 12 Feb 2008 06:55:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-cannot-open-dev-rmt-0m/m-p/5092116#M442555</guid>
      <dc:creator>Team Leader UNIX DBA</dc:creator>
      <dc:date>2008-02-12T06:55:55Z</dc:date>
    </item>
  </channel>
</rss>

