<?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: mirror boot disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/2684246#M644465</link>
    <description>One thing to watch out for is that after you've been in lvm maintenance mode you can end up with a bdf showing roots filesystem as /dev/root :-&lt;BR /&gt;&lt;BR /&gt;Filesystem kbytes used   avail %used Mounted on&lt;BR /&gt;/dev/root  102400 28552  69240 29%   /&lt;BR /&gt;&lt;BR /&gt;This can cause problems with things like make_recovery as it calls save_config which relies on the information held in /etc/mnttab.&lt;BR /&gt;&lt;BR /&gt;To get round this mv /etc/mnttab /etc/mnttab.old&lt;BR /&gt;Run the mount command to recreate the /etc/mnttab file.&lt;BR /&gt;&lt;BR /&gt;Now the bdf shows the root filesystem correctly :-&lt;BR /&gt;&lt;BR /&gt;Filesystem      kbytes used  avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3 102400 28552 69240 29% /&lt;BR /&gt;</description>
    <pubDate>Fri, 15 Mar 2002 18:57:14 GMT</pubDate>
    <dc:creator>David Burgess</dc:creator>
    <dc:date>2002-03-15T18:57:14Z</dc:date>
    <item>
      <title>mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/2684242#M644461</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;How does one mirror a boot disk on a K-class server?. Any help will be greatly appreciated. Points will also be given.</description>
      <pubDate>Fri, 15 Mar 2002 15:15:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/2684242#M644461</guid>
      <dc:creator>Ragni Singh</dc:creator>
      <dc:date>2002-03-15T15:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/2684243#M644462</link>
      <description>This is the process I used .. (you got to have Mirror/UX installed) &lt;BR /&gt;&lt;BR /&gt;Mirroring Process&lt;BR /&gt;-----------------&lt;BR /&gt;o Assuming c1t2d0 is primary disk and c2t2d0 is the disk to be mirrored.&lt;BR /&gt;o Assuming (lvol1=/stand;lvol2=primary swap;lvol3=2ndary swap;lvol4=/;lvol5=/opt)&lt;BR /&gt;&lt;BR /&gt;# swlist -l bundle| grep -i mirror&lt;BR /&gt;    =&amp;gt; Make sure you have MirrorUX installed&lt;BR /&gt;# pvcreate -f -B /dev/rdsk/c2t2d0&lt;BR /&gt;# mkboot -l  /dev/rdsk/c2t2d0&lt;BR /&gt;    =&amp;gt; Create boot track (place boot utilities in boot area), -l means treat device as LVM disk.&lt;BR /&gt;# mkboot -a "hpux -lq" /dev/rdsk/c2t2d0&lt;BR /&gt;    =&amp;gt; Add AUTO file in boot LIF area, "lq" option is to bypass quorum check.&lt;BR /&gt;    =&amp;gt; Repeat for primary disk (c1t2d0) as well.&lt;BR /&gt;# lifcp /dev/rdsk/c2t2d0:AUTO -&lt;BR /&gt;    =&amp;gt; Check content of AUTO file. Repeat for primary disk (c1t2d0).&lt;BR /&gt;# vgextend /dev/vg00 /dev/dsk/c2t2d0&lt;BR /&gt;    =&amp;gt; Adding disk to root VG.&lt;BR /&gt;# pvdisplay -v /dev/dsk/c2t2d0&lt;BR /&gt;    =&amp;gt; Note of the order of LVs (assuming it's lvol1,lvol2,lvol3,lvol4 &amp;amp; lvol5)&lt;BR /&gt;# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t2d0&lt;BR /&gt;    =&amp;gt; Repeat for lvol2-&amp;gt;lvol5&lt;BR /&gt;# lvlnboot -r /dev/vg00/lvol4 /dev/vg00&lt;BR /&gt;# lvlnboot -b /dev/vg00/lvol1 /dev/vg00&lt;BR /&gt;# lvlnboot -s /dev/vg00/lvol2 /dev/vg00&lt;BR /&gt;# lvlnboot -d /dev/vg00/lvol2 /dev/vg00&lt;BR /&gt;    =&amp;gt; Update BDRA (root, boot, swap and dump) &lt;BR /&gt;# lvlnboot -v&lt;BR /&gt;    =&amp;gt; Check to make sure both disks are listed for root, boot and swap definition.&lt;BR /&gt;# setboot&lt;BR /&gt;    =&amp;gt; Display boot path.&lt;BR /&gt;# setboot -a 0/0/2/0.2.0&lt;BR /&gt;    =&amp;gt; Change alternate boot path to mirrored disk.&lt;BR /&gt;# shutdown -r -y 0&lt;BR /&gt;    =&amp;gt; Interrupt upon bootup and select alt path to boot from in order to test.&lt;BR /&gt;&lt;BR /&gt;Installing ODE (Offline Diagnostics)&lt;BR /&gt;------------------------------------&lt;BR /&gt;# ll /usr/sbin/diag/lif/updatediaglif&lt;BR /&gt;    =&amp;gt; Make sure the file exist.&lt;BR /&gt;# lifls -l /dev/rdsk/c2t2d0&lt;BR /&gt;    =&amp;gt; List content of LIF dir (should have ISL,AUTO,HPUX,PAD,LABEL).&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c2t2d0&lt;BR /&gt;    =&amp;gt; Install ODE LIF files while "protecting" the existing LIF files.&lt;BR /&gt;    =&amp;gt; Use updatediaglif2 for 11.0 64-bit.&lt;BR /&gt;# lifls -l /dev/rdsk/c2t2d0&lt;BR /&gt;    =&amp;gt; Should now see the additional LIF files.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Mar 2002 15:20:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/2684243#M644462</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-03-15T15:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/2684244#M644463</link>
      <description>Hi Sanman,&lt;BR /&gt;&lt;BR /&gt;Check this document for all instructions:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=4a4e396406a9acb208/screen=ckiDisplayDocument?docId=200000055534397" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=4a4e396406a9acb208/screen=ckiDisplayDocument?docId=200000055534397&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Mar 2002 15:22:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/2684244#M644463</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-03-15T15:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/2684245#M644464</link>
      <description>I thought I throw in this as well .. this is optional.&lt;BR /&gt;&lt;BR /&gt;Optional Step&lt;BR /&gt;-------------&lt;BR /&gt; o Changing the swap LV Consistency Recovery Policy&lt;BR /&gt;&lt;BR /&gt;# lvdisplay /dev/vg00/lvol2&lt;BR /&gt;    =&amp;gt; Check existing mirror consistency recovery policy for swap.&lt;BR /&gt;    =&amp;gt; The default policy (ie MWC) requires additional IO overhead with every disk write. For best performance change it to "NONE" since there is no need to recover swap space after crash.&lt;BR /&gt;    =&amp;gt; Procedure must be perform in LVM maintenance mode.&lt;BR /&gt;ISL &amp;gt; hpux -lm&lt;BR /&gt;    =&amp;gt; Boot in LVM maintenance mode.&lt;BR /&gt;# vgchange -a y vg00&lt;BR /&gt;# lvchange -M n -c n /dev/vg00/lvol2 &lt;BR /&gt;# reboot&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Mar 2002 15:23:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/2684245#M644464</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-03-15T15:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: mirror boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/2684246#M644465</link>
      <description>One thing to watch out for is that after you've been in lvm maintenance mode you can end up with a bdf showing roots filesystem as /dev/root :-&lt;BR /&gt;&lt;BR /&gt;Filesystem kbytes used   avail %used Mounted on&lt;BR /&gt;/dev/root  102400 28552  69240 29%   /&lt;BR /&gt;&lt;BR /&gt;This can cause problems with things like make_recovery as it calls save_config which relies on the information held in /etc/mnttab.&lt;BR /&gt;&lt;BR /&gt;To get round this mv /etc/mnttab /etc/mnttab.old&lt;BR /&gt;Run the mount command to recreate the /etc/mnttab file.&lt;BR /&gt;&lt;BR /&gt;Now the bdf shows the root filesystem correctly :-&lt;BR /&gt;&lt;BR /&gt;Filesystem      kbytes used  avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3 102400 28552 69240 29% /&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Mar 2002 18:57:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-boot-disk/m-p/2684246#M644465</guid>
      <dc:creator>David Burgess</dc:creator>
      <dc:date>2002-03-15T18:57:14Z</dc:date>
    </item>
  </channel>
</rss>

