<?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: cpio on hp-ux 10.20 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308792#M339064</link>
    <description>Thanks all. We moved from hp-ux to redhat linux. For this particular case, I need to restore file that was created years ago on hp-ux 10.20 with cpio command to get some oracle data out... &lt;BR /&gt;I will try the "pax" command.&lt;BR /&gt;&lt;BR /&gt;Tks.&lt;BR /&gt;&lt;BR /&gt;Tammy</description>
    <pubDate>Thu, 20 Nov 2008 14:17:55 GMT</pubDate>
    <dc:creator>Tammy Liang</dc:creator>
    <dc:date>2008-11-20T14:17:55Z</dc:date>
    <item>
      <title>cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308777#M339049</link>
      <description>I tried to restore a cpio file from tape with command " cpio -idcmv &amp;lt; /dev/rmt/0m". I got "End of Volume. If you want to go on, type device/file name when ready"&lt;BR /&gt;What is "End ov Volume" mean?&lt;BR /&gt;I enter "/dev/rmt/0m" and see the size of restored file increased.&lt;BR /&gt;What's the cpio command for listing the content of the tape drive?&lt;BR /&gt;&lt;BR /&gt;Thanks for any reply.&lt;BR /&gt;&lt;BR /&gt;Tammy</description>
      <pubDate>Tue, 18 Nov 2008 20:04:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308777#M339049</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2008-11-18T20:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308778#M339050</link>
      <description>You might need to rewind the tape first:&lt;BR /&gt;&lt;BR /&gt;mt rew&lt;BR /&gt;&lt;BR /&gt;It sounds to me like you're at the end of the tape.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 18 Nov 2008 20:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308778#M339050</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-11-18T20:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308779#M339051</link>
      <description>I did not rewind the tape,just enter the tape device file /dev/rmt/0m. Does cpio rewind on its own?&lt;BR /&gt;tks</description>
      <pubDate>Tue, 18 Nov 2008 20:23:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308779#M339051</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2008-11-18T20:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308780#M339052</link>
      <description>Hi Tammy,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; I did not rewind the tape,just enter the tape device file /dev/rmt/0m. Does cpio rewind on its own? &amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;NO, It doesn't rewind on its own. we have to rewind , please follow the rewind command&lt;BR /&gt;&lt;BR /&gt;# mt -f /dev/rmt/0mn status&lt;BR /&gt;(will show you tape is ONLINE)&lt;BR /&gt;&lt;BR /&gt;# mt -f /dev/rmt/0mn rewind&lt;BR /&gt;&lt;BR /&gt;Than try with cpio command for Listing .. :)&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Tue, 18 Nov 2008 23:44:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308780#M339052</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-11-18T23:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308781#M339053</link>
      <description>&amp;gt;What is "End of Volume" mean?&lt;BR /&gt;&lt;BR /&gt;It means what it says.  You are at the end of the tape reel.  You need to "mount" another.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I enter "/dev/rmt/0m"&lt;BR /&gt;&lt;BR /&gt;I assume you first ejected the tape and put the next volume there?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;What's the cpio command for listing the content of the tape drive?&lt;BR /&gt;&lt;BR /&gt;I suggest you give up on tar(1) and cpio(1) and only use pax(1).&lt;BR /&gt;You simply use:&lt;BR /&gt;pax -tv -f /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Pete: You might need to rewind the tape first&lt;BR /&gt;&lt;BR /&gt;Are you suggesting the tape was first written and now read, without rewinding?</description>
      <pubDate>Wed, 19 Nov 2008 01:27:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308781#M339053</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-19T01:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308782#M339054</link>
      <description>All,&lt;BR /&gt;Thanks for the reply.I did not eject/rewind the tape. I just entered the same device name and cpio append the file to the same file name. Looks like cpio handle the rewind part.&lt;BR /&gt;&lt;BR /&gt;Tammy</description>
      <pubDate>Wed, 19 Nov 2008 14:00:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308782#M339054</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2008-11-19T14:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308783#M339055</link>
      <description>All,&lt;BR /&gt;How can I setup block size with cpio to restore file?&lt;BR /&gt;I'm using "cpio idcmv &amp;lt; /dev/rmt/0m".&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 19 Nov 2008 16:00:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308783#M339055</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2008-11-19T16:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308784#M339056</link>
      <description>as far as I know, you can't.  it is what it is.&lt;BR /&gt;&lt;BR /&gt;man "cpio" seems to indicate that it deals in 512 byte blocks.&lt;BR /&gt;&lt;BR /&gt;one wonders why you ask</description>
      <pubDate>Wed, 19 Nov 2008 16:26:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308784#M339056</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-11-19T16:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308785#M339057</link>
      <description>&amp;gt;How can I setup block size with cpio to restore file?  I'm using "cpio idcmv &amp;lt; /dev/rmt/0m".&lt;BR /&gt;&lt;BR /&gt;Do you know what the block size is?  You have N options, use -B for 5120 bytes, use a pipe with dd to reblock or good old pax(1).&lt;BR /&gt;&lt;BR /&gt;&amp;gt;OldSchool: as far as I know, you can't. it is what it is. one wonders why you ask&lt;BR /&gt;&lt;BR /&gt;See above.  It would also be helpful to know how it was written to tape?&lt;BR /&gt;&lt;BR /&gt;Also, as I mentioned, pax(1) will magically figure out how to read your tape.  See:&lt;BR /&gt;-b blocking   Blocking is automatically determined on input.</description>
      <pubDate>Wed, 19 Nov 2008 17:45:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308785#M339057</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-19T17:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308786#M339058</link>
      <description>I don't know how the file cpio to tape.&lt;BR /&gt;It was old tape that we need to restore for&lt;BR /&gt;oracle data. After restore the file&lt;BR /&gt;with cpio, oracle import failed. I restored&lt;BR /&gt;the files from 2 different tapes, and imp failed on both of export files. &lt;BR /&gt;So the bottom line is you can not setup block size for cpio when restore from the tape drive.&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Nov 2008 19:14:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308786#M339058</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2008-11-19T19:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308787#M339059</link>
      <description>"So the bottom line is you can not setup block size for cpio when restore from the tape drive."&lt;BR /&gt;&lt;BR /&gt;see Dennis' reply above.  He notes -B will reset the block size to 5120.&lt;BR /&gt;&lt;BR /&gt;better yet, he suggested (twice) that you use "pax" instead, which will sort out the blocking correctly.&lt;BR /&gt;&lt;BR /&gt;having hit "End of Volume" and continued on using the same tape w/o rewind makes me wonder how the tape was produced in the first place.</description>
      <pubDate>Wed, 19 Nov 2008 19:35:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308787#M339059</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-11-19T19:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308788#M339060</link>
      <description>So I can pax to restore the file that created via cpio? If so, what's the command?&lt;BR /&gt;&lt;BR /&gt;Can you provide the cpio commands that I can use with -B and dd for getting cpio file from /dev/rmt/0m?&lt;BR /&gt;&lt;BR /&gt;Tks.</description>
      <pubDate>Wed, 19 Nov 2008 20:06:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308788#M339060</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2008-11-19T20:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308789#M339061</link>
      <description>&amp;gt;So I can pax to restore the file that created via cpio?&lt;BR /&gt;&lt;BR /&gt;Yes: pax -rv -f /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Can you provide the cpio commands that I can use with -B and dd for getting cpio file from /dev/rmt/0m?&lt;BR /&gt;&lt;BR /&gt;-B works only if you used -B to write it.&lt;BR /&gt;&lt;BR /&gt;Using dd(1) is completely separate more complicated approach.&lt;BR /&gt;Some threads:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1281104" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1281104&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1163073" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1163073&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1252713" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1252713&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1229193" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1229193&lt;/A&gt;</description>
      <pubDate>Wed, 19 Nov 2008 21:44:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308789#M339061</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-19T21:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308790#M339062</link>
      <description>Hi Tammy:&lt;BR /&gt;&lt;BR /&gt;I would add, for your further information, that 'cpio' cannot archive 'largefiles' (files &amp;gt; 2GB).&lt;BR /&gt;&lt;BR /&gt;With 'pax', when Using '-x cpio' or '-x ustar' files up to 8GB can be archived.&lt;BR /&gt;&lt;BR /&gt;In 11.31 or in 11.23 with the PAX_ENH product installed, 'pax' can archive files larger than 8GB.&lt;BR /&gt;&lt;BR /&gt;HP is making 'pax' a defacto standard for HP-UX and is in fact, deprecated (the extremely useful but proprietary) 'fbackup' utility.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...  &lt;BR /&gt;</description>
      <pubDate>Wed, 19 Nov 2008 22:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308790#M339062</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-11-19T22:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308791#M339063</link>
      <description>Hi (again) Tammy:&lt;BR /&gt;&lt;BR /&gt;Oh, the above is just another reason to move from the unsupported, ancient 10.20 release to at least 11.11.&lt;BR /&gt;&lt;BR /&gt;I keep missing the fact that you noted your release as 10.20.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 19 Nov 2008 22:05:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308791#M339063</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-11-19T22:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308792#M339064</link>
      <description>Thanks all. We moved from hp-ux to redhat linux. For this particular case, I need to restore file that was created years ago on hp-ux 10.20 with cpio command to get some oracle data out... &lt;BR /&gt;I will try the "pax" command.&lt;BR /&gt;&lt;BR /&gt;Tks.&lt;BR /&gt;&lt;BR /&gt;Tammy</description>
      <pubDate>Thu, 20 Nov 2008 14:17:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308792#M339064</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2008-11-20T14:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: cpio on hp-ux 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308793#M339065</link>
      <description>All, the pax does work. file was restored and&lt;BR /&gt;imported to database.&lt;BR /&gt;&lt;BR /&gt;Tks for all reply.</description>
      <pubDate>Thu, 20 Nov 2008 19:54:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-on-hp-ux-10-20/m-p/4308793#M339065</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2008-11-20T19:54:14Z</dc:date>
    </item>
  </channel>
</rss>

