<?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: Remote copy of raw device in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-copy-of-raw-device/m-p/2775053#M75734</link>
    <description>Thanks for the quick response.&lt;BR /&gt;&lt;BR /&gt;Rodney's solution works and on a 64Mb file going through gelan card takes 14sec appox to complete.&lt;BR /&gt;&lt;BR /&gt;The alternate solution, I needed to change the remote hosts "bs" parameter to an "obs" (leaving ibs to default) and this took about 10sec to complete.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 29 Jul 2002 20:39:52 GMT</pubDate>
    <dc:creator>Andrew S Babb</dc:creator>
    <dc:date>2002-07-29T20:39:52Z</dc:date>
    <item>
      <title>Remote copy of raw device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-copy-of-raw-device/m-p/2775050#M75731</link>
      <description>I am trying to copy a raw device /dev/vg02/rlvol2 from host1 to host2, prefereably with compression.&lt;BR /&gt;&lt;BR /&gt;The command &lt;BR /&gt;dd if=/dev/vg02/rlvol2 ibs=4096k | remsh host2 dd of=/dev/vg02/rlvol2 obs=4096k&lt;BR /&gt;copies the contents but not compressed. &lt;BR /&gt;&lt;BR /&gt;Is there a way to compress the data on host1 and then uncompress or zcat the data on host2?&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;Andrew</description>
      <pubDate>Mon, 29 Jul 2002 20:10:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-copy-of-raw-device/m-p/2775050#M75731</guid>
      <dc:creator>Andrew S Babb</dc:creator>
      <dc:date>2002-07-29T20:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Remote copy of raw device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-copy-of-raw-device/m-p/2775051#M75732</link>
      <description>Just put "compress -c" and "zcat" into the stream.&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/vg02/rlvol2 ibs=4096k | compress -c | remsh host2 "zcat - | dd of=/dev/vg02/rlvol2 obs=4096k "&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Jul 2002 20:14:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-copy-of-raw-device/m-p/2775051#M75732</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2002-07-29T20:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Remote copy of raw device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-copy-of-raw-device/m-p/2775052#M75733</link>
      <description>The key to your problem is to use compress on one end and uncompress on the receiving end. Both of these will read/write stdin/stdout.&lt;BR /&gt;&lt;BR /&gt;You will be better served using a bs= value because no buffer to buffer copy is needed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/vg02/rlvol2 bs=64k | compress - | remsh host2 uncompress - | dd of=/dev/vg02/rlvol2 bs=64k&lt;BR /&gt;&lt;BR /&gt;That should be close; I would try it on a couple of regular files first.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Mon, 29 Jul 2002 20:19:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-copy-of-raw-device/m-p/2775052#M75733</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-07-29T20:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Remote copy of raw device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-copy-of-raw-device/m-p/2775053#M75734</link>
      <description>Thanks for the quick response.&lt;BR /&gt;&lt;BR /&gt;Rodney's solution works and on a 64Mb file going through gelan card takes 14sec appox to complete.&lt;BR /&gt;&lt;BR /&gt;The alternate solution, I needed to change the remote hosts "bs" parameter to an "obs" (leaving ibs to default) and this took about 10sec to complete.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Jul 2002 20:39:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-copy-of-raw-device/m-p/2775053#M75734</guid>
      <dc:creator>Andrew S Babb</dc:creator>
      <dc:date>2002-07-29T20:39:52Z</dc:date>
    </item>
  </channel>
</rss>

