<?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: Reading tar archive from Ignite tape fails with checksum error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369966#M347191</link>
    <description>The file is gzip'd...</description>
    <pubDate>Tue, 03 Mar 2009 17:29:16 GMT</pubDate>
    <dc:creator>Paul F. Bennett</dc:creator>
    <dc:date>2009-03-03T17:29:16Z</dc:date>
    <item>
      <title>Reading tar archive from Ignite tape fails with checksum error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369958#M347183</link>
      <description>I’m attempting to create an Ignite make_recovery_tape from an Ignite Network Archive. I follow the exact step outlined by several docs I have found, in which they all pretty much give the same steps. Everything appears to run find until I try to read the tar’d archive. &lt;BR /&gt;&lt;BR /&gt;I create the LIF header on the tape:&lt;BR /&gt;# /usr/bin/dd if=/var/tmp/my_lif of=/dev/rmt/c4t1d0DDS1n obs=2k&lt;BR /&gt;&lt;BR /&gt;I tar the archive to the tape: &lt;BR /&gt;# /usr/bin/dd if=/var/opt/ignite/recovery/archives/ftuxtest/2009-02-27,02:13 of=/dev/rmt/c4t1d0DDS1n obs=10k&lt;BR /&gt;&lt;BR /&gt;But when I attempt the read the tar archive is get the following error:&lt;BR /&gt;# /usr/bin/mt -t /dev/rmt/0mn fsf 1&lt;BR /&gt;# /usr/bin/tar tvf /dev/rmt/0m&lt;BR /&gt;directory checksum error  &lt;BR /&gt;&lt;BR /&gt;Base on the time it takes for the dd to complete it appears the archive is being copied but I cant read it. Below are the steps I take to create the LIF and tar archive before I write to the tape. &lt;BR /&gt;&lt;BR /&gt;I know this is a lot but any thought?&lt;BR /&gt;&lt;BR /&gt;CREATE A BOOTABLE TAPE WITH make_net_recovery:&lt;BR /&gt;&lt;BR /&gt;1. Use make_medialif to build the LIF file:&lt;BR /&gt;&lt;BR /&gt;      a. cd /var/opt/ignite/clients/sys1/recovery/1999-03-12,09:00&lt;BR /&gt;&lt;BR /&gt;      b. /opt/ignite/bin/make_medialif \&lt;BR /&gt;         -f system_cfg -f control_cfg -f archive_cfg \&lt;BR /&gt;         -C "1999-03-12,09:00 sys1 recovery image" \&lt;BR /&gt;         -l /var/tmp/my_lif \&lt;BR /&gt;         &amp;lt;-r and -o options&amp;gt;&lt;BR /&gt;&lt;BR /&gt;   2. Modify the LIF file to set it up for use on the tape:&lt;BR /&gt;&lt;BR /&gt;      /opt/ignite/bin/instl_adm -d -F /var/tmp/my_lif &amp;gt; /var/tmp/cfg&lt;BR /&gt;&lt;BR /&gt;   3. Edit the /var/tmp/cfg file and add the following lines to the&lt;BR /&gt;      end of the file:&lt;BR /&gt;&lt;BR /&gt;            control_from_server=FALSE&lt;BR /&gt;            run_ui=FALSE&lt;BR /&gt;            env_vars += "INST_ALLOW_WARNINGS=10"&lt;BR /&gt;&lt;BR /&gt;    4. Issue this command:&lt;BR /&gt;&lt;BR /&gt;       /opt/ignite/bin/instl_adm -F /var/tmp/my_lif -f /var/tmp/cfg&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Mar 2009 20:27:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369958#M347183</guid>
      <dc:creator>Paul F. Bennett</dc:creator>
      <dc:date>2009-03-02T20:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reading tar archive from Ignite tape fails with checksum error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369959#M347184</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Interesting idea.&lt;BR /&gt;&lt;BR /&gt;It might work better to do a network recovery to a system with a tape drive and then make the ignite tape.&lt;BR /&gt;&lt;BR /&gt;As far as I know make_net_recovery archives are suitable for network recovery and make_tape_recovery archives are suitable for tape recoveries.&lt;BR /&gt;&lt;BR /&gt;I don't think they can be cross matched.&lt;BR /&gt;&lt;BR /&gt;Its like putting AB blood in an O positive patient.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 02 Mar 2009 20:44:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369959#M347184</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-03-02T20:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reading tar archive from Ignite tape fails with checksum error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369960#M347185</link>
      <description>I don't see you tar file from /recovery/1999-03-12,09:00 to tape. You just dd there, therefore this is a file of gz over tar. For this, you need to gunzip it first, the tar -x it.</description>
      <pubDate>Mon, 02 Mar 2009 21:02:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369960#M347185</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2009-03-02T21:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Reading tar archive from Ignite tape fails with checksum error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369961#M347186</link>
      <description>"You just dd there, therefore this is a file of gz over tar. "  &lt;BR /&gt;&lt;BR /&gt;where / how did gzip get in this????</description>
      <pubDate>Mon, 02 Mar 2009 21:36:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369961#M347186</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-03-02T21:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reading tar archive from Ignite tape fails with checksum error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369962#M347187</link>
      <description>The way to read a ignite file is:&lt;BR /&gt;&lt;BR /&gt;gunzip &amp;lt; /var/opt/ignite/clients/sys1/recovery/1999-03-12,09:00 | tar -tf .&lt;BR /&gt;&lt;BR /&gt;as actually it is a gz file.</description>
      <pubDate>Tue, 03 Mar 2009 04:47:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369962#M347187</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2009-03-03T04:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reading tar archive from Ignite tape fails with checksum error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369963#M347188</link>
      <description>shivaji@root/&amp;gt;tar -cvf /tmp/avinash.tar avinash&lt;BR /&gt;a avinash/var/adm/sw/swagent.log 1 blocks&lt;BR /&gt;&lt;BR /&gt;shivaji@root/&amp;gt;tar -tvf /tmp/avinash.tar&lt;BR /&gt;rwxrwxrwx   0/3      0 Feb 16 13:05 2009 avinash/&lt;BR /&gt;rwxr-xr-x   0/3      0 Feb 16 13:05 2009 avinash/var/&lt;BR /&gt;rwxr-xr-x   0/3      0 Feb 16 13:05 2009 avinash/var/adm/&lt;BR /&gt;rwxr-xr-x   0/3      0 Feb 16 13:05 2009 avinash/var/adm/sw/&lt;BR /&gt;rw-r--r--   0/3    234 Feb 16 13:05 2009 avinash/var/adm/sw/swagent.log&lt;BR /&gt;&lt;BR /&gt;shivaji@root/&amp;gt;dd if=/tmp/avinash.tar of=/tmp/avinash_back&lt;BR /&gt;20+0 records in&lt;BR /&gt;20+0 records out&lt;BR /&gt;&lt;BR /&gt;shivaji@root/&amp;gt;ll /tmp/avinash_back&lt;BR /&gt;-rw-rw-rw-   1 root       sys          10240 Mar  3 11:02 /tmp/avinash_back&lt;BR /&gt;&lt;BR /&gt;shivaji@root/&amp;gt;file /tmp/avinash_back&lt;BR /&gt;/tmp/avinash_back:      tar file&lt;BR /&gt;&lt;BR /&gt;shivaji@root/&amp;gt;tar -tvf /tmp/avinash_back&lt;BR /&gt;rwxrwxrwx   0/3      0 Feb 16 13:05 2009 avinash/&lt;BR /&gt;rwxr-xr-x   0/3      0 Feb 16 13:05 2009 avinash/var/&lt;BR /&gt;rwxr-xr-x   0/3      0 Feb 16 13:05 2009 avinash/var/adm/&lt;BR /&gt;rwxr-xr-x   0/3      0 Feb 16 13:05 2009 avinash/var/adm/sw/&lt;BR /&gt;rw-r--r--   0/3    234 Feb 16 13:05 2009 avinash/var/adm/sw/swagent.log&lt;BR /&gt;&lt;BR /&gt;### Hence if the format is tar this should be working but for Ignite am not sure.&lt;BR /&gt;&lt;BR /&gt;Check &lt;BR /&gt;# file /var/opt/ignite/recovery/archives/ftuxtest/2009-02-27,02:13&lt;BR /&gt;&lt;BR /&gt;## Try achieving small file on the tape and check if you are able to view the file</description>
      <pubDate>Tue, 03 Mar 2009 05:37:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369963#M347188</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-03T05:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reading tar archive from Ignite tape fails with checksum error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369964#M347189</link>
      <description>hmmm...the following post:&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1236099914384+28353475&amp;amp;threadId=1009153" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1236099914384+28353475&amp;amp;threadId=1009153&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;seems to indicate that network ignites are gzipped, while the tape versions aren't...&lt;BR /&gt;&lt;BR /&gt;if that is correct, you would need to unzip the archive prior to copying it to tape.  failure to do so would result in just the error you got.....</description>
      <pubDate>Tue, 03 Mar 2009 17:09:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369964#M347189</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-03-03T17:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reading tar archive from Ignite tape fails with checksum error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369965#M347190</link>
      <description>Check&lt;BR /&gt;# file /var/opt/ignite/recovery/archives/ftuxtest/2009-02-27,02:13</description>
      <pubDate>Tue, 03 Mar 2009 17:26:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369965#M347190</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-03T17:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reading tar archive from Ignite tape fails with checksum error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369966#M347191</link>
      <description>The file is gzip'd...</description>
      <pubDate>Tue, 03 Mar 2009 17:29:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369966#M347191</guid>
      <dc:creator>Paul F. Bennett</dc:creator>
      <dc:date>2009-03-03T17:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reading tar archive from Ignite tape fails with checksum error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369967#M347192</link>
      <description>let me try unzipping the archive prior to copying to tape, thanks all!</description>
      <pubDate>Tue, 03 Mar 2009 17:31:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reading-tar-archive-from-ignite-tape-fails-with-checksum-error/m-p/4369967#M347192</guid>
      <dc:creator>Paul F. Bennett</dc:creator>
      <dc:date>2009-03-03T17:31:00Z</dc:date>
    </item>
  </channel>
</rss>

