<?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 ERROR in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error/m-p/3152195#M157765</link>
    <description>It could be a tape device problem (different densities?)&lt;BR /&gt;&lt;BR /&gt;try changing the blocksize to -b 20 in your command line.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 24 Dec 2003 11:40:36 GMT</pubDate>
    <dc:creator>Judy Traynor</dc:creator>
    <dc:date>2003-12-24T11:40:36Z</dc:date>
    <item>
      <title>TAR ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error/m-p/3152194#M157764</link>
      <description>OK, I thought I knew tar by now.&lt;BR /&gt;&lt;BR /&gt;I have to tar up a .depot file from one box (to Tape) and extract it on another. Cant ftp because of different network. I ran "tar -cvf /dev/rmt/0m 'filename'.&lt;BR /&gt;&lt;BR /&gt;Then on the target:&lt;BR /&gt;&lt;BR /&gt;tar -xvf /dev/rmt/0m .&lt;BR /&gt;&lt;BR /&gt;I get the following error:&lt;BR /&gt;&lt;BR /&gt;tar blocksize = 2&lt;BR /&gt;directory checksum error.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is this a mismatch with tar versions?</description>
      <pubDate>Wed, 24 Dec 2003 11:30:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-error/m-p/3152194#M157764</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2003-12-24T11:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: TAR ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error/m-p/3152195#M157765</link>
      <description>It could be a tape device problem (different densities?)&lt;BR /&gt;&lt;BR /&gt;try changing the blocksize to -b 20 in your command line.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Dec 2003 11:40:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-error/m-p/3152195#M157765</guid>
      <dc:creator>Judy Traynor</dc:creator>
      <dc:date>2003-12-24T11:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: TAR ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error/m-p/3152196#M157766</link>
      <description>tar version mismatch can cause this.&lt;BR /&gt;&lt;BR /&gt;Also if the directory struture is changing during extraction or isn't consistent between the two machines these things can happen.&lt;BR /&gt;&lt;BR /&gt;I always try to tar and extract at the same relative location to root to prevent this from happening.&lt;BR /&gt;&lt;BR /&gt;Its also possible that the tar file itself is corrupt and you need to tar it again.&lt;BR /&gt;&lt;BR /&gt;tar tvf /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;What does that do? Follow the respnse, perhaps try tvf on a different system.&lt;BR /&gt;&lt;BR /&gt;Tape drive problems can definitely cause this Robert.&lt;BR /&gt;&lt;BR /&gt;Hope you are well.&lt;BR /&gt;&lt;BR /&gt;Have a good day.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 24 Dec 2003 12:32:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-error/m-p/3152196#M157766</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-12-24T12:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: TAR ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error/m-p/3152197#M157767</link>
      <description>Are these both HP-UX systems? As mentioned, tar is far too primitive to understand different blocksizes. If the target machine is HP-UX, you can use pax to extract the files from tar as pax understands blocksizes. If they are both HP-UX, use fbackup. It's more reliable.</description>
      <pubDate>Wed, 24 Dec 2003 20:13:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-error/m-p/3152197#M157767</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-12-24T20:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: TAR ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error/m-p/3152198#M157768</link>
      <description>I would find a middle man ftp server to avoid the tape crapola. &lt;BR /&gt;&lt;BR /&gt;I use a little 3com daemon on my PC to move files from inside our firewall to a web server in our DMZ rather then eff with a tape. &lt;BR /&gt;&lt;BR /&gt;I would also use fbackup to backup the file, &lt;BR /&gt;&lt;BR /&gt;fbackup is much more portable between HP/UX systems.. &lt;BR /&gt;&lt;BR /&gt;fbackup -f /dev/rmt/0m -d /pathtofile/filename &lt;BR /&gt;&lt;BR /&gt;then restore when frecover &lt;BR /&gt;&lt;BR /&gt;frecover -xFvi filename -f /dev/rmt/0m &lt;BR /&gt;from the tape.. &lt;BR /&gt;&lt;BR /&gt;Just a thought IF you must use a tape. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Dec 2003 09:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-error/m-p/3152198#M157768</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2003-12-29T09:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: TAR ERROR</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-error/m-p/3152199#M157769</link>
      <description>Make sure your tape is rewinded before writing the tar to it:&lt;BR /&gt;# mt -t /dev/rmt/0mn rewind&lt;BR /&gt;&lt;BR /&gt;Then write your data (with specified block size to rule out any problems related to that):&lt;BR /&gt;# tar cvbf 20 /dev/rmt/0m 'yourfiles'&lt;BR /&gt;&lt;BR /&gt;Test the tape on the machine it was written&lt;BR /&gt;# tar tvf /dev/rmt/0m&lt;BR /&gt;(It should report blocksize=20, otherwise you could specify it again)&lt;BR /&gt;&lt;BR /&gt;On the other machine, you can test the tape again, or start restoring immediately:&lt;BR /&gt;# tar xvbf 20 /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;Also make sure you don't accidentally use the wrong tapedrive. I've had that problem too, with tapedrives hidden in the 19" racks, out of sight... You can test it by unloading/ejecting the tape from the command line:&lt;BR /&gt;# mt -t /dev/rmt/0mn offl</description>
      <pubDate>Tue, 30 Dec 2003 02:03:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-error/m-p/3152199#M157769</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-12-30T02:03:38Z</dc:date>
    </item>
  </channel>
</rss>

