<?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: add a mirror boot disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142282#M155657</link>
    <description>First important to know is : Do you have the Mirror/UX software?  If not, you'll need a codeword and install it from the Application CD. &lt;BR /&gt;&lt;BR /&gt;You can add a mirror boot disk without messing with your current environment. &lt;BR /&gt;&lt;BR /&gt;Steps are : &lt;BR /&gt;1) pvcreate -B /dev/rdsk/c1t1d1 (this will pvcreate your disk but will add the Boot area)&lt;BR /&gt;2) mkboot /dev/rdsk/c1t1d1&lt;BR /&gt;3) mkboot -a "hpux -lq" /dev/rdsk/c1t1d1 (this will boot without the quorum cause chances are if you're booting from that disk means the other one is dead)&lt;BR /&gt;4) vgextend vg00 /dev/dsk/c1t1d1&lt;BR /&gt;5) for i in 1 2 3 4 5 6 7 8 9 &lt;BR /&gt;do &lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol$i /dev/dsk/c1t1d1&lt;BR /&gt;done&lt;BR /&gt;6) lvlnboot -v (to verify that everything shows up fine. &lt;BR /&gt;&lt;BR /&gt;Once your VG is mirrored, you will be able to boot from either disk, and if the first one fail, you'll be able to boot from the second one.  So yes, you'll be able to shutdown replace the disk, bring it up using the second disks and re-sync back your mirror.  More steps are involved in that, but you can search the Knowledge Base at ITRC for a document called LVM : Replacing mirrored disks. &lt;BR /&gt;&lt;BR /&gt;And you don't need to unmount any filesystems in order to mirror.</description>
    <pubDate>Thu, 11 Dec 2003 09:56:34 GMT</pubDate>
    <dc:creator>Marco Santerre</dc:creator>
    <dc:date>2003-12-11T09:56:34Z</dc:date>
    <item>
      <title>add a mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142279#M155654</link>
      <description>There is only one boot disk on one of my production HP-UX box (11.11), and No hard Raind Controller.&lt;BR /&gt;&lt;BR /&gt;There are 9 logical volumes for the vg00 (one HD 18G). they arr,&lt;BR /&gt;lvol1 300M&lt;BR /&gt;lvol2 1G (Swap &amp;amp; dump)&lt;BR /&gt;lvol3 200M (Boot)&lt;BR /&gt;lvol4 200M&lt;BR /&gt;lvol5 20M&lt;BR /&gt;lvol6 852M&lt;BR /&gt;lvol7 1.1G&lt;BR /&gt;lvol  1.5G&lt;BR /&gt;lvol9 12G&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If the current disk is /dev/dsk/c1t1d0 18G&lt;BR /&gt;and the new disk is /dev/dsk/c1t1d1 18G&lt;BR /&gt;&lt;BR /&gt;Can I add a mirror boot disk without screwing up the current HP-UX 11 by&lt;BR /&gt;&lt;BR /&gt;1."pvcreat -f /dev/rdsk/c1t1d1" to create the new PV for the new disk.&lt;BR /&gt;&lt;BR /&gt;2."vgextend /dev/vg00 /dev/dsk/c1t1d1"&lt;BR /&gt;to extend the vg00 &lt;BR /&gt;&lt;BR /&gt;3."lvextend -m l /dev/vg00/lvol1 /desk/dsk/c1t1d1" to extend lvol11 and mirror it. then mirror all the rest logical volume 2-9.&lt;BR /&gt;&lt;BR /&gt;My question is,&lt;BR /&gt;1. if the above steps work.&lt;BR /&gt;2. shall I apply the "lvlnboot" and "lvchange" on the boot &amp;amp; swap volume lvol2.&lt;BR /&gt;3.after mirroring the boot disk, if either of the twoo mirrored disk fails, can I remove the failed one, boot the HP-UX box by the other HD and rebuilt the mirror.&lt;BR /&gt;4.Shall I unmount the mount point "/","/var","/stand","/etc" to extend/mirror the volumes.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Dec 2003 09:43:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142279#M155654</guid>
      <dc:creator>cazxd</dc:creator>
      <dc:date>2003-12-11T09:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: add a mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142280#M155655</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use:&lt;BR /&gt;PS. Change c2ttd0 in c1t1d1&lt;BR /&gt;&lt;BR /&gt;# Make a bootable Physical Volume&lt;BR /&gt;&lt;BR /&gt;pvcreate -f -B /dev/rdsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;# Extend vg00 with mirror disk&lt;BR /&gt;&lt;BR /&gt;vgextend vg00  /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;# Install and update boot programw on disk&lt;BR /&gt;&lt;BR /&gt;mkboot /dev/dsk/c2t6d0&lt;BR /&gt;mkboot -a 'hpux -lq' /dev/dsk/c2t6d0&lt;BR /&gt;mkboot -b /usr/sbin/diag/lif/updatediaglif \&lt;BR /&gt;        -p ISL -p HPUX -p LABEL -p AUTO /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;# Show the lifarea of new disk&lt;BR /&gt;&lt;BR /&gt;lifls /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;# Extend the mirrorcopies of each Logical Volume&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0      # Extend the mirrorcopies of each Logical Volume&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /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;lvextend -m 1 /dev/vg00/lvol9 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol10 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol11 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol12 /dev/dsk/c2t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol13 /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;# Prepare Logical Volume to be root, boot, swap or dump volume&lt;BR /&gt;&lt;BR /&gt;lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;lvlnboot -d /dev/vg00/lvol2&lt;BR /&gt;lvlnboot -R /dev/vg00        &lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Thu, 11 Dec 2003 09:48:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142280#M155655</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2003-12-11T09:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: add a mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142281#M155656</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Firstly you MUST pvcreate with -B to reserver the boot area - like&lt;BR /&gt;&lt;BR /&gt;pvcreate -fB /dev/rdsk/c1t1d1&lt;BR /&gt;&lt;BR /&gt;Then you need several steps between steps 2 &amp;amp; 3 - they are&lt;BR /&gt;&lt;BR /&gt;A)mkboot -l /dev/rdsk/c1t1d1&lt;BR /&gt;B)mkboot -a "hpux -lq" /dev/rdsk/c1t1d1&lt;BR /&gt;C)mkboot -a "hpux -lq" /dev/rdsk/c1t1d0&lt;BR /&gt;&lt;BR /&gt;Then I usually mirror the LVs in a for loop:&lt;BR /&gt;&lt;BR /&gt;for i in 1 2 3 4 5 6 7 9 11&lt;BR /&gt;do&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol$i&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Then check it with an lvlnboot -v&lt;BR /&gt;And finally you'll want to get the ODE (OffLine Diags) on the mirror as well - command would be like:&lt;BR /&gt;&lt;BR /&gt;mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c1t1d1&lt;BR /&gt;&lt;BR /&gt;You can check whether teh ODE LIF files are present with&lt;BR /&gt;&lt;BR /&gt;lifls -l /dev/rdsk/c1t1d1&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Dec 2003 09:51:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142281#M155656</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-12-11T09:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: add a mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142282#M155657</link>
      <description>First important to know is : Do you have the Mirror/UX software?  If not, you'll need a codeword and install it from the Application CD. &lt;BR /&gt;&lt;BR /&gt;You can add a mirror boot disk without messing with your current environment. &lt;BR /&gt;&lt;BR /&gt;Steps are : &lt;BR /&gt;1) pvcreate -B /dev/rdsk/c1t1d1 (this will pvcreate your disk but will add the Boot area)&lt;BR /&gt;2) mkboot /dev/rdsk/c1t1d1&lt;BR /&gt;3) mkboot -a "hpux -lq" /dev/rdsk/c1t1d1 (this will boot without the quorum cause chances are if you're booting from that disk means the other one is dead)&lt;BR /&gt;4) vgextend vg00 /dev/dsk/c1t1d1&lt;BR /&gt;5) for i in 1 2 3 4 5 6 7 8 9 &lt;BR /&gt;do &lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol$i /dev/dsk/c1t1d1&lt;BR /&gt;done&lt;BR /&gt;6) lvlnboot -v (to verify that everything shows up fine. &lt;BR /&gt;&lt;BR /&gt;Once your VG is mirrored, you will be able to boot from either disk, and if the first one fail, you'll be able to boot from the second one.  So yes, you'll be able to shutdown replace the disk, bring it up using the second disks and re-sync back your mirror.  More steps are involved in that, but you can search the Knowledge Base at ITRC for a document called LVM : Replacing mirrored disks. &lt;BR /&gt;&lt;BR /&gt;And you don't need to unmount any filesystems in order to mirror.</description>
      <pubDate>Thu, 11 Dec 2003 09:56:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142282#M155657</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-12-11T09:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: add a mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142283#M155658</link>
      <description>My 2 cents.&lt;BR /&gt;&lt;BR /&gt;Complete procedure as a reference.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;pvcreate -B /dev/rdsk/c1t0d0 #use real disk&lt;BR /&gt;&lt;BR /&gt;mkboot -l /dev/rdsk/c1t0d0&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;If you are running 64-bit OS:&lt;BR /&gt;&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0&lt;BR /&gt;&lt;BR /&gt;# real disk. repeat for other lvols&lt;BR /&gt;&lt;BR /&gt;lvlnboot -r /dev/vg00/lvol3 # root fs /&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2 #swap&lt;BR /&gt;lvlnboot -d /dev/vg00/lvol2 #swap/dump&lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;lvlnboot -v&lt;BR /&gt;setboot&lt;BR /&gt;setboot -a 52.1.0 # second disk&lt;BR /&gt;&lt;BR /&gt;Good Luck.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 11 Dec 2003 09:57:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142283#M155658</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-12-11T09:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: add a mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142284#M155659</link>
      <description>Oops - forgot the device in that mirror command:&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol$i /dev/dsk/c1t1d1&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 11 Dec 2003 10:06:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142284#M155659</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-12-11T10:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: add a mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142285#M155660</link>
      <description>This is a very good document explains all steps needed to mirror your boot disk (TKB #LVMKBRC00005103):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000071337682" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000071337682&lt;/A&gt;</description>
      <pubDate>Thu, 11 Dec 2003 10:11:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142285#M155660</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-12-11T10:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: add a mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142286#M155661</link>
      <description>I just did this recently on 1 of my servers:&lt;BR /&gt;&lt;BR /&gt;pvcreate -B /dev/rdsk/c5t8d0&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c5t8d0&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c5t8d0&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;/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;lvextend -m 1 /dev/vg00/lvol4&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol5&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol6&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol7&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol8&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvapp&lt;BR /&gt;lvextend -m 1 /dev/vg00/dbapp&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol9&lt;BR /&gt;&lt;BR /&gt;Important thing is, do a:&lt;BR /&gt;&lt;BR /&gt;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 (1/0/0/3/0.6.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c5t8d0 (1/0/2/0/1.8.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c0t6d0&lt;BR /&gt;                        /dev/dsk/c5t8d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c0t6d0&lt;BR /&gt;                        /dev/dsk/c5t8d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c0t6d0&lt;BR /&gt;                        /dev/dsk/c5t8d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c0t6d0, 0&lt;BR /&gt;&lt;BR /&gt;You need to see "Boot Disk" on both devs in order for each of them to be bootable.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Dec 2003 13:20:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-a-mirror-boot-disk/m-p/3142286#M155661</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-12-11T13:20:14Z</dc:date>
    </item>
  </channel>
</rss>

