<?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 dd command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740983#M946799</link>
    <description>I will changing a disk that contains data because theres a lot af anoamlies with it&lt;BR /&gt;I want know if the following command is correct&lt;BR /&gt;#dd if=/dev/dsk/c0t11d0 of=/dev/dsk/cxtdz&lt;BR /&gt;On the end I will puting the new disk on tha emplacement of the old one and I want know if I muts do some things for that this action will tranparent for ths system..!!&lt;BR /&gt;Thanks</description>
    <pubDate>Mon, 10 Jun 2002 12:11:15 GMT</pubDate>
    <dc:creator>malki_3</dc:creator>
    <dc:date>2002-06-10T12:11:15Z</dc:date>
    <item>
      <title>dd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740983#M946799</link>
      <description>I will changing a disk that contains data because theres a lot af anoamlies with it&lt;BR /&gt;I want know if the following command is correct&lt;BR /&gt;#dd if=/dev/dsk/c0t11d0 of=/dev/dsk/cxtdz&lt;BR /&gt;On the end I will puting the new disk on tha emplacement of the old one and I want know if I muts do some things for that this action will tranparent for ths system..!!&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 10 Jun 2002 12:11:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740983#M946799</guid>
      <dc:creator>malki_3</dc:creator>
      <dc:date>2002-06-10T12:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: dd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740984#M946800</link>
      <description>Malki,&lt;BR /&gt;&lt;BR /&gt;First, add a block size (bs=1024k) to the end of your command - otherwise it will take forever.&lt;BR /&gt;&lt;BR /&gt;Second, is the new disk identical to the old?  You can have problems if not.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 10 Jun 2002 12:12:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740984#M946800</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-10T12:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: dd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740985#M946801</link>
      <description>Malki, this will also duplicate all the data in the old disks bad block table to the new disk - If this disk contains a file system you'd be better to back that up and restore to the new disk after creating the necessary logical volumes etc.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Mon, 10 Jun 2002 12:14:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740985#M946801</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2002-06-10T12:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: dd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740986#M946802</link>
      <description>If You specify Block Size at the end of this command ican be done faster, it depends on storage system.&lt;BR /&gt;&lt;BR /&gt;#dd if=/dev/dsk/cxtxdx of=/dev/dsk/cxtxdx bs=1024k&lt;BR /&gt;&lt;BR /&gt;You can use block devices as well as character devices, sometimes block are much faster than character.&lt;BR /&gt;&lt;BR /&gt;hope it help You</description>
      <pubDate>Mon, 10 Jun 2002 12:15:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740986#M946802</guid>
      <dc:creator>Sebastian Galeski_1</dc:creator>
      <dc:date>2002-06-10T12:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: dd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740987#M946803</link>
      <description>Why not use "pvmove"? Or better yet, back the data up to tape and restore it?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 10 Jun 2002 12:21:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740987#M946803</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-06-10T12:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: dd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740988#M946804</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Use &lt;BR /&gt;&lt;BR /&gt;#pvmove /dev/dsk/c1t0d0 /dev/dsk/c2t0d0 &lt;BR /&gt;First one is old disk...next one is new disk.&lt;BR /&gt;&lt;BR /&gt;#pvmove -n /dev/vg01/lvol2 /dev/dsk/c1t0d0 /dev/dsk/c2t0d0 &lt;BR /&gt;( if you want to move physical extents of lvol2 from one disk to another)&lt;BR /&gt;&lt;BR /&gt;You can use dd if you have a raw filesystem and if both the disk capacities are same.&lt;BR /&gt;&lt;BR /&gt;Or else you can create a new VG and Filesystem and then use this command to copy the data&lt;BR /&gt;&lt;BR /&gt;#cd /source-dir&lt;BR /&gt;#find . -depth -print | cpio -pdlmuv /target-dir&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Piyush</description>
      <pubDate>Mon, 10 Jun 2002 12:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740988#M946804</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-06-10T12:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: dd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740989#M946805</link>
      <description>You need to watch out doing dd's like that especially if the disks are LVM disks, you will dd LVM headers from one disk to another... then LVM will start thinking that there are two disks with the same header (it may think its an alternate path)&lt;BR /&gt;&lt;BR /&gt;In any case, if you are going to physically remove the (if input file) disk and replace it with the of (output file) disk there will not be a problem..&lt;BR /&gt;&lt;BR /&gt;But pvmove as suggested works just as well!!&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jun 2002 12:40:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740989#M946805</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-06-10T12:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: dd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740990#M946806</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;  As others suggested, I won't suggest U to go for dd. dd is suitable when U want to restore one HDD's data when U are not able to mount that file system because of some bad block or some other reason. &lt;BR /&gt;&lt;BR /&gt;  If U are able to mount ur file system, then back and restore the data or do direct dumb, Or even U can use pvmove... it is up to U.&lt;BR /&gt;&lt;BR /&gt;Best of luck&lt;BR /&gt;Shahul</description>
      <pubDate>Mon, 10 Jun 2002 13:43:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-command/m-p/2740990#M946806</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2002-06-10T13:43:12Z</dc:date>
    </item>
  </channel>
</rss>

