<?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: tape (reel to reel) dump in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596733#M854976</link>
    <description>You aren't being dim, how about this:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/0m ibs=860 count=1 | od -xc &amp;gt; /tmp/stuff&lt;BR /&gt;&lt;BR /&gt;then attach /tmp/stuff &lt;BR /&gt;&lt;BR /&gt;thanks :-))</description>
    <pubDate>Thu, 18 Oct 2001 13:37:54 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2001-10-18T13:37:54Z</dc:date>
    <item>
      <title>tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596713#M854956</link>
      <description>I am trying to dump a tape to a file and not getting readable file.  Tape is 6250/1600 bpi, 86 characters/record, 10 records/block.  I'm using &lt;BR /&gt;dd if=/dev/rmt/0m of=/restore/proc  cbs=86 ibs=860  (and other variations of dd)&lt;BR /&gt;output is diagonally when I more proc &lt;BR /&gt;What am I missing?&lt;BR /&gt;HP-UX 10.20&lt;BR /&gt;Thanks&lt;BR /&gt;Carol</description>
      <pubDate>Wed, 17 Oct 2001 17:14:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596713#M854956</guid>
      <dc:creator>Carol Balla</dc:creator>
      <dc:date>2001-10-17T17:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596714#M854957</link>
      <description>Hi Carol:&lt;BR /&gt;&lt;BR /&gt;Unless you are doing an ASCII/EBCDIC conversion, you don't need or want cbs.&lt;BR /&gt;&lt;BR /&gt;I suspect that all you really need&lt;BR /&gt;is:&lt;BR /&gt;dd if=/dev/rmt/0m of=/restore/proc bs=860&lt;BR /&gt;&lt;BR /&gt;If you are doing other conversion, please let us know. I not sure what you mean by 'more diagonally' but I think you are saying that you need LF's in the output rather than CR's.&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Wed, 17 Oct 2001 17:30:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596714#M854957</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-17T17:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596715#M854958</link>
      <description>if the data isn't too sensitive, could you post a few blocks for us? Could it be that the record size is not 86? Is this tape an ebcdic tape or ascii?&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Oct 2001 17:45:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596715#M854958</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-10-17T17:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596716#M854959</link>
      <description>Yes, better responses would be forthcoming if the source of the data was known and how the tape was written.&lt;BR /&gt;&lt;BR /&gt;Based on what you have said so far I try this dd line:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/0m of=/restore/proc cbs=86 conv=block&lt;BR /&gt;&lt;BR /&gt;Lou Zirko&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Oct 2001 18:18:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596716#M854959</guid>
      <dc:creator>Lou Zirko_1</dc:creator>
      <dc:date>2001-10-17T18:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596717#M854960</link>
      <description>attached is the file generated from&lt;BR /&gt;dd if=/dev/rmt/0m of=/u6/carol/restore/proc1 bs=860&lt;BR /&gt;no other conversion, file is.  I am getting record size from documentation that came with tape.   The easiest thing to pick out is * is in column 14.&lt;BR /&gt;Carol</description>
      <pubDate>Thu, 18 Oct 2001 09:13:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596717#M854960</guid>
      <dc:creator>Carol Balla</dc:creator>
      <dc:date>2001-10-18T09:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596718#M854961</link>
      <description>As others have also asked, please give some more details about the data format/code.&lt;BR /&gt;&lt;BR /&gt;What do you mean by "output is diagonally when I more proc"? What does "diagonally" mean? I.e. post a small example of the (wrong) output.&lt;BR /&gt;&lt;BR /&gt;Having said this, I advise to first check the *real* record size:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/0m of=/tmp/record bs=64k count=1 ; ll /tmp/record&lt;BR /&gt;&lt;BR /&gt;If the size of /tmp/record is 860 bytes, then the record size is indeed 860 bytes and you should use ibs=860.&lt;BR /&gt;&lt;BR /&gt;Next do:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/0m ibs=... count=1&lt;BR /&gt;&lt;BR /&gt;and post the result.&lt;BR /&gt;&lt;BR /&gt;You also may want to experiment with the conv=... options. In any case, start with count=1 and only go beyond that when you can successfully read and display the first record. When that works, use count=2 to see if you have any inter-record issues.  &lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2001 09:13:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596718#M854961</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2001-10-18T09:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596719#M854962</link>
      <description>see attached - I have run with count=1 and count=2 as requested by Frank.</description>
      <pubDate>Thu, 18 Oct 2001 10:21:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596719#M854962</guid>
      <dc:creator>Carol Balla</dc:creator>
      <dc:date>2001-10-18T10:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596720#M854963</link>
      <description>Concerning your second (11:21 AM) example, please first check the *real* record size as I have indicated in my earlier (10:13 AM) response, because you have done your second example with ibs=86 while your original posting implied and used a record_size/ibs= of 860.&lt;BR /&gt;&lt;BR /&gt;When you post again, please do not use a proportional font. Now we can not see whether the second line has two undesired leading spaces or more/less. If it *has* two undesired leading spaces, then maybe, just maybe, the unblocked (or real?) record size is 88 (not 86).</description>
      <pubDate>Thu, 18 Oct 2001 10:56:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596720#M854963</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2001-10-18T10:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596721#M854964</link>
      <description>Frank- I have attached another document (sorry for previous format) in which I have run 4 different ways.  &lt;BR /&gt;Thanks&lt;BR /&gt;Carol</description>
      <pubDate>Thu, 18 Oct 2001 11:10:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596721#M854964</guid>
      <dc:creator>Carol Balla</dc:creator>
      <dc:date>2001-10-18T11:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596722#M854965</link>
      <description>Must must include block&lt;BR /&gt;&lt;BR /&gt;dd if=.. of=.. ibs=860 cbs=860 conv=ascii,block&lt;BR /&gt;&lt;BR /&gt;See man dd&lt;BR /&gt;&lt;BR /&gt;See this too:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0xbdbe6af52b04d5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0xbdbe6af52b04d5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2001 12:16:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596722#M854965</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-10-18T12:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596723#M854966</link>
      <description>Carlos, I don't think that "ascii" (in "conv=...") is needed/good, because the data is apparently already in ASCII. Using "conv=ascii" on ASCII data will make it unreadable. But, perhaps the "block" (in "conv=...") is a good idea (I already advised earlier to play with the "conv= options).&lt;BR /&gt;&lt;BR /&gt;Carol, I have also seen your third (12:10 PM GMT) example. Apparently there are 6 (12, ...) leading spaces. However I do not know how to get rid of them because the 'line-terminator' (linefeed) seems to be in the records, otherwise more(1) would display just one long line.   &lt;BR /&gt;&lt;BR /&gt;Can you do my very first example (dd if=/dev/rmt/0m of=/tmp/record bs=64k count=1 ; ll /tmp/record), which you still have not done, post the output from that command line and *attach* the /tmp/record file? (Make sure that you attach an *exact* *binary* copy of the file. If you have to FTP it before attaching, then make sure the FTP is done in binary mode ("binary" command) and compare the source/target file to have the exact same size.)&lt;BR /&gt;&lt;BR /&gt;Another 'brain-wave': As far as I can tell, the first line (ending with "EXCISION") is 76 (not 86) characters long. There are 6 unwanted&lt;BR /&gt;leading spaces on the second line. 76+6 = 82 = 80+2. 80 is a common length for a 'punched-card' record. The remaining 2 characters could be carriage-return and line-feed.&lt;BR /&gt;&lt;BR /&gt;Therefor it is perhaps wise to try:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/0m of=/u6/carol/restore/proc1 ibs=... count=3&lt;BR /&gt;&lt;BR /&gt;Where you slowly, byte for byte, decrease "..." from 86 (your old value) to 76, i.e. 86 -&amp;gt; 85 -&amp;gt; 84 -&amp;gt; ... -&amp;gt; 76.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2001 13:00:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596723#M854966</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2001-10-18T13:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596724#M854967</link>
      <description>How about doing this and showing us the output:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/0m ibs=860 count=1 | od -xc&lt;BR /&gt;&lt;BR /&gt;That way we can see a full block with any imbedded control characters.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 18 Oct 2001 13:08:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596724#M854967</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-10-18T13:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596725#M854968</link>
      <description>Frank:&lt;BR /&gt;ran dd if=/dev/rmt/0m of=/tmp/record bs=64k count=1 &lt;BR /&gt;FTP with Binary as requested.&lt;BR /&gt;&lt;BR /&gt;Tried conv= ??  with different options with no improvement.&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2001 13:13:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596725#M854968</guid>
      <dc:creator>Carol Balla</dc:creator>
      <dc:date>2001-10-18T13:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596726#M854969</link>
      <description>Hi Carol,&lt;BR /&gt;&lt;BR /&gt;Unfortunately your attachments don't help much because it is difficult to really know the amount of whitespace in the data. Also if you data really is blocked at 860 bytes/record, you must specify an ibs (or bs); you are using 512 right now (the default) but as soon as we go into the next record everything will be off. Typically if one needs to reblock, it is often does in a pipeline of two dd's. The first simply gets the data and the next does some processing. But right now, we really need two blocks of raw input data in a readable form. The rest should be very easy from that point.&lt;BR /&gt;&lt;BR /&gt;Do this:&lt;BR /&gt;dd if=/dev/rmt/0m bs=860 count=2 | od -v -Ad -tc &amp;gt; myfile.out&lt;BR /&gt;&lt;BR /&gt;myfile.out should then be posted and will contain exactly the needed data plus the offsets.&lt;BR /&gt;  &lt;BR /&gt;Clay</description>
      <pubDate>Thu, 18 Oct 2001 13:14:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596726#M854969</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-18T13:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596727#M854970</link>
      <description>Harry:&lt;BR /&gt;please see attached.&lt;BR /&gt;Carol</description>
      <pubDate>Thu, 18 Oct 2001 13:16:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596727#M854970</guid>
      <dc:creator>Carol Balla</dc:creator>
      <dc:date>2001-10-18T13:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596728#M854971</link>
      <description>Great suggestion, Harry! Bummer, why didn't I think of that!? :-) Losing my touch? :-(&lt;BR /&gt;&lt;BR /&gt;Carol, if the size of the /tmp/record file (see my responses) is different from 860, then please (also) post Harry's example with ibs=...., where ... is the size of the /tmp/record file.</description>
      <pubDate>Thu, 18 Oct 2001 13:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596728#M854971</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2001-10-18T13:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596729#M854972</link>
      <description>Clay:&lt;BR /&gt;I FTP binary.&lt;BR /&gt;&lt;BR /&gt;Carol</description>
      <pubDate>Thu, 18 Oct 2001 13:21:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596729#M854972</guid>
      <dc:creator>Carol Balla</dc:creator>
      <dc:date>2001-10-18T13:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596730#M854973</link>
      <description>Carol, &lt;BR /&gt;&lt;BR /&gt;I'm sorry, I wanted you not to specify an output file, and pipe the output to "od -xc":&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/0m ibs=860 count=1 | od -xc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2001 13:21:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596730#M854973</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-10-18T13:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596731#M854974</link>
      <description>Carol, you made an error.&lt;BR /&gt;&lt;BR /&gt;You used:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/0m of=/u6/carol/restore/proc1 ibs=860 count=1 | od -xc&lt;BR /&gt;&lt;BR /&gt;But Harry asked for:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/0m ibs=860 count=1 | od -xc&lt;BR /&gt;&lt;BR /&gt;Because you included "of=..." the od(1) command did not get any input and hence gave no (usable) output.&lt;BR /&gt;&lt;BR /&gt;I will try to have a look at your 14:13 PM GMT attachment, but for the moment let's concentrate on getting Harry's example right. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2001 13:25:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596731#M854974</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2001-10-18T13:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: tape (reel to reel) dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596732#M854975</link>
      <description>Harry &amp;amp; Frank:&lt;BR /&gt;Not to be dim but how would you like me to get you information from command &lt;BR /&gt;dd if=/dev/rmt/0m ibs=860 count=1 | od -xc &lt;BR /&gt;&lt;BR /&gt;if I don't dump it to a file?&lt;BR /&gt;A lot of data scrolled by on my screen.&lt;BR /&gt;Carol</description>
      <pubDate>Thu, 18 Oct 2001 13:35:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-reel-to-reel-dump/m-p/2596732#M854975</guid>
      <dc:creator>Carol Balla</dc:creator>
      <dc:date>2001-10-18T13:35:33Z</dc:date>
    </item>
  </channel>
</rss>

