<?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: AUTO file missing on mirrored disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567842#M646997</link>
    <description>Hi Anna, &lt;BR /&gt;&lt;BR /&gt;The correct way to mirror a disk is as follows:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f -B /dev/rdsk/cXtXdX &lt;BR /&gt;# vgextend /dev/vg00 /dev/rdsk/cXtXdX &lt;BR /&gt;# mkboot /dev/rdsk/cXtXdX &lt;BR /&gt;# mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/cXtXdX &lt;BR /&gt;# lvlnboot -R &lt;BR /&gt;# for LVOL in /dev/vg00/lv* &lt;BR /&gt;&amp;gt; do &lt;BR /&gt;&amp;gt; echo $LVOL &lt;BR /&gt;&amp;gt; lvextend -m 1 $LVOL &lt;BR /&gt;&amp;gt; done &lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;HTH &lt;BR /&gt;-Michael &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 21 Aug 2001 08:27:11 GMT</pubDate>
    <dc:creator>Michael Tully</dc:creator>
    <dc:date>2001-08-21T08:27:11Z</dc:date>
    <item>
      <title>AUTO file missing on mirrored disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567839#M646994</link>
      <description>I set up a new system on an L3000 some months go and so far everything works fine, but I'm afraid I forgot an important step: mkboot -a ... and I think I wouldn't be able to boot from the mirrored disk.&lt;BR /&gt;&lt;BR /&gt;Outputs from lifls, lifcp and setboot:&lt;BR /&gt;&lt;BR /&gt;#lifls /dev/rdsk/c1t2d0&lt;BR /&gt;ODE          MAPFILE      SYSLIB       CONFIGDATA   SLMOD2&lt;BR /&gt;SLDEV2       SLDRV2       SLSCSI2      MAPPER2      IOTEST2&lt;BR /&gt;PERFVER2     PVCU         SSINFO       HPUX         ISL&lt;BR /&gt;AUTO         LABEL&lt;BR /&gt;&lt;BR /&gt;#lifls /dev/rdsk/c2t2d0&lt;BR /&gt;LABEL&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;#lifcp /dev/dsk/c1t2d0:AUTO -&lt;BR /&gt;hpux&lt;BR /&gt;#lifcp /dev/dsk/c2t2d0:AUTO -&lt;BR /&gt;lifcp: AUTO       does not exist.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;####&lt;BR /&gt;What happens if I make mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t2d0&lt;BR /&gt;on a running system? (I can't take it down).&lt;BR /&gt;Is this the correct thing to do?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Anna</description>
      <pubDate>Tue, 21 Aug 2001 08:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567839#M646994</guid>
      <dc:creator>Anna Ryden</dc:creator>
      <dc:date>2001-08-21T08:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: AUTO file missing on mirrored disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567840#M646995</link>
      <description>You will still be able to boot from the mirror disk w/o the auto file.  the only thing you'll have to do is give the kernel loader command &lt;BR /&gt;hpux -lq when you end up at the ISL prompt.&lt;BR /&gt;The AUTO file just says what ISL command to issue automatically.&lt;BR /&gt;&lt;BR /&gt;I'm 99.999% sure you don't have to reboot.&lt;BR /&gt;I never did it though.&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Tue, 21 Aug 2001 08:20:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567840#M646995</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-08-21T08:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: AUTO file missing on mirrored disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567841#M646996</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you have AUTO on the second disk (mirror), I would suggest to copy AUTO to the firs disk using:&lt;BR /&gt;&lt;BR /&gt;mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p&lt;AREA_TO_PRESERVE&gt; -p... /dev/rdsk/disk_without_AUTO&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;area_to_preserve - ale the other LIF areas you want to remain unchanged (ODE, HPUX .....)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;&lt;/AREA_TO_PRESERVE&gt;</description>
      <pubDate>Tue, 21 Aug 2001 08:22:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567841#M646996</guid>
      <dc:creator>Marcin Wicinski</dc:creator>
      <dc:date>2001-08-21T08:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: AUTO file missing on mirrored disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567842#M646997</link>
      <description>Hi Anna, &lt;BR /&gt;&lt;BR /&gt;The correct way to mirror a disk is as follows:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f -B /dev/rdsk/cXtXdX &lt;BR /&gt;# vgextend /dev/vg00 /dev/rdsk/cXtXdX &lt;BR /&gt;# mkboot /dev/rdsk/cXtXdX &lt;BR /&gt;# mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/cXtXdX &lt;BR /&gt;# lvlnboot -R &lt;BR /&gt;# for LVOL in /dev/vg00/lv* &lt;BR /&gt;&amp;gt; do &lt;BR /&gt;&amp;gt; echo $LVOL &lt;BR /&gt;&amp;gt; lvextend -m 1 $LVOL &lt;BR /&gt;&amp;gt; done &lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;HTH &lt;BR /&gt;-Michael &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Aug 2001 08:27:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567842#M646997</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-08-21T08:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: AUTO file missing on mirrored disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567843#M646998</link>
      <description>Can not be a problem.&lt;BR /&gt;You can do it on a running system if you missed only steps starting with "mkboot".&lt;BR /&gt;&lt;BR /&gt;# mkboot /dev/rdsk/...&lt;BR /&gt;# mkboot "hpux -lq" /dev/rdsk/...&lt;BR /&gt;# mkboot  -b updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/...&lt;BR /&gt;&lt;BR /&gt;After doing this, you can check out the state by running "lifls".&lt;BR /&gt;&lt;BR /&gt;Hope this helps,</description>
      <pubDate>Tue, 21 Aug 2001 08:47:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567843#M646998</guid>
      <dc:creator>Insu Kim</dc:creator>
      <dc:date>2001-08-21T08:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: AUTO file missing on mirrored disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567844#M646999</link>
      <description>Hmmm, if LABEL is the only LIF file in LIF area of the second disk, then no you won't be able to boot from it, as there will be no Initial System Loader (ISL) or hpux bootstrap Secondary System Loader (HPUX). Without these files the system can't get as far as booting your mirrored kernel in /stand/vmunix. You are going to have to fix this using the mkboot command, but there's one piece of the jigsaw still missing before you proceed...&lt;BR /&gt;&lt;BR /&gt;What is the output of 'lvlnboot -v'</description>
      <pubDate>Tue, 21 Aug 2001 09:01:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567844#M646999</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2001-08-21T09:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: AUTO file missing on mirrored disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567845#M647000</link>
      <description>Thanks for your answers!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Output from lvlnboot&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;Current path "/dev/dsk/c6t9d0" is an alternate link, skip.&lt;BR /&gt;Current path "/dev/dsk/c4t9d1" is an alternate link, skip.&lt;BR /&gt;Current path "/dev/dsk/c6t9d2" is an alternate link, skip.&lt;BR /&gt;&lt;BR /&gt;###&lt;BR /&gt;&lt;BR /&gt;I also now tried the following 2 commands:&lt;BR /&gt;# mkboot -i AUTO -p LABEL /dev/rdsk/c2t2d0&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif -p LABEL /dev/rdsk/c2t2d0&lt;BR /&gt;&lt;BR /&gt;.. but got the same answer to both:&lt;BR /&gt;There appear to be non-boot logical volumes on this device.&lt;BR /&gt;Overwriting them could destroy all the data on this device&lt;BR /&gt;Should the logical volumes be overwritten [y/n]? n&lt;BR /&gt;&lt;BR /&gt;Is this referring to the 8 vxfs logical volumes in vg00, or only the hfs (lvol1) ? What is it going to destroy?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Anna</description>
      <pubDate>Tue, 21 Aug 2001 09:07:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567845#M647000</guid>
      <dc:creator>Anna Ryden</dc:creator>
      <dc:date>2001-08-21T09:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: AUTO file missing on mirrored disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567846#M647001</link>
      <description>I could be wrong, but I think what this is saying is that the disk was pvcreate'd without the -B option. That means there's not enough space reserved on the disk to hold all the boot time utilities. There may be a quicker way to fix this, but here's what I would do...&lt;BR /&gt;&lt;BR /&gt;1. If you have Ignite/UX installed make a recovery tape RIGHT NOW.&lt;BR /&gt;2. Un-mirror all the logical volumes off the second boot disk:&lt;BR /&gt;&lt;BR /&gt;for lvol in /dev/vg00/lv*&lt;BR /&gt;do&lt;BR /&gt;lvreduce -m 0 ${lvol) /dev/dsk/c2t2d0&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;3. vgreduce the second boot disk out of the volume group:&lt;BR /&gt;&lt;BR /&gt;vgreduce vg00 /dev/dsk/c2t2d0&lt;BR /&gt;&lt;BR /&gt;4. Follow Michaels notes above for mirroring the disk.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You should be able to do thsi without any down-time, but I'd do it at a quiet time if you can.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Aug 2001 09:39:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-file-missing-on-mirrored-disk/m-p/2567846#M647001</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2001-08-21T09:39:08Z</dc:date>
    </item>
  </channel>
</rss>

