<?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: mkboot : mirroring VG00 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865796#M397453</link>
    <description>GREAT !&lt;BR /&gt;Everything works fine :&lt;BR /&gt;&lt;BR /&gt;database, root # vgreduce /dev/vg00 /dev/dsk/c2t6d0&lt;BR /&gt;Volume group "/dev/vg00" has been successfully reduced.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con&lt;BR /&gt;f&lt;BR /&gt;database, root # pvcreate -B /dev/rdsk/c2t6d0&lt;BR /&gt;Physical volume "/dev/rdsk/c2t6d0" has been successfully created.&lt;BR /&gt;database, root # vgextend /dev/vg00 /dev/dsk/c2t6d0&lt;BR /&gt;Volume group "/dev/vg00" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con&lt;BR /&gt;f&lt;BR /&gt;database, root # mkboot /dev/rdsk/c2t6d0&lt;BR /&gt;database, root # mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t6d0&lt;BR /&gt;database, root # lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0&lt;BR /&gt;The newly allocated mirrors are now being synchronized. This operation will&lt;BR /&gt;take some time. Please wait ....&lt;BR /&gt;Logical volume "/dev/vg00/lvol1" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con&lt;BR /&gt;f&lt;BR /&gt;database, root # lvlnboot -v /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 (0/0/0/2/0.6.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c2t6d0 (0/0/0/3/0.6.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c0t6d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c0t6d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c0t6d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c0t6d0, 0&lt;BR /&gt;&lt;BR /&gt;database, root #&lt;BR /&gt;&lt;BR /&gt;i now have to mirror all the lv and make a try using setboot.&lt;BR /&gt;&lt;BR /&gt;Thx all for your help.</description>
    <pubDate>Mon, 18 Oct 2004 10:22:31 GMT</pubDate>
    <dc:creator>Gayet_3</dc:creator>
    <dc:date>2004-10-18T10:22:31Z</dc:date>
    <item>
      <title>mkboot : mirroring VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865789#M397446</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Having 2 disk in vg00, i do several mkboot command :&lt;BR /&gt;#mkboot /dev/rdsk/c2t6d0&lt;BR /&gt;#mkboot -l /dev/rdsk/c2t6d0&lt;BR /&gt;#mkboot -a "hpux /stand/vmunix -lq" /dev/rdsk/c2t6d0&lt;BR /&gt;#mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;Each time answering 'yes'. I don't really know why i have to do all those mkboot things.&lt;BR /&gt;&lt;BR /&gt;Then i made all my lvextend (the lvol2 one's tell me something about LIF but mirror it anyway) &lt;BR /&gt;&lt;BR /&gt;Do i forget some commands ?&lt;BR /&gt;&lt;BR /&gt;The output of lvlnboot command is :&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/c0t6d0 (0/0/0/2/0.6.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c2t6d0 (0/0/0/3/0.6.0)&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c0t6d0&lt;BR /&gt;                        /dev/dsk/c2t6d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c0t6d0&lt;BR /&gt;                        /dev/dsk/c2t6d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c0t6d0&lt;BR /&gt;                        /dev/dsk/c2t6d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c0t6d0, 0&lt;BR /&gt;&lt;BR /&gt;Current path "/dev/dsk/c6t0d0" is an alternate link, skip.&lt;BR /&gt;Current path "/dev/dsk/c6t1d0" is an alternate link, skip.&lt;BR /&gt;Current path "/dev/dsk/c6t2d0" is an alternate link, skip.&lt;BR /&gt;Current path "/dev/dsk/c6t3d0" is an alternate link, skip.&lt;BR /&gt;Current path "/dev/dsk/c6t4d0" is an alternate link, skip.&lt;BR /&gt;Current path "/dev/dsk/c6t5d0" is an alternate link, skip.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;is there a way to know if the pvcreate -B succeded ?</description>
      <pubDate>Mon, 18 Oct 2004 08:50:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865789#M397446</guid>
      <dc:creator>Gayet_3</dc:creator>
      <dc:date>2004-10-18T08:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: mkboot : mirroring VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865790#M397447</link>
      <description>The steps to mirror your boot volume are:&lt;BR /&gt;&lt;BR /&gt;1. Create a physical volume with a boot reserved area&lt;BR /&gt;"pvcreate -B /dev/rdsk/c1t6d0"&lt;BR /&gt;&lt;BR /&gt;2. Add the physical volume to the root VG&lt;BR /&gt;"vgextend /dev/vg00 /dev/dsk/c1t6d0"&lt;BR /&gt;&lt;BR /&gt;3. Use mkboot to place the boot utilities in the boot area and add the AUTO file&lt;BR /&gt;"mkboot /dev/rdsk/c1t6d0"&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 disk&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;"lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t6d0"&lt;BR /&gt;"lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c1t6d0"&lt;BR /&gt;"lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c1t6d0"&lt;BR /&gt;&lt;BR /&gt;6. Modify your alternate boot path&lt;BR /&gt;"setboot -a 8/8.6.0 # use the path of your new boot disk"&lt;BR /&gt;&lt;BR /&gt;7. Edit /stand/bootconf and add your new mirrored boot disk.&lt;BR /&gt;&lt;BR /&gt;That's all there is to it.  You may notice that I left out any lvlnboot commands. That is because they are not ne&lt;BR /&gt;cessary - see the man page:&lt;BR /&gt;&lt;BR /&gt;"This command should be run in recovery mode (-R) whenever the configuration of the root volume group is affected&lt;BR /&gt; by one of the following commands: lvextend, lvmerge, lvreduce, lvsplit, pvmove, lvremove, vgextend, or vgreduce&lt;BR /&gt;(see lvextend(1M), lvmerge(1M), lvreduce(1M), lvsplit(1M), pvmove(1M), lvremove(1M), vgextend(1M), and vgreduce(1&lt;BR /&gt;M)). Starting with HP-UX Release 10.0, this is done automatically."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 18 Oct 2004 08:54:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865790#M397447</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-10-18T08:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: mkboot : mirroring VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865791#M397448</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1. you can use:&lt;BR /&gt; mkboot -a "hpux -lq" /dev/rdsk/c2t6d0 &lt;BR /&gt;insted of:&lt;BR /&gt; mkboot -a "hpux /stand/vmunix -lq" /dev/rdsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;2. you should to do &lt;BR /&gt; mkboot -a  "hpux /stand/vmunix -lq"  for your orginal drive too.&lt;BR /&gt;&lt;BR /&gt;3. on the end of script you have to do:&lt;BR /&gt;&lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;lvlnboot -v -r /dev/vg00/lvol3&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Oct 2004 08:58:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865791#M397448</guid>
      <dc:creator>Slawomir Gora</dc:creator>
      <dc:date>2004-10-18T08:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: mkboot : mirroring VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865792#M397449</link>
      <description>To make root mirror disk see the attached document.</description>
      <pubDate>Mon, 18 Oct 2004 09:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865792#M397449</guid>
      <dc:creator>accent</dc:creator>
      <dc:date>2004-10-18T09:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: mkboot : mirroring VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865793#M397450</link>
      <description>THx,&lt;BR /&gt;&lt;BR /&gt;How can i remove my PV dev/dsk/c2t6d0 from the VG00 in order to do all those command (pvcreate, vgextend, mkboot ....) ?&lt;BR /&gt;Without datalost ofcourse .&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Oct 2004 09:29:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865793#M397450</guid>
      <dc:creator>Gayet_3</dc:creator>
      <dc:date>2004-10-18T09:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: mkboot : mirroring VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865794#M397451</link>
      <description>while my PV is already in the vg00, how can i make the pvcreate command ?</description>
      <pubDate>Mon, 18 Oct 2004 09:39:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865794#M397451</guid>
      <dc:creator>Gayet_3</dc:creator>
      <dc:date>2004-10-18T09:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: mkboot : mirroring VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865795#M397452</link>
      <description>You first do an lvreduce -m 0 for EVERY lvol that is mirrored.&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;Next you do a vgreduce removing your 2nd PV.&lt;BR /&gt;e.g.&lt;BR /&gt;vgreduce /dev/vg00 /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;Man lvreduce, vgreduce for details. Your original boot disk will remain intact.&lt;BR /&gt;&lt;BR /&gt;You can then do a pvcreate -B -f /dev/rdsk/c2t6d0.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Oct 2004 09:52:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865795#M397452</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-10-18T09:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: mkboot : mirroring VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865796#M397453</link>
      <description>GREAT !&lt;BR /&gt;Everything works fine :&lt;BR /&gt;&lt;BR /&gt;database, root # vgreduce /dev/vg00 /dev/dsk/c2t6d0&lt;BR /&gt;Volume group "/dev/vg00" has been successfully reduced.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con&lt;BR /&gt;f&lt;BR /&gt;database, root # pvcreate -B /dev/rdsk/c2t6d0&lt;BR /&gt;Physical volume "/dev/rdsk/c2t6d0" has been successfully created.&lt;BR /&gt;database, root # vgextend /dev/vg00 /dev/dsk/c2t6d0&lt;BR /&gt;Volume group "/dev/vg00" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con&lt;BR /&gt;f&lt;BR /&gt;database, root # mkboot /dev/rdsk/c2t6d0&lt;BR /&gt;database, root # mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t6d0&lt;BR /&gt;database, root # lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0&lt;BR /&gt;The newly allocated mirrors are now being synchronized. This operation will&lt;BR /&gt;take some time. Please wait ....&lt;BR /&gt;Logical volume "/dev/vg00/lvol1" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con&lt;BR /&gt;f&lt;BR /&gt;database, root # lvlnboot -v /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 (0/0/0/2/0.6.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c2t6d0 (0/0/0/3/0.6.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c0t6d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c0t6d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c0t6d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c0t6d0, 0&lt;BR /&gt;&lt;BR /&gt;database, root #&lt;BR /&gt;&lt;BR /&gt;i now have to mirror all the lv and make a try using setboot.&lt;BR /&gt;&lt;BR /&gt;Thx all for your help.</description>
      <pubDate>Mon, 18 Oct 2004 10:22:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865796#M397453</guid>
      <dc:creator>Gayet_3</dc:creator>
      <dc:date>2004-10-18T10:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: mkboot : mirroring VG00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865797#M397454</link>
      <description>CU guys.</description>
      <pubDate>Mon, 18 Oct 2004 10:24:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mkboot-mirroring-vg00/m-p/4865797#M397454</guid>
      <dc:creator>Gayet_3</dc:creator>
      <dc:date>2004-10-18T10:24:28Z</dc:date>
    </item>
  </channel>
</rss>

