<?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: tape error (5) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549366#M224593</link>
    <description>I've done that a few times!&lt;BR /&gt;&lt;BR /&gt;Tony</description>
    <pubDate>Tue, 24 May 2005 10:34:00 GMT</pubDate>
    <dc:creator>Tony Scully_2</dc:creator>
    <dc:date>2005-05-24T10:34:00Z</dc:date>
    <item>
      <title>Tar: tape error (5)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549360#M224587</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;  I continously receive the follwoing error:&lt;BR /&gt;"Tar: tape error (5)"&lt;BR /&gt;When attempting to extract files from DDS4 tape. &lt;BR /&gt;Command used to place files on tape:&lt;BR /&gt;tar -cvf /dev/rmt/0mn /u00&lt;BR /&gt;&lt;BR /&gt;Command used to extract files from tape:&lt;BR /&gt;tar -xvf /dev/rmt/0m /u00&lt;BR /&gt;&lt;BR /&gt;Pleae advise, I have cleaned the tape drive,&lt;BR /&gt;and checked my cable connections. I will restore different amount of files, each time I try.&lt;BR /&gt;&lt;BR /&gt;Jerry Sims</description>
      <pubDate>Sat, 21 May 2005 18:42:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549360#M224587</guid>
      <dc:creator>Jerry_109</dc:creator>
      <dc:date>2005-05-21T18:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: tape error (5)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549361#M224588</link>
      <description>Could be a bad tape.&lt;BR /&gt;&lt;BR /&gt;Could be a hardware issue with the tape drive itself.&lt;BR /&gt;&lt;BR /&gt;ioscan -fnC tape&lt;BR /&gt;&lt;BR /&gt;Make sure it shows up claimed, It probably is.&lt;BR /&gt;&lt;BR /&gt;try firing up cstm, mstm or xstm and run some diagnostics on the tape device. The hardware may need replacement.&lt;BR /&gt;&lt;BR /&gt;Also, try extracting files off a different tape, to rule out or in a tape problem.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 21 May 2005 21:44:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549361#M224588</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-21T21:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: tape error (5)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549362#M224589</link>
      <description>Hi Jerry&lt;BR /&gt;&lt;BR /&gt;Why don't you use 0mn instead of 0m?&lt;BR /&gt;As you said you can tar the /u00 to the tape so that I recommend use:&lt;BR /&gt;First, rewind the tape:&lt;BR /&gt;mt -f /dev/rmt/0mn -rew&lt;BR /&gt;Then:&lt;BR /&gt;tar -xvf /dev/rmt/0mn /u00&lt;BR /&gt;&lt;BR /&gt;Yes, you should try to restore in a different directory....&lt;BR /&gt;&lt;BR /&gt;Goodluck!&lt;BR /&gt;Regard,&lt;BR /&gt;Hoang Chi Cong</description>
      <pubDate>Sun, 22 May 2005 03:50:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549362#M224589</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-05-22T03:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: tape error (5)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549363#M224590</link>
      <description>Jerry,&lt;BR /&gt;&lt;BR /&gt;Was the data written to the tape from the same server you are trying to restore to?  I think err number 5 is a checksum error, so pretty much a catch all error.  Are you certain that the tar to write the tape suceeded, as Steven mentioned, wel worth trying to write another tape to eliminate the drive itself.&lt;BR /&gt;T</description>
      <pubDate>Sun, 22 May 2005 11:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549363#M224590</guid>
      <dc:creator>Tony Scully_2</dc:creator>
      <dc:date>2005-05-22T11:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: tape error (5)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549364#M224591</link>
      <description>Error 5 is Unix errno 5, which is always a hardware error. For tapes, it means that the tape drive was unable to read the data sucessfully. It means that there is a bad spot on the tape. There isn't much you can do other than using a cleaning tape and trying again. tar has no error recovery mechanism so all files beyond the bad spot are lost. If a different number of files are restored each time and cleaning does not help, it's time to replace the drive.</description>
      <pubDate>Sun, 22 May 2005 21:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549364#M224591</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-05-22T21:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: tape error (5)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549365#M224592</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;  Thanks for all the information. I found the problem, I forgot to put my terminator&lt;BR /&gt;on. tar extraction works fine.</description>
      <pubDate>Tue, 24 May 2005 09:46:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549365#M224592</guid>
      <dc:creator>Jerry_109</dc:creator>
      <dc:date>2005-05-24T09:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: tape error (5)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549366#M224593</link>
      <description>I've done that a few times!&lt;BR /&gt;&lt;BR /&gt;Tony</description>
      <pubDate>Tue, 24 May 2005 10:34:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-tape-error-5/m-p/3549366#M224593</guid>
      <dc:creator>Tony Scully_2</dc:creator>
      <dc:date>2005-05-24T10:34:00Z</dc:date>
    </item>
  </channel>
</rss>

