<?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: Boot off mirror in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437989#M768565</link>
    <description>Thanks Patrick.  I'll give your suggestion a try at the earliest oppertunity.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 21 Aug 2000 14:30:12 GMT</pubDate>
    <dc:creator>Tom Danzig</dc:creator>
    <dc:date>2000-08-21T14:30:12Z</dc:date>
    <item>
      <title>Boot off mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437976#M768552</link>
      <description>I can't boot of the mirror disk on V2250 running HPUX 11.00.  When I try "boot alt" after interrupting the boot process, I get&lt;BR /&gt;&lt;BR /&gt;"Can't find default file BOOT_TC".  &lt;BR /&gt;&lt;BR /&gt;Strange.  &lt;BR /&gt;&lt;BR /&gt;I recreated the mirror.  After reducing the root vg, I did a dd to overwrite the LIF area on the mirror disk (I did get and IO error when I did this) and then did the pvcreate -f -B cXtXdX, mkboot, etc.  &lt;BR /&gt;&lt;BR /&gt;lifls of AUTO on the mirror shows the correct default file &lt;BR /&gt;&lt;BR /&gt;(hpux -lq (;0)/stand/vmunix).  Also tried "hpux -lq"&lt;BR /&gt;&lt;BR /&gt;LIF volume headed is OK (LIF10)&lt;BR /&gt;&lt;BR /&gt;Becauce of the IO error on the dd to the mirror and the weird error on alt disk boot attempt, I believe the disk may have bad sectors in the LIF area.&lt;BR /&gt;&lt;BR /&gt;Thoughts / comments?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom</description>
      <pubDate>Sat, 19 Aug 2000 19:24:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437976#M768552</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2000-08-19T19:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Boot off mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437977#M768553</link>
      <description>To have a bootable disk you need to have mirrored /, swap and /stand&lt;BR /&gt;1. Do you use LVM and mirroring? If yes, run lvlnboot -v.  &lt;BR /&gt;2.Take a look on the latest LVM patches and hardware/ critical patches for V class machines. Install Diagnostics and run STM.</description>
      <pubDate>Sun, 20 Aug 2000 00:54:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437977#M768553</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-08-20T00:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Boot off mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437978#M768554</link>
      <description>&lt;BR /&gt;unusual that you would use dd to overwrite the lif area, and more unusual to get an i/o error.  To check the mirror disk to see if its got any bad blocks etc. do;&lt;BR /&gt;dd if=/dev/rdsk/cxxxxx of=/dev/null bs=1024k&lt;BR /&gt;&lt;BR /&gt;If this command works without any errors then the disk looks fine, if not the disk may be bad, try to mediainit first then repeat the dd.&lt;BR /&gt;&lt;BR /&gt;When you create the mirror make sure you do it the correct way, pvcreate -B first, then mkboot then lvextend all of vg00's lvols in order, 1,2,3...  then lvlnboot -v should show both disks as bootable and swap/root/dump listed on both disks, then it should boot absolutely fine off the mirror - as long as the primary disk is also present.&lt;BR /&gt;</description>
      <pubDate>Sun, 20 Aug 2000 12:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437978#M768554</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2000-08-20T12:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Boot off mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437979#M768555</link>
      <description>The following outlines the commands/steps used:&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c8t6d0&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol2 /dev/dsk/c8t6d0&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol3 /dev/dsk/c8t6d0&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol4 /dev/dsk/c8t6d0&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol5 /dev/dsk/c8t6d0&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol6 /dev/dsk/c8t6d0&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol7 /dev/dsk/c8t6d0&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol8 /dev/dsk/c8t6d0&lt;BR /&gt;vgreduce /dev/vg00 /dev/dsk/c8t6d0&lt;BR /&gt;dd if=/stand/vmunix of=/dev/rdsk/c8t6d0 bs=4096&lt;BR /&gt;pvcreate -f -B /dev/rdsk/c8t6d0&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c8t6d0&lt;BR /&gt;mkboot /dev/rdsk/c8t6d0&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c8t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c8t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c8t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c8t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c8t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c8t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c8t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c8t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c8t6d0&lt;BR /&gt;lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;lvlnboot -d /dev/vg00/lvol2&lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;lvlnboot -R /dev/vg00&lt;BR /&gt;lvlnboot -v&lt;BR /&gt;setboot&lt;BR /&gt;&lt;BR /&gt;The dd to the mirror was used to make sure that the LIF was recreated; not simply checked/updated.  This recommendation came from HP.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Aug 2000 11:45:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437979#M768555</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2000-08-21T11:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Boot off mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437980#M768556</link>
      <description>&lt;BR /&gt;The commands you listed look ok. Did you try doing a dd on the mirror as suggested? did it work or did you get an error ?</description>
      <pubDate>Mon, 21 Aug 2000 11:50:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437980#M768556</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2000-08-21T11:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Boot off mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437981#M768557</link>
      <description>I agree that the commands listed look ok.&lt;BR /&gt;&lt;BR /&gt;You could also have installed the diagnostic LIF files with the command:-&lt;BR /&gt;&lt;BR /&gt;mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c8t6d0&lt;BR /&gt;&lt;BR /&gt;Are you certain that the 'setboot' path for alternate boot is correct? What is the output from 'setboot'?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Mon, 21 Aug 2000 12:07:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437981#M768557</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-08-21T12:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Boot off mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437982#M768558</link>
      <description>Why dd? You do not need it. Repeat the steps, without dd. Eventually, by the end, vgchange -a y /dev/vg00.</description>
      <pubDate>Mon, 21 Aug 2000 12:14:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437982#M768558</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-08-21T12:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Boot off mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437983#M768559</link>
      <description>Tom,&lt;BR /&gt;Let's take a look on the problem from a different angel.&lt;BR /&gt;Is f-code enabled for the slot with your mirrored boot-path? And are the boot-file and argument set right?&lt;BR /&gt;These are causes why I saw the boot_tc message &lt;BR /&gt;</description>
      <pubDate>Mon, 21 Aug 2000 12:28:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437983#M768559</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-08-21T12:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Boot off mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437984#M768560</link>
      <description># dd if=/dev/rdsk/c8t6d0 of=/dev/null bs=1024&lt;BR /&gt;4194157+0 records in&lt;BR /&gt;4194157+0 records out&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/c1t6d0 (1/1/0.6.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c8t6d0 (6/2/0.6.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c1t6d0&lt;BR /&gt;                        /dev/dsk/c8t6d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c1t6d0&lt;BR /&gt;                        /dev/dsk/c8t6d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c1t6d0&lt;BR /&gt;                        /dev/dsk/c8t6d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c1t6d0, 0&lt;BR /&gt;&lt;BR /&gt;# setboot&lt;BR /&gt;Primary bootpath : 1/1/0.6.0&lt;BR /&gt;Alternate bootpath : 6/2/0.6.0&lt;BR /&gt;&lt;BR /&gt;Autoboot is ON (enabled)&lt;BR /&gt;Autosearch is ON (enabled)&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Aug 2000 12:57:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437984#M768560</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2000-08-21T12:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Boot off mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437985#M768561</link>
      <description>Patrick,&lt;BR /&gt;&lt;BR /&gt;Primary boot disk:&lt;BR /&gt;&lt;BR /&gt;# lifcp /dev/rdsk/c1t6d0:AUTO -&lt;BR /&gt;hpux&lt;BR /&gt;&lt;BR /&gt;Alternate boot disk:&lt;BR /&gt;&lt;BR /&gt;# lifcp /dev/rdsk/c8t6d0:AUTO -&lt;BR /&gt;hpux -lq&lt;BR /&gt;&lt;BR /&gt;After first trying "hpux -lq (;0)/stand/vmunix" I then tried "hpux -lq" which is the current AUTO file contents on the alternate disk.&lt;BR /&gt;&lt;BR /&gt;Im not sure all PCI slots are fcode enabled.  Can I check this with the system up or only at the boot prompt?  Since I know that this machine can boot of of SCSI tape, I suspect that all PCI slots are fcode enabled.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom</description>
      <pubDate>Mon, 21 Aug 2000 13:18:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437985#M768561</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2000-08-21T13:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Boot off mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437986#M768562</link>
      <description>Tom,&lt;BR /&gt;Unfortunately is the only reliable way to verify the fcode-enable by doing a printenv at OBP.&lt;BR /&gt;Since Teststation Software 5.2 prints POST a message for every slot which is not fcode-enabled. You can see a message like:&lt;BR /&gt;PCI 4 SLOT 1 is not in fcode-mask; slot not probed.&lt;BR /&gt;In this example is 4/1 not fcode enabled.&lt;BR /&gt;&lt;BR /&gt;You can search in the /spp/data/consolelog for this message. At least the slots with Fibre Channel interfaces should appear&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can you please post this part of the boot-up?&lt;BR /&gt;Device       : /pci@fe,10000/symbios@0,0/sd@6,0:cntl&lt;BR /&gt;File         : hpux&lt;BR /&gt;Arguments    : hpux &lt;BR /&gt;Loading      : hpux ........... 163808 bytes loaded.&lt;BR /&gt;102368  + 61440  + 864504  start 0xd01cc0&lt;BR /&gt;&lt;BR /&gt;I assume the error occurs after Loading:? right?&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Aug 2000 13:31:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437986#M768562</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-08-21T13:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Boot off mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437987#M768563</link>
      <description>Patrick,&lt;BR /&gt;&lt;BR /&gt;Command: boot alt&lt;BR /&gt;Device       : 6/2/0.6.0&lt;BR /&gt;File         : BOOT_TC&lt;BR /&gt;Arguments    : -lq (;0)/stand/vmunix&lt;BR /&gt;Loading      : BOOT_TC&lt;BR /&gt;Cannot open default file BOOT_TC&lt;BR /&gt;Aborting loadoperation.&lt;BR /&gt;&lt;BR /&gt;Command: boot pri&lt;BR /&gt;Device       : 1/1/0.6.0&lt;BR /&gt;File         : hpux&lt;BR /&gt;Arguments    : hpux&lt;BR /&gt;Loading      : hpux ........... 171000 bytes loaded.&lt;BR /&gt;105464  + 65536  + 863128  start 0xd023f0&lt;BR /&gt;&lt;BR /&gt;Boot&lt;BR /&gt;: disc(1/1/0.6.0;0)/stand/vmunix&lt;BR /&gt;7024640 + 834608 + 2357216 start 0x23f168&lt;BR /&gt;&lt;BR /&gt;--------------------------------&lt;BR /&gt;Also saw this one once as well:&lt;BR /&gt;&lt;BR /&gt;Command: boot alt&lt;BR /&gt;Device       : 6/2/0.6.0&lt;BR /&gt;File         : BOOT_TC&lt;BR /&gt;Arguments    : LIF -lq&lt;BR /&gt;Loading      : BOOT_TC&lt;BR /&gt;Cannot open default file BOOT_TC&lt;BR /&gt;Aborting load operation.&lt;BR /&gt;&lt;BR /&gt;Thanks for your time.</description>
      <pubDate>Mon, 21 Aug 2000 13:58:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437987#M768563</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2000-08-21T13:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Boot off mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437988#M768564</link>
      <description>Tom,&lt;BR /&gt;&lt;BR /&gt;That looks strange. I have no idea why the boot-file is boot_tc. I would check it in OBP:&lt;BR /&gt;printenv boot-file &lt;BR /&gt;printenv alternate-file &lt;BR /&gt;&lt;BR /&gt;I'm almost sure that the alternate file is set wrong, because the system boots up from primary without any problems&lt;BR /&gt;&lt;BR /&gt;To set it right it's simple:&lt;BR /&gt;setenv alternate-file hpux&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Aug 2000 14:21:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437988#M768564</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-08-21T14:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Boot off mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437989#M768565</link>
      <description>Thanks Patrick.  I'll give your suggestion a try at the earliest oppertunity.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Aug 2000 14:30:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-off-mirror/m-p/2437989#M768565</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2000-08-21T14:30:12Z</dc:date>
    </item>
  </channel>
</rss>

