<?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 Devices in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610163#M35907</link>
    <description>Shannon, I don't think AIX is a byte swapped machine, but then again that was eon's ago. What error message did you get trying to use tar or cpio? Also, can you show us the "magic number" by doing this:&lt;BR /&gt;&lt;BR /&gt;dd if=&lt;TAPEDRIVE&gt; bs=1 count=100 | od -bc&lt;BR /&gt;&lt;BR /&gt;From the "magic number" we can easily determine if it is byte swapped and what kind of tape it is.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry&lt;/TAPEDRIVE&gt;</description>
    <pubDate>Fri, 09 Nov 2001 19:23:32 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2001-11-09T19:23:32Z</dc:date>
    <item>
      <title>Tape Devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610157#M35901</link>
      <description>I have a tape that someone made on a old AIX system, which I can not read.  If my memory serves me correctly, the AIX system used byte swapping on the Tape device, and thus the inability to read on a HP-UX system.&lt;BR /&gt;How do I create a byte swapping device file so that I can read this tape?  I used to do this looong ago, but can not find my notes anywhere.&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;Shannon</description>
      <pubDate>Thu, 08 Nov 2001 18:02:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610157#M35901</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2001-11-08T18:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Tape Devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610158#M35902</link>
      <description>Hi Shannon:&lt;BR /&gt;&lt;BR /&gt;You use your old friend dd.&lt;BR /&gt;&lt;BR /&gt;Something like this:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/3m bs=512 conv=swab | tar xvf -&lt;BR /&gt;&lt;BR /&gt;You may want to play with bs a bit or do 1 dd with large input blocking which in turns pipes to another for the conv=swab.</description>
      <pubDate>Thu, 08 Nov 2001 18:23:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610158#M35902</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-11-08T18:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Tape Devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610159#M35903</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You could also use 'pax' if you don't know what format the tape was originally cut in.&lt;BR /&gt;'pax' can read both tar and cpio tapes.&lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Thu, 08 Nov 2001 23:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610159#M35903</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-11-08T23:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Tape Devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610160#M35904</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm not absolutely sure at this point, but GNU cpio was able to read pretty much ANYTHING you fed it, including tar files, zip files, etc, etc. I'd say they have an option to byte swap the data. BTW, I'm assuming you used cpio, tar or something like that to make the backup.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Paga&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Nov 2001 01:46:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610160#M35904</guid>
      <dc:creator>Marco Paganini</dc:creator>
      <dc:date>2001-11-09T01:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Tape Devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610161#M35905</link>
      <description>Building on Clay's response:&lt;BR /&gt;&lt;BR /&gt;If you do not know the tape format, then may be reading one record and inspecting it with file(1), xd(1), etc. might help, i.e.&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/... of=/tmp/record bs=64k count=1 [conv=swab] &lt;BR /&gt;&lt;BR /&gt;file /tmp/record&lt;BR /&gt;&lt;BR /&gt;xd -bc /tmp/record | more &lt;BR /&gt;&lt;BR /&gt;etc..</description>
      <pubDate>Fri, 09 Nov 2001 13:07:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610161#M35905</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2001-11-09T13:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Tape Devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610162#M35906</link>
      <description>Hi Shannon,&lt;BR /&gt;&lt;BR /&gt;Already mentioned: dd, pax (which covers tar and cpio).  What about dump?&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Fri, 09 Nov 2001 18:51:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610162#M35906</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-11-09T18:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Tape Devices</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610163#M35907</link>
      <description>Shannon, I don't think AIX is a byte swapped machine, but then again that was eon's ago. What error message did you get trying to use tar or cpio? Also, can you show us the "magic number" by doing this:&lt;BR /&gt;&lt;BR /&gt;dd if=&lt;TAPEDRIVE&gt; bs=1 count=100 | od -bc&lt;BR /&gt;&lt;BR /&gt;From the "magic number" we can easily determine if it is byte swapped and what kind of tape it is.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry&lt;/TAPEDRIVE&gt;</description>
      <pubDate>Fri, 09 Nov 2001 19:23:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tape-devices/m-p/2610163#M35907</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-11-09T19:23:32Z</dc:date>
    </item>
  </channel>
</rss>

