<?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: Make mirrored PV bootable in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/make-mirrored-pv-bootable/m-p/3372238#M868435</link>
    <description>I would break the mirror that you have existing and start from scratch with RAC's steps above, making sure you don't miss the -B on pvcreate.&lt;BR /&gt;&lt;BR /&gt;For each lvol in vg00:&lt;BR /&gt;# lvreduce -m 0 /dev/vg00/lvolX /dev/dsk/c0t3d0&lt;BR /&gt;# vgreduce vg00 /dev/dsk/c0t3d0&lt;BR /&gt;&lt;BR /&gt;There is a nice cookbook on this to have handy.  It is found within:&lt;BR /&gt;Knowledge Trees --&amp;gt; HPUX Software Recovery Handbook --&amp;gt; Chapter 16 - Logical Volume Manager&lt;BR /&gt;&lt;BR /&gt;Jim</description>
    <pubDate>Fri, 03 Sep 2004 21:21:54 GMT</pubDate>
    <dc:creator>Jim Mallett</dc:creator>
    <dc:date>2004-09-03T21:21:54Z</dc:date>
    <item>
      <title>Make mirrored PV bootable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-mirrored-pv-bootable/m-p/3372236#M868433</link>
      <description>The rootvg of my HP9000/G30 server comprised of two LVM-enabled disks:&lt;BR /&gt;&lt;BR /&gt;PVs:&lt;BR /&gt;/dev/dsk/c0t5d0 (primary boot disk)&lt;BR /&gt;/dev/dsk/c0t3d0 (secondary disk)&lt;BR /&gt;&lt;BR /&gt;The server is running HP-UX 10.2&lt;BR /&gt;&lt;BR /&gt;Software disk mirroring has been done on all LVs of the rootvg (including the swap &amp;amp; dump area) using the "lvextend" command. However, it is found that the secondary PV (i.e. /dev/dsk/c0t3d0) is not bootable.&lt;BR /&gt;&lt;BR /&gt;If the primary harddisk is failed, how could I restart HP-UX using the secondary disk?&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Sep 2004 20:52:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-mirrored-pv-bootable/m-p/3372236#M868433</guid>
      <dc:creator>WL YU</dc:creator>
      <dc:date>2004-09-03T20:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Make mirrored PV bootable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-mirrored-pv-bootable/m-p/3372237#M868434</link>
      <description>Did you use the right procedure?? check it again.&lt;BR /&gt;&lt;BR /&gt;Note the following example is using the disk c1t6d0 as the&lt;BR /&gt;&lt;BR /&gt;mirrored boot disk and c0t6d0 as the boot disk. &lt;BR /&gt;&lt;BR /&gt;1) Initialize the disk and make it bootable&lt;BR /&gt;&lt;BR /&gt; pvcreate -B /dev/rdsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;Note: the -B parameter tell pvcreate that this will be a&lt;BR /&gt;&lt;BR /&gt;bootable disk.&lt;BR /&gt;&lt;BR /&gt;2) Add the physical volume to the volume group&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/vg01 /dev/dsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;3) Use mkboot to place the boot utilities in the boot area and add&lt;BR /&gt;&lt;BR /&gt;the AUTO file.&lt;BR /&gt;&lt;BR /&gt;mkboot /dev/dsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;4) Use mkboot to update the AUTO file on the primary boot&lt;BR /&gt;&lt;BR /&gt;disk.&lt;BR /&gt;&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c0t6d0&lt;BR /&gt;&lt;BR /&gt;5) Mirror the stand, root and swap logical volumes&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol3&lt;BR /&gt;&lt;BR /&gt;Note: LVM will resynchronize the new mirror copies. This step will&lt;BR /&gt;&lt;BR /&gt;takes several minutes &lt;BR /&gt;&lt;BR /&gt;Repeat the lvextend for all other logical volumes on the boot&lt;BR /&gt;&lt;BR /&gt;mirror.&lt;BR /&gt;&lt;BR /&gt;6) Modify your alternate boot path to point to the mirror copy of the&lt;BR /&gt;&lt;BR /&gt;boot disk.&lt;BR /&gt;&lt;BR /&gt;setboot -a 8/8.6.0 # Use the Hardware path for your new&lt;BR /&gt;&lt;BR /&gt;boot disk. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Sep 2004 21:09:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-mirrored-pv-bootable/m-p/3372237#M868434</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-09-03T21:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Make mirrored PV bootable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-mirrored-pv-bootable/m-p/3372238#M868435</link>
      <description>I would break the mirror that you have existing and start from scratch with RAC's steps above, making sure you don't miss the -B on pvcreate.&lt;BR /&gt;&lt;BR /&gt;For each lvol in vg00:&lt;BR /&gt;# lvreduce -m 0 /dev/vg00/lvolX /dev/dsk/c0t3d0&lt;BR /&gt;# vgreduce vg00 /dev/dsk/c0t3d0&lt;BR /&gt;&lt;BR /&gt;There is a nice cookbook on this to have handy.  It is found within:&lt;BR /&gt;Knowledge Trees --&amp;gt; HPUX Software Recovery Handbook --&amp;gt; Chapter 16 - Logical Volume Manager&lt;BR /&gt;&lt;BR /&gt;Jim</description>
      <pubDate>Fri, 03 Sep 2004 21:21:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-mirrored-pv-bootable/m-p/3372238#M868435</guid>
      <dc:creator>Jim Mallett</dc:creator>
      <dc:date>2004-09-03T21:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Make mirrored PV bootable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-mirrored-pv-bootable/m-p/3372239#M868436</link>
      <description>How could I tell whether a PV is created with the "pvcreate -B" option? If I forget to use "-B" option to make a PV bootable, could I use the "pvchange" command to make it bootable later?&lt;BR /&gt;&lt;BR /&gt;If the primary PV (/dev/dsk/c0t5d0) failed before I could make the secondary PV bootable, could I recover the system by merely using a HP-UX 10.x Operating System CD? Or must I do it from scratch and restore the system using backup tapes? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 05 Sep 2004 23:13:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-mirrored-pv-bootable/m-p/3372239#M868436</guid>
      <dc:creator>WL YU</dc:creator>
      <dc:date>2004-09-05T23:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Make mirrored PV bootable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-mirrored-pv-bootable/m-p/3372240#M868437</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you forgot to use -B option, you will have to reestablish the mirroring. First reduce the mirrors on the disk, 'vgreduce' the disk, then start all over again as mentioned above. To verify if the disk was previously created as bootable, do&lt;BR /&gt;&lt;BR /&gt;lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;You should see the other disk as "Boot Disk" in the output. Another way is to do&lt;BR /&gt;&lt;BR /&gt;lifls /dev/dsk/c0t3d0&lt;BR /&gt;lifls /dev/dsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;It should return some entries like AUTO, HPUX etc.,. If it doesn't then it was not created as a bootable disk.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Sun, 05 Sep 2004 23:21:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-mirrored-pv-bootable/m-p/3372240#M868437</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-05T23:21:58Z</dc:date>
    </item>
  </channel>
</rss>

