<?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: query regarding DD command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260423#M472091</link>
    <description>AS,&lt;BR /&gt;&lt;BR /&gt;YES you can. And YES it will copy everything - even the "BOOT area".&lt;BR /&gt;&lt;BR /&gt;We do this quite regulary in cloning systems. A 36 GB OS Disk using a bsize of 1024k (please use this or even 4096k) can be done in about 20 to 30 minutes. We have also in the past done a dd accross the network.&lt;BR /&gt;&lt;BR /&gt;And to make use of this dd-copy disk on a different vPar or physical server simply have a copy of your vg00's (or however you name your OS LVM group) mapfile somewhere on the disk before you dd copy. In my config, my OSes always dump vg00.map to /.dr/vg00.map so it will always be available. And the steps to "re-settle" this cloned OS disk on another vPar or physical server is as follows:&lt;BR /&gt;&lt;BR /&gt;1.) Boot the disk path in LVM maintenance mode "-lm"&lt;BR /&gt;2.) Login if OS is a secure boot environment&lt;BR /&gt;3.) ioscan, insf... etc&lt;BR /&gt;4.) determine the cXtYdZ value of your disk (pick one cXtYdZ if it is a SAN Boot disk)&lt;BR /&gt;5.) vgexport vg00&lt;BR /&gt;6.) create vg00 group dir and node file&lt;BR /&gt;7.) vgimport the disk using the vg00.map file from earlier&lt;BR /&gt;8.) vgchange... fsck all rlvols&lt;BR /&gt;9.) do your lvlnboot gyrations&lt;BR /&gt;10.) mount salient filesystems &lt;BR /&gt;11.) Edit networking, hostname, fstab, other needful configs, etc, etc.&lt;BR /&gt;12.) Boot your cloned OS on your new vPar or server.&lt;BR /&gt;&lt;BR /&gt;Enjoy!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 28 Oct 2010 12:40:04 GMT</pubDate>
    <dc:creator>Zinky</dc:creator>
    <dc:date>2010-10-28T12:40:04Z</dc:date>
    <item>
      <title>query regarding DD command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260419#M472087</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a to clone the primary boot disk of one of my vPars. Is 'DD' appropriate for the task or not? My main concern is whether 'DD' will copy the data of Boot Area.&lt;BR /&gt;&lt;BR /&gt;I want to use the cloned disk as the primary boot disk of another vPar.&lt;BR /&gt;&lt;BR /&gt;I'm asking if this would work.&lt;BR /&gt;dd if=/dev/rdsk/c1t2d0 of=/dev/rdsk/c2t2d0 bs=1024  &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ashutosh Singh</description>
      <pubDate>Wed, 27 Oct 2010 08:17:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260419#M472087</guid>
      <dc:creator>Tata Consultants</dc:creator>
      <dc:date>2010-10-27T08:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: query regarding DD command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260420#M472088</link>
      <description>IMHO it is much better to use an ignite golden image.</description>
      <pubDate>Wed, 27 Oct 2010 09:18:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260420#M472088</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-10-27T09:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: query regarding DD command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260421#M472089</link>
      <description>Clay Stephenson always swore but what he called a "lifeboat", which was a dd'd copy of the root disk that he could swap in in case of failure.  Try googling "lifeboat +site:itrc.hp.com"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 27 Oct 2010 09:25:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260421#M472089</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2010-10-27T09:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: query regarding DD command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260422#M472090</link>
      <description>Hi Ashutosh,&lt;BR /&gt;&lt;BR /&gt;U have two other options such as Ignite image of OS, take ignite and install that ignite on the targeted disk on required vpar.&lt;BR /&gt;Other one is U can mirror the disk to this root disk if u want exact replica of this disk.&lt;BR /&gt;&lt;BR /&gt;Hope this solves ur query.&lt;BR /&gt;Don't forget to assign points.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Vishnu Khandare</description>
      <pubDate>Thu, 28 Oct 2010 11:44:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260422#M472090</guid>
      <dc:creator>vishnu.khandare</dc:creator>
      <dc:date>2010-10-28T11:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: query regarding DD command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260423#M472091</link>
      <description>AS,&lt;BR /&gt;&lt;BR /&gt;YES you can. And YES it will copy everything - even the "BOOT area".&lt;BR /&gt;&lt;BR /&gt;We do this quite regulary in cloning systems. A 36 GB OS Disk using a bsize of 1024k (please use this or even 4096k) can be done in about 20 to 30 minutes. We have also in the past done a dd accross the network.&lt;BR /&gt;&lt;BR /&gt;And to make use of this dd-copy disk on a different vPar or physical server simply have a copy of your vg00's (or however you name your OS LVM group) mapfile somewhere on the disk before you dd copy. In my config, my OSes always dump vg00.map to /.dr/vg00.map so it will always be available. And the steps to "re-settle" this cloned OS disk on another vPar or physical server is as follows:&lt;BR /&gt;&lt;BR /&gt;1.) Boot the disk path in LVM maintenance mode "-lm"&lt;BR /&gt;2.) Login if OS is a secure boot environment&lt;BR /&gt;3.) ioscan, insf... etc&lt;BR /&gt;4.) determine the cXtYdZ value of your disk (pick one cXtYdZ if it is a SAN Boot disk)&lt;BR /&gt;5.) vgexport vg00&lt;BR /&gt;6.) create vg00 group dir and node file&lt;BR /&gt;7.) vgimport the disk using the vg00.map file from earlier&lt;BR /&gt;8.) vgchange... fsck all rlvols&lt;BR /&gt;9.) do your lvlnboot gyrations&lt;BR /&gt;10.) mount salient filesystems &lt;BR /&gt;11.) Edit networking, hostname, fstab, other needful configs, etc, etc.&lt;BR /&gt;12.) Boot your cloned OS on your new vPar or server.&lt;BR /&gt;&lt;BR /&gt;Enjoy!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Oct 2010 12:40:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260423#M472091</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2010-10-28T12:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: query regarding DD command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260424#M472092</link>
      <description>Sorry, just re-read my posting:&lt;BR /&gt;&lt;BR /&gt;Should have been "Clay swore by" not "swore but".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 28 Oct 2010 13:06:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260424#M472092</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2010-10-28T13:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: query regarding DD command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260425#M472093</link>
      <description>AS,&lt;BR /&gt;&lt;BR /&gt;If this environment is on an 11i v3 (aka 11.31) - then you may just want to go the route of using DRD tool. Far easier.&lt;BR /&gt;&lt;BR /&gt;Also, IF your OS disks are on a SAN Array - you can use your array's snapshot or hardware clone facilities to do the same. but the above procedure you will still need to follow to "re-settle" your OS disk.&lt;BR /&gt;&lt;BR /&gt;FWIW.&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Oct 2010 13:22:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260425#M472093</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2010-10-28T13:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: query regarding DD command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260426#M472094</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;Thanks for all the answers.&lt;BR /&gt;What I exactly want is a plug and play Hard Disk with HP-UX.&lt;BR /&gt;It simply means:&lt;BR /&gt;1. My OS is on vg00 and it has single Hard   Disk /dev/disk/disk1.&lt;BR /&gt;2. Now I cloned the Hard Disk to another one /dev/disk/disk2 with "DD" (removing it from vpar and keeping it as backup).&lt;BR /&gt;3. Then my vPar crashes.&lt;BR /&gt;4. Then I physically replace /dev/disk/disk1 with /dev/disk/disk2.&lt;BR /&gt;5. Now I want that the server should be fully up when I specify in the boot path the new disk' address.&lt;BR /&gt;&lt;BR /&gt;Actually I can't try this at my Datacenter, so any comments will be appreciated.</description>
      <pubDate>Fri, 29 Oct 2010 09:45:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260426#M472094</guid>
      <dc:creator>Tata Consultants</dc:creator>
      <dc:date>2010-10-29T09:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: query regarding DD command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260427#M472095</link>
      <description>Here are some of the many results from googling for "lifeboat":&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1060083" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1060083&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1171951" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1171951&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1083682" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1083682&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=51838" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=51838&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Pay particular attention to Clay Stephenson's postings.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 29 Oct 2010 09:53:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260427#M472095</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2010-10-29T09:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: query regarding DD command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260428#M472096</link>
      <description>Sir,&lt;BR /&gt;The fact that you obviously are on HP-UX 11.31 means whatyou NEED is simply DRD (or Dynamic Root Disk) sir.&lt;BR /&gt;&lt;BR /&gt;Read all aboout it:  &lt;A href="http://h71028.www7.hp.com/enterprise/w1/en/os/hpux11i-system-management-dynamic-root-disk.html" target="_blank"&gt;http://h71028.www7.hp.com/enterprise/w1/en/os/hpux11i-system-management-dynamic-root-disk.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It is SOOO easy.&lt;BR /&gt;&lt;BR /&gt;Let us know if you need to be walked through and we'llgive you actual, blow by blow on how it is used sir.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Oct 2010 15:05:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260428#M472096</guid>
      <dc:creator>Zinky</dc:creator>
      <dc:date>2010-10-29T15:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: query regarding DD command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260429#M472097</link>
      <description>Thanks to all.&lt;BR /&gt;Closing the thread.</description>
      <pubDate>Thu, 18 Nov 2010 12:47:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260429#M472097</guid>
      <dc:creator>Tata Consultants</dc:creator>
      <dc:date>2010-11-18T12:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: query regarding DD command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260430#M472098</link>
      <description>Closed ......</description>
      <pubDate>Thu, 18 Nov 2010 12:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-regarding-dd-command/m-p/5260430#M472098</guid>
      <dc:creator>Tata Consultants</dc:creator>
      <dc:date>2010-11-18T12:47:50Z</dc:date>
    </item>
  </channel>
</rss>

