<?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 error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323962#M877693</link>
    <description>According to /usr/include/sys/errno.h, error 25 means "not a typewriter", which suggests it's looking for input from the keyboard rather than a tape drive.&lt;BR /&gt;&lt;BR /&gt;What command are you using to restore?&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
    <pubDate>Tue, 06 Jul 2004 09:06:32 GMT</pubDate>
    <dc:creator>MarkSyder</dc:creator>
    <dc:date>2004-07-06T09:06:32Z</dc:date>
    <item>
      <title>cpio error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323959#M877690</link>
      <description>I have two servers with hp-ux 11.11 (one have a ultrium and the other don't have a tape).&lt;BR /&gt;&lt;BR /&gt;when i make a backup by remote shell using cpio:&lt;BR /&gt;# find . -print | cpio -ovdumBc | remsh HP02PR "cat &amp;gt; /dev/rmt/0mn"&lt;BR /&gt;obs.: the server without tape for server with tape&lt;BR /&gt;&lt;BR /&gt;The backup is ok, but when i list, appears the following message:&lt;BR /&gt;out of phase&lt;BR /&gt;and request to use an option R&lt;BR /&gt;&lt;BR /&gt;When i restore a file, appears the following message:&lt;BR /&gt;errno:25 , can't read input&lt;BR /&gt;&lt;BR /&gt;Wait.&lt;BR /&gt;Fernando.</description>
      <pubDate>Tue, 06 Jul 2004 08:24:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323959#M877690</guid>
      <dc:creator>Fernando Jose P de Souz</dc:creator>
      <dc:date>2004-07-06T08:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: cpio error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323960#M877691</link>
      <description>Try this:&lt;BR /&gt;&lt;BR /&gt;ON HP01PR:&lt;BR /&gt;&lt;BR /&gt;mknod /tmp/somepipename p&lt;BR /&gt;echo "+ +" &amp;gt;.rhosts&lt;BR /&gt;find . -print | cpio -ovdumBc &amp;gt; /tmp/somepipename&lt;BR /&gt;&lt;BR /&gt;ON HP02PR&lt;BR /&gt;&lt;BR /&gt;remsh HP01PR -l root dd if=/tmp/somepipename | dd of=/dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jul 2004 08:40:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323960#M877691</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2004-07-06T08:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: cpio error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323961#M877692</link>
      <description>Don't work.</description>
      <pubDate>Tue, 06 Jul 2004 09:01:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323961#M877692</guid>
      <dc:creator>Fernando Jose P de Souz</dc:creator>
      <dc:date>2004-07-06T09:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: cpio error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323962#M877693</link>
      <description>According to /usr/include/sys/errno.h, error 25 means "not a typewriter", which suggests it's looking for input from the keyboard rather than a tape drive.&lt;BR /&gt;&lt;BR /&gt;What command are you using to restore?&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Tue, 06 Jul 2004 09:06:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323962#M877693</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-07-06T09:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: cpio error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323963#M877694</link>
      <description>When i list the tape.&lt;BR /&gt;#cpio -iBtcR &amp;lt; /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;View the output in atach.</description>
      <pubDate>Tue, 06 Jul 2004 09:08:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323963#M877694</guid>
      <dc:creator>Fernando Jose P de Souz</dc:creator>
      <dc:date>2004-07-06T09:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: cpio error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323964#M877695</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;i'm using the following command:&lt;BR /&gt;# remsh hp03pr "cat &amp;lt; /dev/rmt/0m" | cpio -ivdumBc</description>
      <pubDate>Tue, 06 Jul 2004 09:14:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323964#M877695</guid>
      <dc:creator>Fernando Jose P de Souz</dc:creator>
      <dc:date>2004-07-06T09:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: cpio error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323965#M877696</link>
      <description>You're doing the backup by remsh, but it doesn't look like you're doing the restore by remsh. Is that right?&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Tue, 06 Jul 2004 09:18:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323965#M877696</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-07-06T09:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: cpio error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323966#M877697</link>
      <description>I normally get "out of phase" when I backup with the "B" option.  Try removing it.&lt;BR /&gt;&lt;BR /&gt;If that doesn't work, try removing the "c" option, and keeping the B.&lt;BR /&gt;&lt;BR /&gt;cpio -ovdumc&lt;BR /&gt;cpio -ovdumB&lt;BR /&gt;&lt;BR /&gt;If it still doesn't work, I'll start guessing....&lt;BR /&gt;&lt;BR /&gt;The "v" option gives you lots of text on the screen.  But you're running this with remsh?  Maybe that's the problem?&lt;BR /&gt;&lt;BR /&gt;Hope one of these is it.  &lt;BR /&gt;Steve</description>
      <pubDate>Wed, 07 Jul 2004 07:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323966#M877697</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2004-07-07T07:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: cpio error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323967#M877698</link>
      <description>Try a new tape to see if you get the same error.  It could be a bad tape:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/hpux/onlinedocs/B2355-90689/00/00/55-con.html" target="_blank"&gt;http://www.docs.hp.com/hpux/onlinedocs/B2355-90689/00/00/55-con.html&lt;/A&gt; See:&lt;BR /&gt;DIAGNOSTICS &lt;BR /&gt;Out of phase--get help &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jul 2004 07:34:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323967#M877698</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2004-07-07T07:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: cpio error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323968#M877699</link>
      <description>when i make a backup by remote shell using cpio is ok, and when i list or recover by remote shell, it's ok too. &lt;BR /&gt;&lt;BR /&gt;Commands:&lt;BR /&gt;backup:&lt;BR /&gt;# find . -print | cpio -ocvBdxum | remsh mastermm "cat &amp;gt; /dev/rmt/0m"&lt;BR /&gt;restore:&lt;BR /&gt;# remsh mastermm "cat &amp;lt; /dev/rmt/0m" | cpio -icvBdxum&lt;BR /&gt;&lt;BR /&gt;obs.: But, When i list or restore in other server, give me an error: "out of phase" and use the -R option&lt;BR /&gt;&lt;BR /&gt;Presume my system crash and i would like to restore in other server. what should i do?&lt;BR /&gt;&lt;BR /&gt;Wait.&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jul 2004 10:53:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323968#M877699</guid>
      <dc:creator>Fernando Jose P de Souz</dc:creator>
      <dc:date>2004-07-08T10:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: cpio error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323969#M877700</link>
      <description>The problem appears to be your "B" option which specifies 5k blocks.&lt;BR /&gt;&lt;BR /&gt;Instead of: &lt;BR /&gt;remsh mastermm "cat &amp;lt; /dev/rmt/0m" | cpio -icvBdxum&lt;BR /&gt;Try:&lt;BR /&gt;&lt;BR /&gt;# remsh mastermm "dd if=/dev/rmt/0m bs=5k" | cpio -icvBdxum&lt;BR /&gt;&lt;BR /&gt;You will probably get better performance by larger input blocking:&lt;BR /&gt;# remsh mastermm "dd if=/dev/rmt/0m ibs=60k obs=5k" | cpio -icvBdxum&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jul 2004 11:02:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-error/m-p/3323969#M877700</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-07-08T11:02:41Z</dc:date>
    </item>
  </channel>
</rss>

