<?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: Copying From A Tape in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/copying-from-a-tape/m-p/2849773#M93253</link>
    <description>how is the data stored on the tape?  with tar?&lt;BR /&gt;&lt;BR /&gt;if it is tar... try using this rsh command to move the contents of the tape over to your target server... the one you want this installed on.  Once copied, just do the normal swinstall per whatever procedure you have.&lt;BR /&gt;&lt;BR /&gt;you need to have the .rhosts settings to allow rsh between servers&lt;BR /&gt;&lt;BR /&gt;on the server where you want to install software:&lt;BR /&gt;&lt;BR /&gt;rsh &lt;HOST_WITH_TAPEDRIVE&gt; "dd if=/dev/rmt/0m obs=20" | tar -xvBf -&lt;BR /&gt;&lt;BR /&gt;make sure you are sitting in the directory where you want this copied before running the command above&lt;BR /&gt;&lt;BR /&gt;Ted&lt;/HOST_WITH_TAPEDRIVE&gt;</description>
    <pubDate>Thu, 21 Nov 2002 23:35:43 GMT</pubDate>
    <dc:creator>Ted Ellis_2</dc:creator>
    <dc:date>2002-11-21T23:35:43Z</dc:date>
    <item>
      <title>Copying From A Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copying-from-a-tape/m-p/2849772#M93252</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;We have a server with no tape drive. We also have an application in a 4mm tape that has to be sw-installed in this server.&lt;BR /&gt;&lt;BR /&gt;I mounted the tape in the drive of another system and executed dd to copy the files with the hope of trasnferring the files to the original server to do the swinstall.&lt;BR /&gt;&lt;BR /&gt;I tried the following command:&lt;BR /&gt;dd if=/dev/rmt/0m of=/var/somefile.&lt;BR /&gt;&lt;BR /&gt;It did not copy all the files. How can I move the files from tape onto this tape drive-less system for swinstall?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance to all replies.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Suren</description>
      <pubDate>Thu, 21 Nov 2002 22:42:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copying-from-a-tape/m-p/2849772#M93252</guid>
      <dc:creator>Suren Selva</dc:creator>
      <dc:date>2002-11-21T22:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Copying From A Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copying-from-a-tape/m-p/2849773#M93253</link>
      <description>how is the data stored on the tape?  with tar?&lt;BR /&gt;&lt;BR /&gt;if it is tar... try using this rsh command to move the contents of the tape over to your target server... the one you want this installed on.  Once copied, just do the normal swinstall per whatever procedure you have.&lt;BR /&gt;&lt;BR /&gt;you need to have the .rhosts settings to allow rsh between servers&lt;BR /&gt;&lt;BR /&gt;on the server where you want to install software:&lt;BR /&gt;&lt;BR /&gt;rsh &lt;HOST_WITH_TAPEDRIVE&gt; "dd if=/dev/rmt/0m obs=20" | tar -xvBf -&lt;BR /&gt;&lt;BR /&gt;make sure you are sitting in the directory where you want this copied before running the command above&lt;BR /&gt;&lt;BR /&gt;Ted&lt;/HOST_WITH_TAPEDRIVE&gt;</description>
      <pubDate>Thu, 21 Nov 2002 23:35:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copying-from-a-tape/m-p/2849773#M93253</guid>
      <dc:creator>Ted Ellis_2</dc:creator>
      <dc:date>2002-11-21T23:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Copying From A Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copying-from-a-tape/m-p/2849774#M93254</link>
      <description>Hi Suren,&lt;BR /&gt;&lt;BR /&gt;Another thing to be aware of is the when a product is swpackaged to tape, it's assumed that the install will ONLY be done locally.&lt;BR /&gt;If you do extract it to the system with the tape drive &amp;amp; wish to swinstall it from the remote system, you'll need to do a couple things:&lt;BR /&gt;&lt;BR /&gt;1) In the catalog directory do&lt;BR /&gt;  touch swlock&lt;BR /&gt;  chmod 444 swlock&lt;BR /&gt;&lt;BR /&gt;2) swreg -l depot /path/to/package&lt;BR /&gt;to register that dir as a depot to be accessed from a remote system.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 21 Nov 2002 23:40:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copying-from-a-tape/m-p/2849774#M93254</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-11-21T23:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Copying From A Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copying-from-a-tape/m-p/2849775#M93255</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The real problem is to know how your tape has been built. If it was a swpackage, it should work with a dd (perhaps add an option bs=10k). In this case swinstall should work directly using this dd file transfered on the drive-less system even without registering the depot.&lt;BR /&gt;&lt;BR /&gt;But what do you mean by 'It did not copy all the files' ? If you have several distinct files on the tape, you will have to use a no-rewind device, (0mn) but in this case it can't be a single sw depot.&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Fri, 22 Nov 2002 11:48:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copying-from-a-tape/m-p/2849775#M93255</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2002-11-22T11:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Copying From A Tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copying-from-a-tape/m-p/2849776#M93256</link>
      <description>Thanks for all your suggestions. The tape came with a SW depot. I copied the tape contents to another server using swcopy and registered the depot using swreg.&lt;BR /&gt;&lt;BR /&gt;Now I tried an swinstall -p over the network from the remote server. It worked!!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Suren</description>
      <pubDate>Fri, 22 Nov 2002 18:07:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copying-from-a-tape/m-p/2849776#M93256</guid>
      <dc:creator>Suren Selva</dc:creator>
      <dc:date>2002-11-22T18:07:36Z</dc:date>
    </item>
  </channel>
</rss>

