<?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: Problem with cloning root disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495883#M215788</link>
    <description>Anthony, &lt;BR /&gt;&lt;BR /&gt;This answer is for learning and test systems, it's not a good answer for production systems. Caveat Emptor.  You could end up with a system that doesn't work/boot/etc.&lt;BR /&gt;&lt;BR /&gt;I think I made this work before by fixing a few things, boot command, LIF area, fstab etc.  Make sure that the boot command in the LIF does NOT have a hardware path - newer versions of HPUX don't need it. Old commands would have been like: &lt;BR /&gt;mkboot -a "hpux (53.3.0;2)/hp-ux" &lt;BR /&gt;but new ones (11i) boot with just the command:&lt;BR /&gt;"hpux"&lt;BR /&gt;which takes the whole hardware path problem out of there.&lt;BR /&gt;Of course, I'd recommend a command of:&lt;BR /&gt;"hpux -lq" to turn off quorum checking on the root volume group.&lt;BR /&gt;&lt;BR /&gt;And one more thing you can try:&lt;BR /&gt;change the fstab entry for "/" to point to &lt;BR /&gt;/dev/root instead of where your current root is (probably /dev/vg00/lvol3).  The /dev/root file is a pv that looks a LOT like /dev/vg00/lvol3 (or wherever your root drive is) -except that it has different major and minor numbers.  But, if you do a lvdisplay on it - it will have the same contents.  Now, you can't do an lvdisplay on it b/c it's not in a volume group - you can fake it by using a symbolic link to that file from a working volume group. &lt;BR /&gt;cd /dev/vg[mostanything]&lt;BR /&gt;ln -s /dev/root . &lt;BR /&gt;lvdisplay -v /dev/vg[mostanything]/root&lt;BR /&gt;&lt;BR /&gt;you can see its exactly the same as your root partition.&lt;BR /&gt;&lt;BR /&gt;Now, take that link out quickly and don't forget ( I don't know what it would do if a service call of some type was made to the vg).  Like I said DO THIS ON TEST SYSTEM!  Anyway, that's what old D series servers are for ...&lt;BR /&gt;&lt;BR /&gt;Well, I brought up a system this way once to retrieve data with an upgrade I was testing/doing.  Also, this was a long time ago, and I'm not sure of what else I had I to do.  This might be what's holding you up.  Also, I did this b/w a 9.x and a 10.x upgraded disk - I really don't know if this would work at all in 11.0 or 11i.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 02 Mar 2005 15:35:50 GMT</pubDate>
    <dc:creator>TwoProc</dc:creator>
    <dc:date>2005-03-02T15:35:50Z</dc:date>
    <item>
      <title>Problem with cloning root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495878#M215783</link>
      <description>I have rp8420 server with one nPar. But I've reconfigure it half-and-half in two nPar. I need to clone the system disk from the first nPar to another.&lt;BR /&gt;&lt;BR /&gt;I've copy rdsks with dd and move the copy disk to new nPar. &lt;BR /&gt;&lt;BR /&gt;I've boot in "-lm" mode and renew the LVM config. And in this way I can boot the system manualy starting with "-lm" mode. But the default boot process dumps with error "PV missing" when its try to activate vg00.&lt;BR /&gt;&lt;BR /&gt;What is correct way to boot from this disk to new partiotion? Or may be it's imposible?&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Mar 2005 08:34:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495878#M215783</guid>
      <dc:creator>Anthony Grouzdev</dc:creator>
      <dc:date>2005-03-02T08:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with cloning root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495879#M215784</link>
      <description>I do not think that dd is for such purpose. There will be a lot of things to change, like kernel is for old system, boot strings, fstab and whole lot of other things.&lt;BR /&gt;&lt;BR /&gt;You should install OS/ignite on the other disk and then restore any non-root disk backups onto it , if you want.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 02 Mar 2005 08:51:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495879#M215784</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-02T08:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with cloning root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495880#M215785</link>
      <description>Thanks ... I understand this.&lt;BR /&gt;I know that its not correst to do this in production.&lt;BR /&gt;&lt;BR /&gt;But i would like to understand - is it possible or not theoretically and in practic.&lt;BR /&gt;&lt;BR /&gt;I think it must be not too difficult.&lt;BR /&gt;&lt;BR /&gt;In my minde i need only change lvm config, remake the kernel (why? ), may be update ioconfig ... that's all. In more older hpuxs (10.x) there were change_root_lvm command to do this.&lt;BR /&gt;&lt;BR /&gt;And in this case I want to understand is it possible or not in 11i? &lt;BR /&gt;&lt;BR /&gt;Just theoretically and for my interest.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot.</description>
      <pubDate>Wed, 02 Mar 2005 09:11:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495880#M215785</guid>
      <dc:creator>Anthony Grouzdev</dc:creator>
      <dc:date>2005-03-02T09:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with cloning root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495881#M215786</link>
      <description>&lt;A href="http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUXB" target="_blank"&gt;http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUXB&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr</description>
      <pubDate>Wed, 02 Mar 2005 09:16:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495881#M215786</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2005-03-02T09:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with cloning root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495882#M215787</link>
      <description>ok , thanks :)))</description>
      <pubDate>Wed, 02 Mar 2005 09:18:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495882#M215787</guid>
      <dc:creator>Anthony Grouzdev</dc:creator>
      <dc:date>2005-03-02T09:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with cloning root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495883#M215788</link>
      <description>Anthony, &lt;BR /&gt;&lt;BR /&gt;This answer is for learning and test systems, it's not a good answer for production systems. Caveat Emptor.  You could end up with a system that doesn't work/boot/etc.&lt;BR /&gt;&lt;BR /&gt;I think I made this work before by fixing a few things, boot command, LIF area, fstab etc.  Make sure that the boot command in the LIF does NOT have a hardware path - newer versions of HPUX don't need it. Old commands would have been like: &lt;BR /&gt;mkboot -a "hpux (53.3.0;2)/hp-ux" &lt;BR /&gt;but new ones (11i) boot with just the command:&lt;BR /&gt;"hpux"&lt;BR /&gt;which takes the whole hardware path problem out of there.&lt;BR /&gt;Of course, I'd recommend a command of:&lt;BR /&gt;"hpux -lq" to turn off quorum checking on the root volume group.&lt;BR /&gt;&lt;BR /&gt;And one more thing you can try:&lt;BR /&gt;change the fstab entry for "/" to point to &lt;BR /&gt;/dev/root instead of where your current root is (probably /dev/vg00/lvol3).  The /dev/root file is a pv that looks a LOT like /dev/vg00/lvol3 (or wherever your root drive is) -except that it has different major and minor numbers.  But, if you do a lvdisplay on it - it will have the same contents.  Now, you can't do an lvdisplay on it b/c it's not in a volume group - you can fake it by using a symbolic link to that file from a working volume group. &lt;BR /&gt;cd /dev/vg[mostanything]&lt;BR /&gt;ln -s /dev/root . &lt;BR /&gt;lvdisplay -v /dev/vg[mostanything]/root&lt;BR /&gt;&lt;BR /&gt;you can see its exactly the same as your root partition.&lt;BR /&gt;&lt;BR /&gt;Now, take that link out quickly and don't forget ( I don't know what it would do if a service call of some type was made to the vg).  Like I said DO THIS ON TEST SYSTEM!  Anyway, that's what old D series servers are for ...&lt;BR /&gt;&lt;BR /&gt;Well, I brought up a system this way once to retrieve data with an upgrade I was testing/doing.  Also, this was a long time ago, and I'm not sure of what else I had I to do.  This might be what's holding you up.  Also, I did this b/w a 9.x and a 10.x upgraded disk - I really don't know if this would work at all in 11.0 or 11i.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Mar 2005 15:35:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495883#M215788</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-03-02T15:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with cloning root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495884#M215789</link>
      <description>It may be therotically possible, never tried it though. Too many things to take care of - kernel, LVM, fstab, network config, applications etc. etc.&lt;BR /&gt;&lt;BR /&gt;So why not old install or ignite??</description>
      <pubDate>Wed, 02 Mar 2005 16:13:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-cloning-root-disk/m-p/3495884#M215789</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-02T16:13:59Z</dc:date>
    </item>
  </channel>
</rss>

