<?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: Root disk mirroring in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417186#M779892</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;To have a system that will boot on two disks, all logical volumes required by roomt must be mirrored.&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;SEP</description>
    <pubDate>Mon, 19 Jun 2006 07:54:49 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2006-06-19T07:54:49Z</dc:date>
    <item>
      <title>Root disk mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417180#M779886</link>
      <description>I have in the past had difficulty in setting up a root disk mirror , especially &lt;BR /&gt;when creating the boot LIF entry on the disk. Can anyone supply a quick answer &lt;BR /&gt;to the required commands to create the boot block on the disk and in what order &lt;BR /&gt;I should mirror the root disk LV's ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Tue, 04 Jan 2000 09:18:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417180#M779886</guid>
      <dc:creator>Park Phil</dc:creator>
      <dc:date>2000-01-04T09:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417181#M779887</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;1) pvcreate -B /dev/rdsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;2) Add a physical Volume&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;3) mkboot /dev/rdsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;4) mkboot -a "hpux (52.3.0;0)/stand/vmunix" /dev/rdsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;5) lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t5d0 &lt;BR /&gt;    for each logical volume&lt;BR /&gt;6)  lvlnboot -v for verification&lt;BR /&gt;&lt;BR /&gt;7)   lvdisplay -v  /dev/vg00/lvol1 &lt;BR /&gt;     &lt;BR /&gt;&lt;BR /&gt;Hope this can help you.&lt;BR /&gt;&lt;BR /&gt;Refer to your Administrator Task Guide for Hpux system</description>
      <pubDate>Wed, 05 Jan 2000 02:19:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417181#M779887</guid>
      <dc:creator>Charles Guiocheau</dc:creator>
      <dc:date>2000-01-05T02:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417182#M779888</link>
      <description>When you mirror your lvols, it is critical to mirror&lt;BR /&gt;the swap lvol in the same order as the original disk.&lt;BR /&gt;The best bet is to do a pvdisplay -v on your original&lt;BR /&gt;root disk, then just mirror the lvols in the same order&lt;BR /&gt;on your mirrored disk.</description>
      <pubDate>Fri, 07 Jan 2000 15:13:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417182#M779888</guid>
      <dc:creator>Tammy Rogers_1</dc:creator>
      <dc:date>2000-01-07T15:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417183#M779889</link>
      <description>please let me know whether you are setting up the mirror on itanium server or PA RISC servers.</description>
      <pubDate>Mon, 19 Jun 2006 07:27:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417183#M779889</guid>
      <dc:creator>Maragua</dc:creator>
      <dc:date>2006-06-19T07:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417184#M779890</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You don't specify PA-RISC versus Itanium, and the procedure for setting up root disk differs slightly.  See appendix-A of this document:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf" target="_blank"&gt;http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As for the order to mirror the logical volumes within vg00, you must do 'lvol1, lvol2, lvol3' in that order.  There is no reason not to mirror in ordinal number sequence everything, though.  Mirror everything!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 19 Jun 2006 07:34:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417184#M779890</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-06-19T07:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417185#M779891</link>
      <description>The steps to mirror your boot volume are (PA-RISC):&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&lt;BR /&gt;lvlnboot commands. That is because they are not&lt;BR /&gt;necessary - see the man page:&lt;BR /&gt;&lt;BR /&gt;"This command should be run in recovery mode (-R)&lt;BR /&gt;whenever the configuration of the root volume group is&lt;BR /&gt;affected by one of the following commands: lvextend,&lt;BR /&gt;lvmerge, lvreduce, lvsplit, pvmove, lvremove, vgextend,&lt;BR /&gt;or vgreduce (see lvextend(1M), lvmerge(1M), lvreduce(1M),&lt;BR /&gt;lvsplit(1M), pvmove(1M), lvremove(1M), vgextend(1M), and&lt;BR /&gt;vgreduce(1M)). Starting with HP-UX Release 10.0, this is&lt;BR /&gt;done automatically."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For Itanium architecture, follow this guide:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5343,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5343,00.html&lt;/A&gt;&lt;BR /&gt; -or-&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90950/ch06s02.html#cchgjafa" target="_blank"&gt;http://docs.hp.com/en/B2355-90950/ch06s02.html#cchgjafa&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 19 Jun 2006 07:50:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417185#M779891</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-06-19T07:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417186#M779892</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;To have a system that will boot on two disks, all logical volumes required by roomt must be mirrored.&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;SEP</description>
      <pubDate>Mon, 19 Jun 2006 07:54:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417186#M779892</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-06-19T07:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417187#M779893</link>
      <description>Hi Park,&lt;BR /&gt;Iam not sure but check if this helps...&lt;BR /&gt;To set up a mirrored root config you need to add an additional disk (e.g. c1t6d0) to the root VG mirror all the LVs and make it bootable.&lt;BR /&gt;1. Initialize the disk and add it to vg00:&lt;BR /&gt;# pvcreate [-f] -B /dev/rdsk/c1t6d0&lt;BR /&gt;# vgextend vg00 /dev/dsk/c1t6d0&lt;BR /&gt;2. Mirror the LVs using lvextend:&lt;BR /&gt;# lvextend â  m 1 /dev/vg00/lvolX /dev/dsk/c1t6d0&lt;BR /&gt;If you want to use a shell loop to extend automatically, use e.g.:&lt;BR /&gt;# for lvol in lvol1 lvol2 ... lvol8 (specify any LV you need to mirror)&lt;BR /&gt;&amp;gt; do&lt;BR /&gt;&amp;gt; lvextend -m 1 /dev/vg00/$lvol /dev/dsk/c1t6d0&lt;BR /&gt;&amp;gt; done&lt;BR /&gt;3. Specify the mirror disk as alternate boot path in stable storage:&lt;BR /&gt;# setboot â  a &lt;HW-PATH of="" mirror=""&gt;&lt;BR /&gt;To determine the hardware path use e.g. ioscan:&lt;BR /&gt;# ioscan -fnk /dev/dsk/c1t6d0&lt;BR /&gt;Class I H/W Path Driver S/W State H/W Type Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;disk 0 0/0/2/0.6.0 sdisk CLAIMED DEVICE SEAGATE ST39102LC&lt;BR /&gt;/dev/dsk/c1t6d0 /dev/rdsk/c1t6d0&lt;BR /&gt;# setboot â  a 0/0/2/0.6.0&lt;BR /&gt;4. Add the new mirror boot device to /stand/bootconf, e.g.:&lt;BR /&gt;l /dev/dsk/c0t6d0 (original boot device)&lt;BR /&gt;l /dev/dsk/c1t6d0 (new mirror boot device)&lt;BR /&gt;If you like to remove the mirror again, you need to use lvreduce:&lt;BR /&gt;# lvreduce -m 0 /dev/vg00/lvolX /dev/dsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ricky&lt;/HW-PATH&gt;</description>
      <pubDate>Mon, 19 Jun 2006 08:18:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417187#M779893</guid>
      <dc:creator>ricky2</dc:creator>
      <dc:date>2006-06-19T08:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417188#M779894</link>
      <description>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;&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;&lt;BR /&gt;Then lvextend for all other lvols:&lt;BR /&gt;&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;Rgds...Geoff</description>
      <pubDate>Mon, 19 Jun 2006 08:37:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417188#M779894</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-06-19T08:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417189#M779895</link>
      <description>Check this link with information on how to do that:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchCrit=allwords&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;searchString=LVMKBRC00005103" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchCrit=allwords&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;searchString=LVMKBRC00005103&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Luis</description>
      <pubDate>Tue, 20 Jun 2006 11:27:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417189#M779895</guid>
      <dc:creator>NMory</dc:creator>
      <dc:date>2006-06-20T11:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417190#M779896</link>
      <description>The most common mistake is failing to use the -B option of pvcreate. The next most common error is failing to do the 1st 3 LVOL's in strict order; these must be contigiously allocated.&lt;BR /&gt;&lt;BR /&gt;This script should do it for you (assuming standard LVOL's in vg00):&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;typeset RAW=/dev/rdsk/c1t5d0 # the mirror&lt;BR /&gt;typeset COOKED=/dev/dsk/c1t5d0 # ditto but block device&lt;BR /&gt;&lt;BR /&gt;pvcreate -f -B ${RAW}&lt;BR /&gt;vgextend /dev/vg00 ${COOKED}&lt;BR /&gt;mkboot ${RAW}&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix" ${RAW}&lt;BR /&gt;&lt;BR /&gt;typeset LVOLS="lvol1 lvol2 lvol3 lvol4 lvol5 lvol6 lvol7 lvol8" # alter to match your actual vg00&lt;BR /&gt;typeset LVOL=""&lt;BR /&gt;&lt;BR /&gt;for LVOL in ${LVOLS}&lt;BR /&gt;  do&lt;BR /&gt;    lvextend -m 1 /dev/vg00/${LVOL} ${COOKED}&lt;BR /&gt;  done&lt;BR /&gt;&lt;BR /&gt;Now, I would also do&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/whatever_your_primary_boot_device_is&lt;BR /&gt;&lt;BR /&gt;because unless you do this, your machine is actually less likely to boot unattended that if you were not mirrored&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jun 2006 11:45:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-mirroring/m-p/2417190#M779896</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-06-20T11:45:38Z</dc:date>
    </item>
  </channel>
</rss>

