<?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: alternate rootvg in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-rootvg/m-p/4083881#M309510</link>
    <description>You missed: &lt;BR /&gt;setboot -p 0/1/1/0.0.0 (primary path)&lt;BR /&gt;setboot -h 0/1/1/1.0.0 (secondary)&lt;BR /&gt;&lt;BR /&gt;View paths with lvlnboot -v.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan&lt;BR /&gt;</description>
    <pubDate>Wed, 10 Oct 2007 08:27:04 GMT</pubDate>
    <dc:creator>Ivan Krastev</dc:creator>
    <dc:date>2007-10-10T08:27:04Z</dc:date>
    <item>
      <title>alternate rootvg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-rootvg/m-p/4083880#M309509</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;I'm working on a last resort DR recovery process for a client which will be used in the event everything else has failed.  Which, if the last couple of DR tests are any indication, happens regularly.  &lt;BR /&gt;&lt;BR /&gt;Side note:  I haven't been involved in any of the DR testing yet but will probably be from now on... lucky me.&lt;BR /&gt;&lt;BR /&gt;Basically, the process is to use one of the two internal 140 gig hard disks as an alternate root vg, recover all the required info to that, then reboot off that disk to have the system back.&lt;BR /&gt;&lt;BR /&gt;I have procedures for pa-risc boxes that are somewhat dated but did work.  (&lt;A href="http://www.olearycomputers.com/ll/hpmvrootvg.html)." target="_blank"&gt;http://www.olearycomputers.com/ll/hpmvrootvg.html).&lt;/A&gt;  I'm trying something similar with an itanium 2620.  &lt;BR /&gt;&lt;BR /&gt;My steps for creating a bootable disk are accurate as I used them to mirror the OS disk then verified by booting off the alt disk.  Worked great.  Without going into the exact command lines:&lt;BR /&gt;&lt;BR /&gt;1.  create partition table then partition $rdsk&lt;BR /&gt;2.  insf to create new devices&lt;BR /&gt;3.  mkbook -el $rdsk&lt;BR /&gt;4.  efi_cp boot commands onto ${rdsk}s1&lt;BR /&gt;5.  pvcreate -B ${rdsk}s2; add to existing or create new vg.&lt;BR /&gt;&lt;BR /&gt;I then created new vgroot, requisite lvs, (lvol1-3 being contiguous, nonrelocatable) and mounted everything under /mnt/root.  Finally, "find ${fs[*]} -xdev -print | cpio -pdumvx /mnt/root&lt;BR /&gt;&lt;BR /&gt;After that, I updated lvlnboot.  &lt;BR /&gt;&lt;BR /&gt;# lvlnboot -v&lt;BR /&gt;Boot Definitions for Volume Group /dev/vg00:&lt;BR /&gt;Physical Volumes belonging in Root Volume Group:&lt;BR /&gt;        /dev/dsk/c2t1d0s2 (0/1/1/0.1.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c2t1d0s2&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c2t1d0s2&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c2t1d0s2&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c2t1d0s2, 0&lt;BR /&gt;&lt;BR /&gt;Boot Definitions for Volume Group /dev/vgroot:&lt;BR /&gt;Physical Volumes belonging in Root Volume Group:&lt;BR /&gt;        /dev/dsk/c2t0d0s2 (0/1/1/0.0.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c2t0d0s2&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c2t0d0s2&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c2t0d0s2&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c2t0d0s2, 0&lt;BR /&gt;&lt;BR /&gt;After udpating /mnt/root/etc/fstab to reflect vgroot vs vg00, everything looks right.  When I run a efi_cp on the alt disk, I see "boot vmunix" &lt;BR /&gt;&lt;BR /&gt;# echo $rdsk &lt;BR /&gt;/dev/rdsk/c2t0d0&lt;BR /&gt;# efi_cp -d ${rdsk}s1 -u /EFI/HPUX/AUTO /tmp/blivit&lt;BR /&gt;# cat /tmp/blivit&lt;BR /&gt;boot vmunix&lt;BR /&gt;&lt;BR /&gt;However, when I reboot and select alt boot from the scroll menu, I get:&lt;BR /&gt;&lt;BR /&gt;Loading.: HP-UX Alternate Boot: 0/1/1/0.0.0&lt;BR /&gt;Load of HP-UX Alternate Boot: 0/1/1/0.0.0 failed: Not Found&lt;BR /&gt;&lt;BR /&gt;Any idea what I'm missing?  &lt;BR /&gt;&lt;BR /&gt;Thanks for any hints/tips/suggestions.&lt;BR /&gt;&lt;BR /&gt;Doug O'Leary</description>
      <pubDate>Wed, 10 Oct 2007 08:09:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-rootvg/m-p/4083880#M309509</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2007-10-10T08:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: alternate rootvg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-rootvg/m-p/4083881#M309510</link>
      <description>You missed: &lt;BR /&gt;setboot -p 0/1/1/0.0.0 (primary path)&lt;BR /&gt;setboot -h 0/1/1/1.0.0 (secondary)&lt;BR /&gt;&lt;BR /&gt;View paths with lvlnboot -v.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Oct 2007 08:27:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-rootvg/m-p/4083881#M309510</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2007-10-10T08:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: alternate rootvg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-rootvg/m-p/4083882#M309511</link>
      <description>Outstanding!  That was it.  Thank you very much.  Points submitted as soon as itrc lets me :)&lt;BR /&gt;&lt;BR /&gt;I'm a bit surprised that I can't use the alt path to boot a different vg... That seems odd to me.  Any rate, it works.  &lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Wed, 10 Oct 2007 08:44:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-rootvg/m-p/4083882#M309511</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2007-10-10T08:44:47Z</dc:date>
    </item>
  </channel>
</rss>

