<?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 Archive error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489961#M801199</link>
    <description>I archived some files to a tape with the &lt;BR /&gt;tar -cvf /dev/rmt/0m  *.*  &lt;BR /&gt;&lt;BR /&gt;When i check the archive with &lt;BR /&gt;tar -tvf /dev/rmt/0m   &lt;BR /&gt;it gives the following error:&lt;BR /&gt;&lt;BR /&gt;Tar: blocksize = 2&lt;BR /&gt;directory checksum error&lt;BR /&gt;&lt;BR /&gt;I appreciate if someone could explain the &lt;BR /&gt;cause of this error.  Thanks.</description>
    <pubDate>Mon, 05 Feb 2001 21:56:38 GMT</pubDate>
    <dc:creator>Milan Muralidharan</dc:creator>
    <dc:date>2001-02-05T21:56:38Z</dc:date>
    <item>
      <title>Archive error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489961#M801199</link>
      <description>I archived some files to a tape with the &lt;BR /&gt;tar -cvf /dev/rmt/0m  *.*  &lt;BR /&gt;&lt;BR /&gt;When i check the archive with &lt;BR /&gt;tar -tvf /dev/rmt/0m   &lt;BR /&gt;it gives the following error:&lt;BR /&gt;&lt;BR /&gt;Tar: blocksize = 2&lt;BR /&gt;directory checksum error&lt;BR /&gt;&lt;BR /&gt;I appreciate if someone could explain the &lt;BR /&gt;cause of this error.  Thanks.</description>
      <pubDate>Mon, 05 Feb 2001 21:56:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489961#M801199</guid>
      <dc:creator>Milan Muralidharan</dc:creator>
      <dc:date>2001-02-05T21:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Archive error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489962#M801200</link>
      <description>I normally get the error when I am using a bad tape.&lt;BR /&gt;&lt;BR /&gt;Things to try.&lt;BR /&gt;&lt;BR /&gt;1.  Try a different tape.&lt;BR /&gt;2.  clean the drive.</description>
      <pubDate>Mon, 05 Feb 2001 22:22:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489962#M801200</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2001-02-05T22:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Archive error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489963#M801201</link>
      <description>&lt;BR /&gt;do:&lt;BR /&gt;&lt;BR /&gt;mt -t /dev/rmt/0m rew&lt;BR /&gt;dd if=/dev/rmt/0mn of=/tmp/f1 bs=10k count=10&lt;BR /&gt;&lt;BR /&gt;file /tmp/f1&lt;BR /&gt;&lt;BR /&gt;This will show how format of archived have you used.&lt;BR /&gt;&lt;BR /&gt;Also you will try tar or cpio with f1.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Feb 2001 10:04:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489963#M801201</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-02-06T10:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Archive error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489964#M801202</link>
      <description>Milan,&lt;BR /&gt;&lt;BR /&gt;Here are the full detailed list of tar exit codes:&lt;BR /&gt;&lt;BR /&gt;Code   | Explanation&lt;BR /&gt;---------------&lt;BR /&gt;&lt;BR /&gt;exit(0)  |   no error and no warning&lt;BR /&gt;&lt;BR /&gt;exit(1)  | tar: cannot create temporary file (%s)&lt;BR /&gt;           |      Invalid blocksize. (Max %d)&lt;BR /&gt;           | tar: blocksize %d too big, can't get memory&lt;BR /&gt;           | tar: Invalid or non-existent device file %s&lt;BR /&gt;           |      Can only create standard output archives&lt;BR /&gt;           | tar: cannot open %s&lt;BR /&gt;           | tar: option not supported for this device %s&lt;BR /&gt;           | tar: cannot write to %s: write protected&lt;BR /&gt;           | tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]]..&lt;BR /&gt;           |      Attempt to create archive of no files. Nothing dumped.&lt;BR /&gt;           | tar: cannot preserve extent attributes for %s. aborting...&lt;BR /&gt;           | tar: cannot create temporary file (%s)&lt;BR /&gt;           |      Invalid blocksize. (Max %d)&lt;BR /&gt;           | tar: blocksize %d too big, can't get memory&lt;BR /&gt;           | tar: Invalid or non-existent device file %s&lt;BR /&gt;           |      Can only create standard output archives&lt;BR /&gt;exit(2)  | directory checksum error&lt;BR /&gt;           | tar: %s: HELP - extract write error&lt;BR /&gt;           | tar: Cannot close %s&lt;BR /&gt;           | tar: tape write error&lt;BR /&gt;&lt;BR /&gt;exit(3)  | tar: tape read error&lt;BR /&gt;           | tar: tape blocksize error&lt;BR /&gt;           | tar: blocksize = 0; broken pipe?&lt;BR /&gt;           | tar: error! blocksize changed&lt;BR /&gt;&lt;BR /&gt;exit(4)  | tar: tape backspace error&lt;BR /&gt;           | tar: ioctl to write filemarks failed (%d). aborting...&lt;BR /&gt;           | tar: ioctl to determine device online failed. aborting...&lt;BR /&gt;&lt;BR /&gt;exit(5)  | tar: %s: pathname too long&lt;BR /&gt;           | tar: Cannot change directory to '%s'&lt;BR /&gt;           | tar: Path '%s' skipped&lt;BR /&gt;           | tar: cannot open %s Missing links to %s&lt;BR /&gt;           | tar: %s: cannot access file&lt;BR /&gt;           | tar: Out of memory. Cannot detect symbolic link loops&lt;BR /&gt;           | tar: Loop of symbolic links detected, tar terminated&lt;BR /&gt;           | tar: cannot stat %s.  Not dumped.&lt;BR /&gt;           | tar: Size of %s &amp;gt; %s.  Not dumped.&lt;BR /&gt;           | tar: %s: directory read error&lt;BR /&gt;           | tar: %s: directory read error&lt;BR /&gt;           | tar: %s: symbolic link too long&lt;BR /&gt;           | tar: can't read symbolic link&lt;BR /&gt;           | tar: %s: cannot open file&lt;BR /&gt;           | tar: %s: link to name too long&lt;BR /&gt;           |      Out of memory. Link information lost&lt;BR /&gt;           |      %s: file changed size&lt;BR /&gt;           | tar: %s is not a file. Not dumped.&lt;BR /&gt;           | tar: %s: symbolic link failed %s: cannot link&lt;BR /&gt;           | tar: %s couldn't create character device&lt;BR /&gt;           | tar: %s couldn't create block device&lt;BR /&gt;           | tar: %s couldn't create fifo&lt;BR /&gt;           | tar: %s couldn't create directory&lt;BR /&gt;           | tar: %s couldn't create directory&lt;BR /&gt;           | tar: %s - cannot create&lt;BR /&gt;           | tar: chmod failed&lt;BR /&gt;           | tar: chown failed&lt;BR /&gt;           | tar: couldn't get uname for uid %d&lt;BR /&gt;           | tar: couldn't get gname for gid %d&lt;BR /&gt;           | tar: pwd failed&lt;BR /&gt;           | tar: %s: pathname too long&lt;BR /&gt;           | tar: %s: prefix too long&lt;BR /&gt;           | tar: %s: file name too long %s: file name too long&lt;BR /&gt;&lt;BR /&gt;Note that errcode 5 is considered as non-fatal, and thus can be treated separately (or ignored) in your backup scripts.&lt;BR /&gt;&lt;BR /&gt;I hope this helps.&lt;BR /&gt;&lt;BR /&gt;Best regards.&lt;BR /&gt;&lt;BR /&gt;Fred.</description>
      <pubDate>Tue, 06 Feb 2001 12:17:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489964#M801202</guid>
      <dc:creator>Frederic Soriano</dc:creator>
      <dc:date>2001-02-06T12:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Archive error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489965#M801203</link>
      <description>Carlos,&lt;BR /&gt;      In the /tmp/f1 file following message appeared:&lt;BR /&gt;$ANSII standard label not yet implemented&lt;BR /&gt;&lt;BR /&gt;Does it specify any formatting correction? &lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 06 Feb 2001 15:48:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489965#M801203</guid>
      <dc:creator>Milan Muralidharan</dc:creator>
      <dc:date>2001-02-06T15:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Archive error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489966#M801204</link>
      <description>I have found similar mesages a lot of time ago.&lt;BR /&gt;&lt;BR /&gt;In this case the response from driver delay for minutes?&lt;BR /&gt;&lt;BR /&gt;Some tapes seems to be damaged even if  they are news.&lt;BR /&gt;&lt;BR /&gt;Use a cleanning tape and retry w/ other old or new tape.</description>
      <pubDate>Tue, 06 Feb 2001 16:21:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489966#M801204</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-02-06T16:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Archive error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489967#M801205</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I wonder if the problem may be with your command itself:&lt;BR /&gt;&lt;BR /&gt;tar -cvf /dev/rmt/0m *.*&lt;BR /&gt;&lt;BR /&gt;The pattern *.* on the Unix command line has a different meaning than on DOS.  Remember that on Unix, a period in a file's name has no special meaning (unless it is the first character, which make the file a hidden file).  Thus, *.* will only find files that have a period as part of the name and not all files.&lt;BR /&gt;&lt;BR /&gt;To tar up all files in the current directory, just use the period:&lt;BR /&gt;&lt;BR /&gt;tar -cvf /dev/rmt/0m .&lt;BR /&gt;&lt;BR /&gt;The period means "current directory", which will get all of your files.  Alternatively, you can use * instead of . but that won't get your hidden files.&lt;BR /&gt;&lt;BR /&gt;--Bruce</description>
      <pubDate>Wed, 07 Feb 2001 03:03:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/archive-error/m-p/2489967#M801205</guid>
      <dc:creator>Bruce Regittko_1</dc:creator>
      <dc:date>2001-02-07T03:03:36Z</dc:date>
    </item>
  </channel>
</rss>

