<?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 Face untar problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203833#M792722</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have encountered the problem about untar the tape in HP-UX 11.00 machine. The status of driver and tape are:&lt;BR /&gt;&lt;BR /&gt;Drive:  HP C1537A&lt;BR /&gt;Format: DDS-2 format&lt;BR /&gt;&lt;BR /&gt;I extract it via unix command:&lt;BR /&gt;&amp;gt; tar tv /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;and then it shows the following errors&lt;BR /&gt;Tar: blocksize = 2&lt;BR /&gt;directory checksum error&lt;BR /&gt;&lt;BR /&gt;Any suggestions welcome&lt;BR /&gt;&lt;BR /&gt;Alex</description>
    <pubDate>Thu, 26 Feb 2004 21:26:00 GMT</pubDate>
    <dc:creator>Achilles_2</dc:creator>
    <dc:date>2004-02-26T21:26:00Z</dc:date>
    <item>
      <title>Face untar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203833#M792722</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have encountered the problem about untar the tape in HP-UX 11.00 machine. The status of driver and tape are:&lt;BR /&gt;&lt;BR /&gt;Drive:  HP C1537A&lt;BR /&gt;Format: DDS-2 format&lt;BR /&gt;&lt;BR /&gt;I extract it via unix command:&lt;BR /&gt;&amp;gt; tar tv /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;and then it shows the following errors&lt;BR /&gt;Tar: blocksize = 2&lt;BR /&gt;directory checksum error&lt;BR /&gt;&lt;BR /&gt;Any suggestions welcome&lt;BR /&gt;&lt;BR /&gt;Alex</description>
      <pubDate>Thu, 26 Feb 2004 21:26:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203833#M792722</guid>
      <dc:creator>Achilles_2</dc:creator>
      <dc:date>2004-02-26T21:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Face untar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203834#M792723</link>
      <description>That error could be several things.&lt;BR /&gt;&lt;BR /&gt;1) Are you absolutely positive that the tape was created with tar?  If it wasn't tar will NOT work to extract the files.&lt;BR /&gt;&lt;BR /&gt;2) The tape could have gone bad.  Can you read other tapes?  Have you tried running a cleaning cartridge through the drive?&lt;BR /&gt;&lt;BR /&gt;3) The tape was create with a different block size than the default.  Can you talk to the person that created it?&lt;BR /&gt;&lt;BR /&gt;4) Was it created with tar on a different type of Unix system?  Was it created with Gnu tar rather than the normal HP-UX tar?&lt;BR /&gt;&lt;BR /&gt;At this point we don't have a whole lot to go on.</description>
      <pubDate>Thu, 26 Feb 2004 21:53:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203834#M792723</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-02-26T21:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Face untar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203835#M792724</link>
      <description>I would add&lt;BR /&gt;&lt;BR /&gt;First check which backup format the tape is,&lt;BR /&gt;&lt;BR /&gt;#dd if=/dev/rmt/0m of=/tmp/tapeformat bs=1K count=2&lt;BR /&gt;&lt;BR /&gt;Now  check that file as which backup format is that.&lt;BR /&gt;&lt;BR /&gt;Then you can proceed.</description>
      <pubDate>Thu, 26 Feb 2004 22:12:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203835#M792724</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-02-26T22:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Face untar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203836#M792725</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I checked that the tape is created using "make_tape_recovery" method and created under HP-UX 11.0. It is the same as my machine. &lt;BR /&gt;&lt;BR /&gt;How to able to read its content and extract some files on the tape. &lt;BR /&gt;&lt;BR /&gt;Thanks you for your help.&lt;BR /&gt;&lt;BR /&gt;Alex</description>
      <pubDate>Thu, 26 Feb 2004 22:28:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203836#M792725</guid>
      <dc:creator>Achilles_2</dc:creator>
      <dc:date>2004-02-26T22:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Face untar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203837#M792726</link>
      <description>Then do a&lt;BR /&gt;&lt;BR /&gt;#mt -f /dev/rmt/0mn fsf 1&lt;BR /&gt;#tar tvf /dev/rmt/0mn /etc/passwd&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Feb 2004 22:40:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203837#M792726</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-02-26T22:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Face untar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203838#M792727</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Try using:&lt;BR /&gt;&lt;BR /&gt;# mt -t /dev/rmt/0mn fsf 1&lt;BR /&gt;# tar xvf /dev/rmt/0mn &lt;FILENAME&gt;&lt;BR /&gt;&lt;BR /&gt;man make_tape_recovery has details on extracting single files from the tape archive.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;/FILENAME&gt;</description>
      <pubDate>Thu, 26 Feb 2004 22:42:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203838#M792727</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2004-02-26T22:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Face untar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203839#M792728</link>
      <description>Alex,&lt;BR /&gt;&lt;BR /&gt;for your information: a recovery tape consists of 2 'files' on the tape. The first is a bootable part, the second is a tar archive. That's why you need to skip forward 1 'file' before using tar (from the no-rewind device).&lt;BR /&gt;&lt;BR /&gt;JP.</description>
      <pubDate>Fri, 27 Feb 2004 01:27:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203839#M792728</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-02-27T01:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Face untar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203840#M792729</link>
      <description>JP,&lt;BR /&gt;&lt;BR /&gt;I try but it still display an error:&lt;BR /&gt;&lt;BR /&gt;root@hkdev:/ #  mt -f /dev/rmt/0mn rew &lt;BR /&gt;root@hkdev:/ # mt -f /dev/rmt/0mn fsf 2&lt;BR /&gt;root@hkdev:/ # tar tvf /dev/rmt/0m&lt;BR /&gt;directory checksum error&lt;BR /&gt;&lt;BR /&gt;Alex&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Feb 2004 01:54:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203840#M792729</guid>
      <dc:creator>Achilles_2</dc:creator>
      <dc:date>2004-02-27T01:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Face untar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203841#M792730</link>
      <description>&amp;gt;root@hkdev:/ # mt -f /dev/rmt/0mn rew &lt;BR /&gt;&amp;gt;root@hkdev:/ # mt -f /dev/rmt/0mn fsf 2&lt;BR /&gt;&amp;gt;root@hkdev:/ # tar tvf /dev/rmt/0m&lt;BR /&gt;&amp;gt;directory checksum error&lt;BR /&gt;&lt;BR /&gt;Could you try the commands you were instructed to use (1 != 2) by Con and TG:&lt;BR /&gt;&lt;BR /&gt;mt -f /dev/rmt/0mn fsf 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;BR Kari&lt;BR /&gt;</description>
      <pubDate>Sat, 28 Feb 2004 04:54:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203841#M792730</guid>
      <dc:creator>Kari Pannila</dc:creator>
      <dc:date>2004-02-28T04:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Face untar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203842#M792731</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;since tar does recognize it as archive, it must be a bad tape. Have you tried on another machine?&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Sat, 28 Feb 2004 09:51:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203842#M792731</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-02-28T09:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Face untar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203843#M792732</link>
      <description>According to &lt;A href="http://amor.cms.hu-berlin.de/~h0444idm/pub/sun/sun-trap3e" target="_blank"&gt;http://amor.cms.hu-berlin.de/~h0444idm/pub/sun/sun-trap3e&lt;/A&gt;  ;&lt;BR /&gt;&lt;BR /&gt;tar: directory checksum error&lt;BR /&gt;&lt;BR /&gt;  Cause&lt;BR /&gt;  &lt;BR /&gt;   This error message from tar(1) indicates that the checksum of the directory and the files it has read from tape does not match the checksum advertised in the header block. Usually this indicates the wrong blocking factor, although it could indicate corrupt data on tape.&lt;BR /&gt;&lt;BR /&gt;   Action&lt;BR /&gt;  &lt;BR /&gt;   To resolve this problem, make certain that the blocking factor you specify on the command line (after -b) matches the blocking factor originally specified. If in doubt, leave out the block size and let tar(1) determine it automatically. If that doesn't help, tape data could be corrupted.&lt;BR /&gt;   &lt;BR /&gt;&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;Are you using the recommended GNUtar, or standard tar?&lt;BR /&gt;&lt;BR /&gt;Download GNU tar, run "configure", "make", then "make install" ;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://alpha.gnu.org/gnu/tar/tar-1.13.93.tar.gz" target="_blank"&gt;ftp://alpha.gnu.org/gnu/tar/tar-1.13.93.tar.gz&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 28 Feb 2004 16:22:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203843#M792732</guid>
      <dc:creator>Lethuillier</dc:creator>
      <dc:date>2004-02-28T16:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Face untar problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203844#M792733</link>
      <description>Alex,&lt;BR /&gt;&lt;BR /&gt;as Kari says: you must do mt fsf 1 (one).&lt;BR /&gt;NOT 2 (two). You must skip (forward) one file, which is the bootable one. Then the tape is positioned just before the tar archive.&lt;BR /&gt;&lt;BR /&gt;JP.</description>
      <pubDate>Mon, 01 Mar 2004 03:27:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/face-untar-problem/m-p/3203844#M792733</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-03-01T03:27:58Z</dc:date>
    </item>
  </channel>
</rss>

