<?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: Mirror boot disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322656#M187664</link>
    <description>Before doing "pvcreate -B", try using the "pvremove" on /dev/rsk/c2t2d0. That will clean up all the old PV info.</description>
    <pubDate>Mon, 05 Jul 2004 03:43:39 GMT</pubDate>
    <dc:creator>Krishnan Viswanathan</dc:creator>
    <dc:date>2004-07-05T03:43:39Z</dc:date>
    <item>
      <title>Mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322646#M187654</link>
      <description>I was created a mirror boot disk. I using lvdisplay -v /dev/vg00/lvol1 and lvol2 and lvol3, mirror copy is 1 and data are located on these 2 disks. It looks fine.but why lvolnboot -v doesn't show the correct message.&lt;BR /&gt;Deos anyone knows why /dev/dsk/c2t2d0 doesn't shows --Boot.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;s1:/etc#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/c1t2d0 (0/0/1/1.2.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c2t2d0 (0/0/2/0.2.0)&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c1t2d0&lt;BR /&gt;                        /dev/dsk/c2t2d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c1t2d0&lt;BR /&gt;                        /dev/dsk/c2t2d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c1t2d0&lt;BR /&gt;                        /dev/dsk/c2t2d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c1t2d0, 0&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jul 2004 02:38:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322646#M187654</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2004-07-05T02:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322647#M187655</link>
      <description>U have to set them &lt;BR /&gt;&lt;BR /&gt;lvlnboot -r &lt;ROOT&gt;&lt;BR /&gt;lvlnboot -b &lt;BOOT&gt;&lt;BR /&gt;lvlnboot -s &lt;SWAP&gt;&lt;BR /&gt;lvlnboot -d &lt;DUMP&gt;&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then &lt;BR /&gt;&lt;BR /&gt;check by lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;Kaps&lt;/DUMP&gt;&lt;/SWAP&gt;&lt;/BOOT&gt;&lt;/ROOT&gt;</description>
      <pubDate>Mon, 05 Jul 2004 02:47:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322647#M187655</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-07-05T02:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322648#M187656</link>
      <description>I hope u have done mkboot (Making the second disk bootable)&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Mon, 05 Jul 2004 02:48:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322648#M187656</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-07-05T02:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322649#M187657</link>
      <description>Have you done pvcreate -B before adding disk into volume group vg00 ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sunil</description>
      <pubDate>Mon, 05 Jul 2004 02:58:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322649#M187657</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2004-07-05T02:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322650#M187658</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;should have been pvcreated with the -b option.&lt;BR /&gt;&lt;BR /&gt;when you do create a PV with the -b option, the BDRA is created by whcih the PV is recognised as bootable. &lt;BR /&gt;&lt;BR /&gt;with best wishes&lt;BR /&gt;Naveej</description>
      <pubDate>Mon, 05 Jul 2004 03:00:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322650#M187658</guid>
      <dc:creator>Naveej.K.A</dc:creator>
      <dc:date>2004-07-05T03:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322651#M187659</link>
      <description>Following are my configu steps. Does it wrong on which step? Why lvlnboot -v doesn't show /dev/dsk/c2t2d0 (0/0/2/0.2.0)--Boot disk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;pvcreate -B /dev/rdsk/c2t2d0&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c2t2d0&lt;BR /&gt;mkboot /dev/dsk/c2t2d0&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c2t2d0&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c1t2d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol2&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol3&lt;BR /&gt;setboot -a 0/2.6.0</description>
      <pubDate>Mon, 05 Jul 2004 03:06:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322651#M187659</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2004-07-05T03:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322652#M187660</link>
      <description>u did not "lvlnboot" ? thats the only error i can see&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Mon, 05 Jul 2004 03:07:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322652#M187660</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-07-05T03:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322653#M187661</link>
      <description>The c2t2d0 disk needs to be made as bootable disk. Follow the following steps.&lt;BR /&gt;&lt;BR /&gt;First you will need to "lvreduce" on each lvol to remove the mirror on c2t2d0, then do "vgreduce" and remove the c2t2d0 disk.&lt;BR /&gt;&lt;BR /&gt;Start with  "pvcreate -B /dev/rdsk/c2t2d0" first. &lt;BR /&gt;Then execute- mkboot -a "hpux -lq" /dev/rdsk/c2t2d0 &lt;BR /&gt;After that , you will need to add the device back to the VG (using "vgextend) and start with remirroring. "lvextend all the lvols"&lt;BR /&gt;At this point, the second disk should show up up as a "boot disk" in the lvlnboot -v command. &lt;BR /&gt;Now, perform "lvlnboot -R". &lt;BR /&gt;Also, update the LIF structure on the secondary disk using &lt;BR /&gt;mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c2t2d0&lt;BR /&gt;&lt;BR /&gt;Execute "setboot" and see that 0/0/2/0.2.0 shows up as alternate boot path. If not, use the "setboot" command to set it as alternate boot path&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Krishnan</description>
      <pubDate>Mon, 05 Jul 2004 03:12:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322653#M187661</guid>
      <dc:creator>Krishnan Viswanathan</dc:creator>
      <dc:date>2004-07-05T03:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322654#M187662</link>
      <description>But I can see Boot , root, swap, as below, why do I use lvlnboot -r ..... , My concern is : should /dev/dsk/c2t2d0 (0/0/2/0.2.0) shows --Boot Disk ? Because I only see /dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk in lvlnboot -v ? Thanks.&lt;BR /&gt;&lt;BR /&gt;s1:/etc#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/c1t2d0 (0/0/1/1.2.0) -- Boot Disk&lt;BR /&gt;/dev/dsk/c2t2d0 (0/0/2/0.2.0)&lt;BR /&gt;Boot: lvol1 on: /dev/dsk/c1t2d0&lt;BR /&gt;/dev/dsk/c2t2d0&lt;BR /&gt;Root: lvol3 on: /dev/dsk/c1t2d0&lt;BR /&gt;/dev/dsk/c2t2d0&lt;BR /&gt;Swap: lvol2 on: /dev/dsk/c1t2d0&lt;BR /&gt;/dev/dsk/c2t2d0&lt;BR /&gt;Dump: lvol2 on: /dev/dsk/c1t2d0, 0</description>
      <pubDate>Mon, 05 Jul 2004 03:20:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322654#M187662</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2004-07-05T03:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322655#M187663</link>
      <description>If you do not make the disk as a "bootable disk" using the "pcvreate -B" option, it will not show up in "lvlnboot" listing. Please follow the steps that I mentioned earlier after making sure that the first copy of mirror does not show any bad extents. Also, it would be nice if you can allocate appropriate points to the replies made by everyone. Thanks</description>
      <pubDate>Mon, 05 Jul 2004 03:31:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322655#M187663</guid>
      <dc:creator>Krishnan Viswanathan</dc:creator>
      <dc:date>2004-07-05T03:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322656#M187664</link>
      <description>Before doing "pvcreate -B", try using the "pvremove" on /dev/rsk/c2t2d0. That will clean up all the old PV info.</description>
      <pubDate>Mon, 05 Jul 2004 03:43:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322656#M187664</guid>
      <dc:creator>Krishnan Viswanathan</dc:creator>
      <dc:date>2004-07-05T03:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322657#M187665</link>
      <description>How to remove the mirror boot disk? I'd like to redo it. Thanks.</description>
      <pubDate>Mon, 05 Jul 2004 03:55:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322657#M187665</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2004-07-05T03:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322658#M187666</link>
      <description>lvreduce /dev/vg00/lvol1 /dev/dsk/c2t2d0.&lt;BR /&gt;&lt;BR /&gt;do the same for all lvols. &lt;BR /&gt;&lt;BR /&gt;Once all lvols are reduced, execute&lt;BR /&gt; vgreduce /dev/vg00 /dev/dsk/c2t2d0.&lt;BR /&gt;&lt;BR /&gt;Perform "pvremove /dev/dsk/c2t2d0.&lt;BR /&gt;Then execute "pvcreate -B" command and the rest of the steps&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jul 2004 03:59:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322658#M187666</guid>
      <dc:creator>Krishnan Viswanathan</dc:creator>
      <dc:date>2004-07-05T03:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322659#M187667</link>
      <description>Here's a procedure I use:&lt;BR /&gt;&lt;BR /&gt;Say /dev/dsk/c0t6d0 is the root disk and /dev/dsk/c3t6d0 is the disk you want to make a mirror of.&lt;BR /&gt;1. Create a bootable LVM disk to be used for the mirror.&lt;BR /&gt;pvcreate -B /dev/rdsk/c3t6d0&lt;BR /&gt;2. Add this disk to the current root volume group.&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c3t6d0&lt;BR /&gt;3. Make the new disk a boot disk.&lt;BR /&gt;mkboot -l /dev/rdsk/c3t6d0&lt;BR /&gt;4. Copy the correct AUTO file into the new LIF area.&lt;BR /&gt;mkboot -a "hpux -lq (;0)/vmunix" /dev/rdsk/c3t6d0&lt;BR /&gt;5. Mirror the boot, root and primary swap logical volumes to the new&lt;BR /&gt;bootable disk. Ensure that all devices in vg00, such as /usr, /swap,&lt;BR /&gt;etc., are mirrored.&lt;BR /&gt;The following is an example of mirroring the boot logical volume:&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t6d0&lt;BR /&gt;The following is an example of mirroring the primary swap logical&lt;BR /&gt;volume:&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c3t6d0&lt;BR /&gt;The following is an example of mirroring the root logical volume:&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t6d0&lt;BR /&gt;6. Update the boot information contained in the BDRA for the mirror&lt;BR /&gt;copies of boot, primary swap and root.&lt;BR /&gt;/usr/sbin/lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;/usr/sbin/lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;/usr/sbin/lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;7. Check if the BDRA is correct.&lt;BR /&gt;/usr/sbin/lvlnboot -R /dev/vg00&lt;BR /&gt;8. Verify that the mirrors were properly created.&lt;BR /&gt;lvlnboot -v /dev/vg00&lt;BR /&gt;The output of this command is shown in a display like the following:&lt;BR /&gt;Boot Definitions for Volume Group /dev/vg00:&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/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk&lt;BR /&gt;/dev/dsk/c3t6d0 (1/0/1/0/0/1/1.6.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1 on: /dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c3t6d0&lt;BR /&gt;Root: lvol3 on: /dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c3t6d0&lt;BR /&gt;Swap: lvol2 on: /dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c3t6d0&lt;BR /&gt;Dump: lvol2 on: /dev/dsk/c0t6d0, 0&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg00&lt;BR /&gt;Then lvextend for all other lvols:&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol9 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol10 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol11 /dev/dsk/c3t6d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I also attached - in case cut'n'paste didn't work....&lt;BR /&gt;&lt;BR /&gt;Rgds..Geoff</description>
      <pubDate>Mon, 05 Jul 2004 07:51:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/3322659#M187667</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-07-05T07:51:11Z</dc:date>
    </item>
  </channel>
</rss>

