<?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 Errors on HP-UX11 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671966#M916463</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you need to read the content, you can use the pax command too:&lt;BR /&gt;&lt;BR /&gt;# mt -t /dev/rmt/3m ( rewinding tape)&lt;BR /&gt;# pax -r -f /dev/rmt/3m&lt;BR /&gt;&lt;BR /&gt;Also make sure that the media is good, the command used for backing up data and the device file you are using are right.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
    <pubDate>Tue, 26 Feb 2002 21:16:35 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2002-02-26T21:16:35Z</dc:date>
    <item>
      <title>Tar Errors on HP-UX11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671964#M916460</link>
      <description>Hi&lt;BR /&gt;   I am trying to view the contents of tape on HP-UX B.11.00 operating system. When i give the command tar -tvf /dev/rmt/3m, i am getting the errors called Tar: Tape blocksize error and Directory checksum errors. Can you suggest me how can i overcome this problem.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Prathap.</description>
      <pubDate>Tue, 26 Feb 2002 21:07:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671964#M916460</guid>
      <dc:creator>Prathap_1</dc:creator>
      <dc:date>2002-02-26T21:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Tar Errors on HP-UX11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671965#M916462</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Check this out:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=da426de6068d9007be/screen=ckiDisplayDocument?docId=200000007948507" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=da426de6068d9007be/screen=ckiDisplayDocument?docId=200000007948507&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Feb 2002 21:11:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671965#M916462</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-02-26T21:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Tar Errors on HP-UX11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671966#M916463</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you need to read the content, you can use the pax command too:&lt;BR /&gt;&lt;BR /&gt;# mt -t /dev/rmt/3m ( rewinding tape)&lt;BR /&gt;# pax -r -f /dev/rmt/3m&lt;BR /&gt;&lt;BR /&gt;Also make sure that the media is good, the command used for backing up data and the device file you are using are right.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Tue, 26 Feb 2002 21:16:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671966#M916463</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-02-26T21:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Tar Errors on HP-UX11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671967#M916464</link>
      <description>Hi&lt;BR /&gt; Thanks for the info. In addition to my previous question, How can i get the blocksize used while taking the backups. I don't know the blocksize used while taking the backups, then how can i read the contents of the tape without using the blocksize.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Prathap</description>
      <pubDate>Tue, 26 Feb 2002 21:58:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671967#M916464</guid>
      <dc:creator>Prathap_1</dc:creator>
      <dc:date>2002-02-26T21:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Tar Errors on HP-UX11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671968#M916465</link>
      <description>Hi Prathap,&lt;BR /&gt;&lt;BR /&gt;Check this out:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=4cccc49719218419d2/screen=ckiDisplayDocument?docId=200000024644822" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=4cccc49719218419d2/screen=ckiDisplayDocument?docId=200000024644822&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Feb 2002 23:59:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671968#M916465</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-02-26T23:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Tar Errors on HP-UX11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671969#M916466</link>
      <description>I can not view Shiju's link, so I do not know if that already answered this question:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; How can i get the blocksize used while taking the backups? I don't know the blocksize used while taking the backups, then how can i read the contents of the tape without using the blocksize?&lt;BR /&gt;&lt;BR /&gt;You can get the blocksize by doing:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/3m of=/tmp/record bs=64k count=1&lt;BR /&gt;ll /tmp/record&lt;BR /&gt;&lt;BR /&gt;The size of the /tmp/record file is the blocksize (in bytes). I.e. the above dd(1) command reads one record with a *maximum* size of 64KByte and returns the *actual* record. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Feb 2002 15:26:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671969#M916466</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-02-27T15:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Tar Errors on HP-UX11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671970#M916468</link>
      <description>Frank,&lt;BR /&gt;&lt;BR /&gt;This is the link:&lt;BR /&gt;&lt;BR /&gt;Problem Description&lt;BR /&gt;&lt;BR /&gt;I would like to retrieve data from some tapes, but I can't read&lt;BR /&gt;them. They were written in tar format, but tar returns a directory&lt;BR /&gt;checksum error. Is there anything I can do?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Solution&lt;BR /&gt;&lt;BR /&gt;To retrieve data from tapes, execute the following procedure:&lt;BR /&gt;&lt;BR /&gt;1. Put tape in DDS drive.&lt;BR /&gt;&lt;BR /&gt;2. Execute the following:&lt;BR /&gt;&lt;BR /&gt;     dd if=/dev/rmt/&lt;DRIVE&gt; of=/tmp/tapetest bs=1K count=2&lt;BR /&gt;&lt;BR /&gt;3. To determine the file type do:&lt;BR /&gt;&lt;BR /&gt;     file /tmp/tapetest&lt;BR /&gt;&lt;BR /&gt;The file command returns the answer that this is a cpio archive.&lt;BR /&gt;&lt;BR /&gt;4. In order too read the cpio archive without recovering the data,&lt;BR /&gt;complete the following:&lt;BR /&gt;&lt;BR /&gt;     /bin/cpio -ictvB &amp;lt; /dev/rmt/&lt;DEVICE&gt;&lt;BR /&gt;&lt;BR /&gt;The B option may or may not be needed dependent on what command&lt;BR /&gt;was used to store the data in the first place.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju&lt;BR /&gt;&lt;BR /&gt;&lt;/DEVICE&gt;&lt;/DRIVE&gt;</description>
      <pubDate>Wed, 27 Feb 2002 15:29:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671970#M916468</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-02-27T15:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Tar Errors on HP-UX11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671971#M916470</link>
      <description>Shiju,&lt;BR /&gt;&lt;BR /&gt;Good point! Perhaps the tape is not a tar tape, but a cpio or other tape. The file(1) command in your example should reveal if it is a tar tape, a cpio tape or something else. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Feb 2002 16:00:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-errors-on-hp-ux11/m-p/2671971#M916470</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-02-27T16:00:35Z</dc:date>
    </item>
  </channel>
</rss>

