<?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: Mirrored Root Disks-Common Misconceptions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-root-disks-common-misconceptions/m-p/2415796#M766342</link>
    <description>I have followed your instructions as closely as possible but I still cannot get &lt;BR /&gt;my mirror disk to be bootable.&lt;BR /&gt;&lt;BR /&gt;The output from "lvlnboot -v" shows that I am almost there (boot, root and swap &lt;BR /&gt;are all mirrored to both disks) but my second disk is still not listed as a &lt;BR /&gt;"Boot Disk".&lt;BR /&gt;&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/c0t4d0 (8/4.4.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c0t8d0 (8/4.8.0)&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c0t4d0&lt;BR /&gt;                        /dev/dsk/c0t8d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c0t4d0&lt;BR /&gt;                        /dev/dsk/c0t8d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c0t4d0&lt;BR /&gt;                        /dev/dsk/c0t8d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c0t4d0, 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For completeness, here is the output of "setboot" which I believe is as is &lt;BR /&gt;should be:&lt;BR /&gt;&lt;BR /&gt;# setboot&lt;BR /&gt;Primary bootpath : 8/4.4.0&lt;BR /&gt;Alternate bootpath : 8/4.8.0&lt;BR /&gt;&lt;BR /&gt;Autoboot is ON (enabled)&lt;BR /&gt;Autosearch is ON (enabled)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do you have any suggestions as to what I may have forgotton?&lt;BR /&gt;</description>
    <pubDate>Thu, 09 Mar 2000 14:50:12 GMT</pubDate>
    <dc:creator>Tim Tipple_2</dc:creator>
    <dc:date>2000-03-09T14:50:12Z</dc:date>
    <item>
      <title>Mirrored Root Disks-Common Misconceptions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-root-disks-common-misconceptions/m-p/2415794#M766340</link>
      <description>This topic meant to clarify some common misconceptions regarding the &lt;BR /&gt;functionality provided by mirrored root disks in vg00. The below information &lt;BR /&gt;could save you from significant downtime on a production system:&lt;BR /&gt;&lt;BR /&gt;* The mirroring does provide extra copies of essential root filesystem data but &lt;BR /&gt;does not necessarily provide an alternate boot disk and does not provide &lt;BR /&gt;"failover".&lt;BR /&gt;&lt;BR /&gt;* If one disk is unavailable, then the system can use the alternate instead; &lt;BR /&gt;however, the crash of a vg00 disk still could panic and reboot the system. If &lt;BR /&gt;the system is not configured properly then it will not come back up as &lt;BR /&gt;"automatically" as desired.&lt;BR /&gt;&lt;BR /&gt;Here are some things to check and some best practices:&lt;BR /&gt;&lt;BR /&gt;1) Make sure both disks are indeed "boot disks". The lvols can be mirrored onto &lt;BR /&gt;a non-bootable disk. In this scenerio, if you lose your boot disk and go down, &lt;BR /&gt;you won't be back up until you replace the bad disk and either reimage via &lt;BR /&gt;ignite or cold-install. This not generally desired. To check that both disks &lt;BR /&gt;are truly bootable, use lvlnboot. To be truly bootable, both disks must show as &lt;BR /&gt;"Boot Disk" and both disks must be mentioned for "Boot", "Root", and "Swap". If &lt;BR /&gt;they are not, then only one of the disks is truly bootable. &lt;BR /&gt;Here is an example of a mirrored root vg with only one bootable disk:&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/c1t6d0 (56/52.6.0) -- Boot Disk&lt;BR /&gt;/dev/dsk/c1t4d0 (56/52.4.0)&lt;BR /&gt;Boot: lvol1 on: /dev/dsk/c1t6d0&lt;BR /&gt;Root: lvol3 on: /dev/dsk/c1t6d0&lt;BR /&gt;Swap: lvol2 on: /dev/dsk/c1t6d0&lt;BR /&gt;Dump: lvol2 on: /dev/dsk/c1t6d0, 0&lt;BR /&gt;Here is the same configuration with two bootable disks:&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/c1t6d0 (56/52.6.0) -- Boot Disk&lt;BR /&gt;/dev/dsk/c1t4d0 (56/52.4.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1 on: /dev/dsk/c1t6d0, c1t4d0&lt;BR /&gt;Root: lvol3 on: /dev/dsk/c1t6d0, c1t4d0&lt;BR /&gt;Swap: lvol2 on: /dev/dsk/c1t6d0, c1t4d0&lt;BR /&gt;Dump: lvol2 on: /dev/dsk/c1t6d0, 0&lt;BR /&gt;&lt;BR /&gt;2) Make sure that your primary boot path is the primary boot disk and the &lt;BR /&gt;secondary boot path is your bootable mirrored disk. Make sure autosearch and &lt;BR /&gt;autoboot are on. The command setboot can check and change these settings. For &lt;BR /&gt;the above example, the following is correct:&lt;BR /&gt;# setboot&lt;BR /&gt;Primary bootpath : 56/52.6.0&lt;BR /&gt;Alternate bootpath : 56/52.4.0&lt;BR /&gt;&lt;BR /&gt;Autoboot is ON (enabled)&lt;BR /&gt;Autosearch is ON (enabled)&lt;BR /&gt;&lt;BR /&gt;If this is not set correctly, then your system will not look to boot from the &lt;BR /&gt;mirror if the primary is not available.&lt;BR /&gt;&lt;BR /&gt;3) Check to make sure that the autoboot string disables the quorum checking. In &lt;BR /&gt;order to activate a Volume Group, LVM requires that MORE than HALF of the disks &lt;BR /&gt;be available. In the case of a 2 disk vg00 that would mean that BOTH need to be &lt;BR /&gt;available to activate vg00. This means that if EITHER your primary disk or your &lt;BR /&gt;mirror crashes, then the system will not be able to activate vg00 at boot time. &lt;BR /&gt;This means that your system will not come up. You will have to interrupt the &lt;BR /&gt;boot sequence and override the quorum checking in order to bring the system up. &lt;BR /&gt;To get around this you can use the mkboot with the -a option to set the &lt;BR /&gt;autoboot string to disable quorum checking by default. You must have this set &lt;BR /&gt;up properly on both disks. For the above example this would be the correct &lt;BR /&gt;format:&lt;BR /&gt;# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t6d0&lt;BR /&gt;# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t4d0&lt;BR /&gt;&lt;BR /&gt;NOTE: It is the -lq parameter passed to the hpux kernel loader that disables &lt;BR /&gt;the quorum checking.&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Nov 1999 11:04:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-root-disks-common-misconceptions/m-p/2415794#M766340</guid>
      <dc:creator>Jason Luginbuhl_1</dc:creator>
      <dc:date>1999-11-03T11:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored Root Disks-Common Misconceptions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-root-disks-common-misconceptions/m-p/2415795#M766341</link>
      <description>Excellent treatment Jason.  The only things I might add is that you might want &lt;BR /&gt;to adjust the mirror write cache and mirror write consistency for your primary &lt;BR /&gt;swap volume to reduce the performance overhead.  To do this:&lt;BR /&gt;    boot to lvm maintenance mode  &lt;BR /&gt;            (hpux -lm from the ISL prompt)&lt;BR /&gt;    acivate the root volume&lt;BR /&gt;            (vgchange -a y vg00)&lt;BR /&gt;    change the mirroring defaults for swap&lt;BR /&gt;            (lvchange -c n -M n /dev/vg00/lvol2)&lt;BR /&gt;    resync the lvlnboot links just as a precaution&lt;BR /&gt;            (lvlnboot -R)&lt;BR /&gt;    use the shutdown command to reboot into normal mode&lt;BR /&gt;            (shutdown -ry 0)&lt;BR /&gt;&lt;BR /&gt;Also, always make sure that you test your mirrored drive by booting off of it &lt;BR /&gt;and running all necessary applications.</description>
      <pubDate>Wed, 03 Nov 1999 15:24:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-root-disks-common-misconceptions/m-p/2415795#M766341</guid>
      <dc:creator>Alan Riggs_1</dc:creator>
      <dc:date>1999-11-03T15:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored Root Disks-Common Misconceptions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-root-disks-common-misconceptions/m-p/2415796#M766342</link>
      <description>I have followed your instructions as closely as possible but I still cannot get &lt;BR /&gt;my mirror disk to be bootable.&lt;BR /&gt;&lt;BR /&gt;The output from "lvlnboot -v" shows that I am almost there (boot, root and swap &lt;BR /&gt;are all mirrored to both disks) but my second disk is still not listed as a &lt;BR /&gt;"Boot Disk".&lt;BR /&gt;&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/c0t4d0 (8/4.4.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c0t8d0 (8/4.8.0)&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c0t4d0&lt;BR /&gt;                        /dev/dsk/c0t8d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c0t4d0&lt;BR /&gt;                        /dev/dsk/c0t8d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c0t4d0&lt;BR /&gt;                        /dev/dsk/c0t8d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c0t4d0, 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For completeness, here is the output of "setboot" which I believe is as is &lt;BR /&gt;should be:&lt;BR /&gt;&lt;BR /&gt;# setboot&lt;BR /&gt;Primary bootpath : 8/4.4.0&lt;BR /&gt;Alternate bootpath : 8/4.8.0&lt;BR /&gt;&lt;BR /&gt;Autoboot is ON (enabled)&lt;BR /&gt;Autosearch is ON (enabled)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do you have any suggestions as to what I may have forgotton?&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Mar 2000 14:50:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-root-disks-common-misconceptions/m-p/2415796#M766342</guid>
      <dc:creator>Tim Tipple_2</dc:creator>
      <dc:date>2000-03-09T14:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mirrored Root Disks-Common Misconceptions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-root-disks-common-misconceptions/m-p/2415797#M766343</link>
      <description>Thanks for the good script to create a mirrored boot disk, we wrote a script &lt;BR /&gt;but it does not work. It would be very nice to get help on this problem, it is &lt;BR /&gt;very important for us. The problem is that the mirrored disk is not bootable &lt;BR /&gt;although we worked along your advices.&lt;BR /&gt;&lt;BR /&gt;1. pvcreate -B  /dev/rdsk/c2t2d0  ### create physical volume for use in LVM &lt;BR /&gt;volume group, -B == boot&lt;BR /&gt;2. mkboot /dev/rdsk/c2t2d0        ### Place the LIF information on the disk&lt;BR /&gt;3. mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t2d0 ## disk 2: make sure &lt;BR /&gt;that the autoboot string disables the quorum checking&lt;BR /&gt;   mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t2d0 ## disk 1: make sure &lt;BR /&gt;that the autoboot string disables the quorum checking&lt;BR /&gt;   &lt;BR /&gt;   Ausgabe der aktuellen Einstellungen:&lt;BR /&gt;&lt;BR /&gt;   # setboot&lt;BR /&gt;   Primary bootpath : 0/0/1/1.2.0&lt;BR /&gt;   Alternate bootpath : 0/0/2/0.2.0&lt;BR /&gt;&lt;BR /&gt;   Autoboot is ON (enabled)&lt;BR /&gt;   Autosearch is ON (enabled)&lt;BR /&gt;&lt;BR /&gt;4. SAM =&amp;gt; Disk 2 (0/0/2/0.2.0) added to volume group vg00 (ansonsten alles &lt;BR /&gt;"default")&lt;BR /&gt;&lt;BR /&gt;5. SAM =&amp;gt; Alle logischen Volumes auf 1 Spiegelkopie eingerichtet&lt;BR /&gt;&lt;BR /&gt;6. # lvlnboot -R&lt;BR /&gt;   Volume Group configuration for /dev/vg00 has been saved in &lt;BR /&gt;/etc/lvmconf/vg00.conf&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/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;&lt;BR /&gt;Thanks a lot.</description>
      <pubDate>Wed, 15 Mar 2000 23:59:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-root-disks-common-misconceptions/m-p/2415797#M766343</guid>
      <dc:creator>Johannes Imhof</dc:creator>
      <dc:date>2000-03-15T23:59:35Z</dc:date>
    </item>
  </channel>
</rss>

