<?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: Mirroring rootvg in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-rootvg/m-p/2559458#M646783</link>
    <description>Hi Greg:&lt;BR /&gt;&lt;BR /&gt;The full description of the process is described here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In summary form:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -B /dev/rdsk/cXtYdZ&lt;BR /&gt;# vgextend /dev/vg00 /dev/dsk/cXtYdZ&lt;BR /&gt;# mkboot /dev/rdsk/cXtYdZ #...note raw device...&lt;BR /&gt;# mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/cXtYdZ&lt;BR /&gt;# for N in 1 2 3 4 5 6 7 8 #...or more...&lt;BR /&gt;&amp;gt; do&lt;BR /&gt;&amp;gt; lvextend -m 1 /dev/vg00 /dev/dsk/cXtYdZ&lt;BR /&gt;&amp;gt; done&lt;BR /&gt;# lvlnboot -v #...a nice check...&lt;BR /&gt;&lt;BR /&gt;Note that the 'lvextend' of the mirror proceeds *in order* of logical volumes.  Logical volumes 1-3 of vg00 must be first, in order.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Tue, 31 Jul 2001 19:01:53 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-07-31T19:01:53Z</dc:date>
    <item>
      <title>Mirroring rootvg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-rootvg/m-p/2559457#M646782</link>
      <description>I have seem bits and pieces on mirroring the root volume group. I have never done it and I now need to do it. I have my root vg on a 18GB disk and need to mirror it to another 18GB disk. What is the procedure??&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;Greg</description>
      <pubDate>Tue, 31 Jul 2001 18:51:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-rootvg/m-p/2559457#M646782</guid>
      <dc:creator>Greg Bernard</dc:creator>
      <dc:date>2001-07-31T18:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring rootvg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-rootvg/m-p/2559458#M646783</link>
      <description>Hi Greg:&lt;BR /&gt;&lt;BR /&gt;The full description of the process is described here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In summary form:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -B /dev/rdsk/cXtYdZ&lt;BR /&gt;# vgextend /dev/vg00 /dev/dsk/cXtYdZ&lt;BR /&gt;# mkboot /dev/rdsk/cXtYdZ #...note raw device...&lt;BR /&gt;# mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/cXtYdZ&lt;BR /&gt;# for N in 1 2 3 4 5 6 7 8 #...or more...&lt;BR /&gt;&amp;gt; do&lt;BR /&gt;&amp;gt; lvextend -m 1 /dev/vg00 /dev/dsk/cXtYdZ&lt;BR /&gt;&amp;gt; done&lt;BR /&gt;# lvlnboot -v #...a nice check...&lt;BR /&gt;&lt;BR /&gt;Note that the 'lvextend' of the mirror proceeds *in order* of logical volumes.  Logical volumes 1-3 of vg00 must be first, in order.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 31 Jul 2001 19:01:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-rootvg/m-p/2559458#M646783</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-07-31T19:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring rootvg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-rootvg/m-p/2559459#M646784</link>
      <description>Hi Greg:&lt;BR /&gt;&lt;BR /&gt;Assuming you use the typical 8 lvols for vg00&lt;BR /&gt;here is a script which will do it. If not it is easy to change. You will need to set the RAW and COOKED variables to your mirror disk. The mirror disk should be on a separate SCSI bus from the primary boot.&lt;BR /&gt;&lt;BR /&gt;Once you have mirrored, you should also do a mkboot on the primary boot disk to allow booting without a quorum. The command is the same as in the script but the RAW devive should be that of your primary boot. As a last &lt;BR /&gt;step you should change the alternate boot strring to the mirror device so that all you have to do from firmware is "BOOT ALT".&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Tue, 31 Jul 2001 19:10:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-rootvg/m-p/2559459#M646784</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-31T19:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring rootvg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-rootvg/m-p/2559460#M646785</link>
      <description>Creating a mirror of the root disc&lt;BR /&gt;----------------------------------------&lt;BR /&gt;&lt;BR /&gt;To mirror the root disc a second disc of similar size and speed is requried. It is best if the second disc is on another bus.&lt;BR /&gt;&lt;BR /&gt;Caution: Any data on the second disc will be lost.&lt;BR /&gt;&lt;BR /&gt;1) Prepare the new disc for use with LVM using the pvcreate command with the "-B" option to leave room for a boot area (the "-f" option should also be used if the disc has been use for LVM before).&lt;BR /&gt;# pvcreate -B -f /dev/rdsk/cXtYdZ&lt;BR /&gt;&lt;BR /&gt;2) Put a boot area onto the new disc.&lt;BR /&gt;# mkboot /dev/rdsk/cXtYdZ&lt;BR /&gt;&lt;BR /&gt;3) Extend the root volume group to include the new disc.&lt;BR /&gt;# vgextend /dev/vg00 /dev/dsk/cXtYdZ&lt;BR /&gt;&lt;BR /&gt;4) Extend each logical volume so that it has&lt;BR /&gt;a mirror copy. This must be done in order.&lt;BR /&gt;# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cXtYdZ&lt;BR /&gt;# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/cXtYdZ&lt;BR /&gt;# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/cXtYdZ&lt;BR /&gt;...&lt;BR /&gt;   &lt;BR /&gt;5) (Optional) If there are only two discs in  the root volume group then the only time that the system would be booted from the mirror copy would be in the event of a failure of the&lt;BR /&gt;primary boot disc. So the mirror should be&lt;BR /&gt;configured to boot in "no quorum" mode.&lt;BR /&gt;   &lt;BR /&gt;# mkboot -a "hpux -lq" /dev/rdsk/cXtYdZ&lt;BR /&gt;&lt;BR /&gt;6) If diagnostics are installed load the offline diagnostics into the boot area of the new disc.&lt;BR /&gt;&lt;BR /&gt;# cd /usr/sbin/diag/lif&lt;BR /&gt;# mkboot -b updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/cXtYdZ&lt;BR /&gt;&lt;BR /&gt;Notes:&lt;BR /&gt;-----&lt;BR /&gt;The commands pvcreate and mkboot both use the raw disc device file and the commands vgextend and lvextend both use the block disc device file.&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Jul 2001 19:11:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-rootvg/m-p/2559460#M646785</guid>
      <dc:creator>Victor_5</dc:creator>
      <dc:date>2001-07-31T19:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring rootvg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-rootvg/m-p/2559461#M646786</link>
      <description>HI&lt;BR /&gt;This is how I did.&lt;BR /&gt;## Prepare the disk (c2t6d0 in my case)&lt;BR /&gt;pvcreate -Bf /dev/rdsk/c2t6d0&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;mkboot /dev/rdsk/c2t6d0&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c2t6d0&lt;BR /&gt;lvlnboot -v&lt;BR /&gt;lvlnboot -R &lt;BR /&gt;## Mirror the logical volumes.&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;#Verify&lt;BR /&gt;lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;#Verify lvol state (all shoud be current)&lt;BR /&gt;for N in 1 2 3 4 5 6 7 8&lt;BR /&gt;do&lt;BR /&gt;lvdisplay -v /dev/vg00/lvol${N} &lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Backup th LVM configuration&lt;BR /&gt;vgcfgbackup vg00&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Jul 2001 19:18:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-rootvg/m-p/2559461#M646786</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-07-31T19:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring rootvg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-rootvg/m-p/2559462#M646787</link>
      <description>This is how I do it........ (assuming the new disk as /dev/dsk/c2t13d0)...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;pvcreate -B  -f /dev/rdsk/c2t13d0&lt;BR /&gt;mkboot /dev/dsk/c2t13d0&lt;BR /&gt;mkboot -a "hpux (;0)/stand/vmunix" /dev/dsk/c2t13d0&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c2t13d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t13d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t13d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t13d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c2t13d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c2t13d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c2t13d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c2t13d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c2t13d0&lt;BR /&gt;lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;lvlnboot -d /dev/vg00/lvol2&lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;lvlnboot -R</description>
      <pubDate>Tue, 31 Jul 2001 19:28:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-rootvg/m-p/2559462#M646787</guid>
      <dc:creator>DIPAK KUMAR ROY</dc:creator>
      <dc:date>2001-07-31T19:28:16Z</dc:date>
    </item>
  </channel>
</rss>

