<?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: dd command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/3404792#M863513</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a informix archive level 0 with log id 40701 and a informix logical logs with log is 40586 until 40843.&lt;BR /&gt;&lt;BR /&gt;I wish to restore it with archive level 0 and roll forward to logical logs 40799.&lt;BR /&gt;&lt;BR /&gt;So, I have to use dd.&lt;BR /&gt;&lt;BR /&gt;First step&lt;BR /&gt;dd if=/dev/rmt/1m of=ltape bs=1024k&lt;BR /&gt;=&amp;gt; This is to extract all the logical logs inside the tape to a file called ltape.&lt;BR /&gt;&lt;BR /&gt;Second step&lt;BR /&gt;xd ltape | egrep -e"^....... ffff ffff" &amp;gt; xddumb.txt&lt;BR /&gt;=&amp;gt; This is to perform a hexadecimal dump &amp;amp; pipe to a file called xddumb.txt&lt;BR /&gt;&lt;BR /&gt;Third step&lt;BR /&gt;By right, inside this file, I managed to see the logical tape header (which is indicated as "0009" in first row and column number 7) and logical tape trailer (which is indicated as "000a" in the last row column number 7).&lt;BR /&gt;&lt;BR /&gt;But, this file seem doesn't have any logical tape trailer.&lt;BR /&gt;&lt;BR /&gt;Is anyone who have try to restore informix archive level 0 with roll forward logical logs?&lt;BR /&gt;&lt;BR /&gt;regards.</description>
    <pubDate>Thu, 21 Oct 2004 04:02:10 GMT</pubDate>
    <dc:creator>Ngoh Chean Siung</dc:creator>
    <dc:date>2004-10-21T04:02:10Z</dc:date>
    <item>
      <title>dd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/3404788#M863509</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is there anyone familiar to dd command? I want to restore informix archive level 0 with roll forward logical logs.&lt;BR /&gt;&lt;BR /&gt;I have a informix logical logs tape. I wish to extract it into a file by using dd command.&lt;BR /&gt;&lt;BR /&gt;This file will consists of logical logs which is in hexadecimal format.&lt;BR /&gt;&lt;BR /&gt;My problem is when I try to dd the logical logs into a file, it seems like not all the logical logs has been extracted.&lt;BR /&gt;&lt;BR /&gt;Just want to know how to play around with bs. I try to use bs which is 1024k, 2k, 2048 &amp;amp; 4096k. Hv try with the bs but still same. Actually what is the bs that I should use?&lt;BR /&gt;&lt;BR /&gt;regards.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 03:02:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/3404788#M863509</guid>
      <dc:creator>Ngoh Chean Siung</dc:creator>
      <dc:date>2004-10-21T03:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: dd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/3404789#M863510</link>
      <description>Hi,&lt;BR /&gt;Not sure about it but just see if the link below helps you out.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xd317543254bfd611abdb0090277a778c%2C00.html&amp;amp;forumId=2&amp;amp;admit=716493758+1098346134989+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0xd317543254bfd611abdb0090277a778c%2C00.html&amp;amp;forumId=2&amp;amp;admit=716493758+1098346134989+28353475&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Thu, 21 Oct 2004 03:10:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/3404789#M863510</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-10-21T03:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: dd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/3404790#M863511</link>
      <description>If it's reading something, then block size shouldn't really make a difference, except in performance terms, as in how fast data is transferred from tape.&lt;BR /&gt;&lt;BR /&gt;Are you sure dd is the actual command you want to use, were the logs just dd'd to the tape?&lt;BR /&gt;&lt;BR /&gt;I don't have any experience with Informix, however the linked page below suggest a tool called ontape is used for Informix?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://examples.oreilly.com/unixbr/informix.html" target="_blank"&gt;http://examples.oreilly.com/unixbr/informix.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 03:31:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/3404790#M863511</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2004-10-21T03:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: dd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/3404791#M863512</link>
      <description>What does lead you to the conclusion that you cannot extract all the logical logs ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rainer</description>
      <pubDate>Thu, 21 Oct 2004 03:50:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/3404791#M863512</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2004-10-21T03:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: dd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/3404792#M863513</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a informix archive level 0 with log id 40701 and a informix logical logs with log is 40586 until 40843.&lt;BR /&gt;&lt;BR /&gt;I wish to restore it with archive level 0 and roll forward to logical logs 40799.&lt;BR /&gt;&lt;BR /&gt;So, I have to use dd.&lt;BR /&gt;&lt;BR /&gt;First step&lt;BR /&gt;dd if=/dev/rmt/1m of=ltape bs=1024k&lt;BR /&gt;=&amp;gt; This is to extract all the logical logs inside the tape to a file called ltape.&lt;BR /&gt;&lt;BR /&gt;Second step&lt;BR /&gt;xd ltape | egrep -e"^....... ffff ffff" &amp;gt; xddumb.txt&lt;BR /&gt;=&amp;gt; This is to perform a hexadecimal dump &amp;amp; pipe to a file called xddumb.txt&lt;BR /&gt;&lt;BR /&gt;Third step&lt;BR /&gt;By right, inside this file, I managed to see the logical tape header (which is indicated as "0009" in first row and column number 7) and logical tape trailer (which is indicated as "000a" in the last row column number 7).&lt;BR /&gt;&lt;BR /&gt;But, this file seem doesn't have any logical tape trailer.&lt;BR /&gt;&lt;BR /&gt;Is anyone who have try to restore informix archive level 0 with roll forward logical logs?&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Thu, 21 Oct 2004 04:02:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/3404792#M863513</guid>
      <dc:creator>Ngoh Chean Siung</dc:creator>
      <dc:date>2004-10-21T04:02:10Z</dc:date>
    </item>
  </channel>
</rss>

