<?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 problems: Not a LIF volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988539#M295294</link>
    <description>Your ISL command&lt;BR /&gt;&lt;BR /&gt;ISL&amp;gt; hpux ll disk(2/0/1.1;0)&lt;BR /&gt;&lt;BR /&gt;is reading the HPUX loader from your good boot disk, then reading the /stand filesystem of your bad boot disk. It shows your /stand is probably OK. /stand is a hfs filesystem: the ISL loader does not understand hfs, but the HPUX loader does.&lt;BR /&gt;&lt;BR /&gt;(The PA-RISC boot sequence: PDC firmware -&amp;gt; ISL -&amp;gt; HPUX -&amp;gt; vmunix HP-UX kernel)&lt;BR /&gt;&lt;BR /&gt;Your idea of running&lt;BR /&gt;&lt;BR /&gt;ISL&amp;gt; hpux set autofile hpux &lt;BR /&gt;&lt;BR /&gt;would just make changes to the good boot disk, not the bad one. If you add the device path, it will probably produce an error message, since there is no boot LIF to edit.&lt;BR /&gt;&lt;BR /&gt;The "Not a LIF volume" message from lifls sounds like the boot LIF does not exist or is corrupted. Maybe someone has run the "rmboot" command on it?&lt;BR /&gt;&lt;BR /&gt;If the disk was pvcreate'd without the -B option, you have a problem: the boot area must be at the very beginning of the disk, before the LVM PV headers - and there are no tools for making that area free without losing data. Fortunately this problem is not likely, if the disk was working as a boot disk before.&lt;BR /&gt;&lt;BR /&gt;If the pvcreate was done correctly, the problem is fixable by simply creating a valid boot LIF to the empty space in the beginning of the disk.&lt;BR /&gt;&lt;BR /&gt;First, check whether or not there is enough space for the boot LIF:&lt;BR /&gt;mkboot -c -v /dev/rdsk/c0t1d0&lt;BR /&gt;&lt;BR /&gt;If it says: "The requested boot programs will fit on the specified device", the fix is simple: just run the above command without th e "-c" option. It will generate the boot LIF and populate it with the necessary boot files.&lt;BR /&gt;&lt;BR /&gt;If it says: "There appear to be non-boot logical volumes on this device. Overwriting them could destroy all the data on this device", you have the above-mentioned problem. Using mkboot to write the boot LIF would overwrite the beginning of your /stand filesystem. The boot could then proceed one step further, but would then fail in a new way.&lt;BR /&gt;&lt;BR /&gt;MK</description>
    <pubDate>Thu, 26 Apr 2007 05:55:00 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2007-04-26T05:55:00Z</dc:date>
    <item>
      <title>boot problems: Not a LIF volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988536#M295291</link>
      <description>&lt;!--!*#--&gt;Greetings&lt;BR /&gt;&lt;BR /&gt;An alternate boot disk doesn't boot. I think I need help to &lt;BR /&gt;recreate the boot sector. &lt;BR /&gt;&lt;BR /&gt;A boot disk has been running for years on a 700-series.&lt;BR /&gt;Alas, I don't have any info about events that led the disk&lt;BR /&gt;not to boot anymore. The disk was disconnected. The faulty&lt;BR /&gt;boot disk is now connected to a system that does boot. Both&lt;BR /&gt;are HPUX 10.20. 700-series. No mirroring involved. Single&lt;BR /&gt;boot disks.&lt;BR /&gt;&lt;BR /&gt;Here's a summary so far:&lt;BR /&gt;* ioscan sees the disk (HW path: 2/0/1.1)&lt;BR /&gt;* lifls /dev/rdsk/c0t1d0 returns "Not a LIF volume"&lt;BR /&gt;* ISL&amp;gt; hpux ll disk(2/0/1.1;0) shows a present vmunix,&lt;BR /&gt;  vmunix.prev and other files&lt;BR /&gt;* ISL&amp;gt; hpux show autofile disk (2/0/1.1;0) returns &lt;BR /&gt;        "no such file or directory".&lt;BR /&gt;* ISL&amp;gt; lsa returns&lt;BR /&gt;       Auto-execute file contains:&lt;BR /&gt;        hpux&lt;BR /&gt;  (Think that is for the working kernel, not the &lt;BR /&gt;   alternate one.)&lt;BR /&gt;&lt;BR /&gt;How do I proceed from here?&lt;BR /&gt;&lt;BR /&gt;I've seen the case by Gary Cooper, "Ignite-UX has hijacked&lt;BR /&gt;my server"&lt;BR /&gt;(&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=978221)." target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=978221).&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Can I get away with just doing&lt;BR /&gt;&lt;BR /&gt;ISL&amp;gt; hpux set autofile hpux &lt;BR /&gt;&lt;BR /&gt;What more should I do?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Runar Jørgensen</description>
      <pubDate>Wed, 25 Apr 2007 08:29:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988536#M295291</guid>
      <dc:creator>Runar Jørgensen</dc:creator>
      <dc:date>2007-04-25T08:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: boot problems: Not a LIF volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988537#M295292</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Check your build against this guide.&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>Wed, 25 Apr 2007 08:41:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988537#M295292</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-04-25T08:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: boot problems: Not a LIF volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988538#M295293</link>
      <description>&lt;BR /&gt;Hi&lt;BR /&gt;&lt;BR /&gt;Thanks for the recipe. I've seen it before in the forum,&lt;BR /&gt;but hesitated to use it. Here's why:&lt;BR /&gt;&lt;BR /&gt;Start with pvcreate. Using pvcreate will result in the loss&lt;BR /&gt;of any existing data currently on the physical volume, and&lt;BR /&gt;that was not my intention. Also I can only assume there is&lt;BR /&gt;LVM on this disk, thus pvcreate will be denied. Only&lt;BR /&gt;physical volumes not belonging to other volume groups can be&lt;BR /&gt;created.&lt;BR /&gt;&lt;BR /&gt;The "l" and "lq" options to hpux bootstrap assumes LVM. I&lt;BR /&gt;don't know if this is a showstopper, but I can only assume&lt;BR /&gt;there is LVM on this disk.&lt;BR /&gt;&lt;BR /&gt;Why would I want to use the -p AUTO option when installing&lt;BR /&gt;the boot programs ("b"-option). Isn't the autoexecute file&lt;BR /&gt;my problem since it's not present.&lt;BR /&gt;&lt;BR /&gt;For the rest of the recipe, I think the disk will do fine as&lt;BR /&gt;long as the boot sector and LIF volume are restored. &lt;BR /&gt;&lt;BR /&gt;As far I can tell there is a valid kernel on the LIF&lt;BR /&gt;volume, I very much would like to restore the LIF volume if&lt;BR /&gt;possible.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Runar JÃ¸rgensen</description>
      <pubDate>Thu, 26 Apr 2007 04:56:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988538#M295293</guid>
      <dc:creator>Runar Jørgensen</dc:creator>
      <dc:date>2007-04-26T04:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: boot problems: Not a LIF volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988539#M295294</link>
      <description>Your ISL command&lt;BR /&gt;&lt;BR /&gt;ISL&amp;gt; hpux ll disk(2/0/1.1;0)&lt;BR /&gt;&lt;BR /&gt;is reading the HPUX loader from your good boot disk, then reading the /stand filesystem of your bad boot disk. It shows your /stand is probably OK. /stand is a hfs filesystem: the ISL loader does not understand hfs, but the HPUX loader does.&lt;BR /&gt;&lt;BR /&gt;(The PA-RISC boot sequence: PDC firmware -&amp;gt; ISL -&amp;gt; HPUX -&amp;gt; vmunix HP-UX kernel)&lt;BR /&gt;&lt;BR /&gt;Your idea of running&lt;BR /&gt;&lt;BR /&gt;ISL&amp;gt; hpux set autofile hpux &lt;BR /&gt;&lt;BR /&gt;would just make changes to the good boot disk, not the bad one. If you add the device path, it will probably produce an error message, since there is no boot LIF to edit.&lt;BR /&gt;&lt;BR /&gt;The "Not a LIF volume" message from lifls sounds like the boot LIF does not exist or is corrupted. Maybe someone has run the "rmboot" command on it?&lt;BR /&gt;&lt;BR /&gt;If the disk was pvcreate'd without the -B option, you have a problem: the boot area must be at the very beginning of the disk, before the LVM PV headers - and there are no tools for making that area free without losing data. Fortunately this problem is not likely, if the disk was working as a boot disk before.&lt;BR /&gt;&lt;BR /&gt;If the pvcreate was done correctly, the problem is fixable by simply creating a valid boot LIF to the empty space in the beginning of the disk.&lt;BR /&gt;&lt;BR /&gt;First, check whether or not there is enough space for the boot LIF:&lt;BR /&gt;mkboot -c -v /dev/rdsk/c0t1d0&lt;BR /&gt;&lt;BR /&gt;If it says: "The requested boot programs will fit on the specified device", the fix is simple: just run the above command without th e "-c" option. It will generate the boot LIF and populate it with the necessary boot files.&lt;BR /&gt;&lt;BR /&gt;If it says: "There appear to be non-boot logical volumes on this device. Overwriting them could destroy all the data on this device", you have the above-mentioned problem. Using mkboot to write the boot LIF would overwrite the beginning of your /stand filesystem. The boot could then proceed one step further, but would then fail in a new way.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 26 Apr 2007 05:55:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988539#M295294</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2007-04-26T05:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: boot problems: Not a LIF volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988540#M295295</link>
      <description>&lt;!--!*#--&gt;Greetings&lt;BR /&gt;&lt;BR /&gt;Matti, excellent overview you provided. Thank you. I needed&lt;BR /&gt;to get stuff sorted out.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, the "boot area free space test" failed. I got&lt;BR /&gt;the second answer, i.e. " "There appear to be non-boot&lt;BR /&gt;logical volumes on this device. Overwriting them could&lt;BR /&gt;destroy all the data on this device".&lt;BR /&gt;&lt;BR /&gt;The disk was bootable before this. I know for a fact (to 99%&lt;BR /&gt;certainty :-) ) that the disk was preinstalled when&lt;BR /&gt;purchased. So, I'm assuming that pvcreate -B was used in the&lt;BR /&gt;build. Also, I should assume (from mkboot man page) that LVM&lt;BR /&gt;layout was used. Thus, there should be a boot area large&lt;BR /&gt;enough to overwrite with mkboot, like this?.&lt;BR /&gt;&lt;BR /&gt;# mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/c0t1d0&lt;BR /&gt;# mkboot -b /dev/rdsk/c0t1d0&lt;BR /&gt;&lt;BR /&gt;Will my vmunix be overwritten?&lt;BR /&gt;Do I then need to do pvcreate -B first? Even if it was a&lt;BR /&gt;prior boot disk?&lt;BR /&gt;&lt;BR /&gt;You say I can use mkboot to write boot LIF, but it will fail&lt;BR /&gt;in a new way? Could you elaborate on that.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Runar JÃ¸rgensen</description>
      <pubDate>Fri, 27 Apr 2007 07:57:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988540#M295295</guid>
      <dc:creator>Runar Jørgensen</dc:creator>
      <dc:date>2007-04-27T07:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: boot problems: Not a LIF volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988541#M295296</link>
      <description>If there is not enough space for the boot area, writing the boot LIF will overwrite the beginning of the LVM PV and maybe the beginning of the /stand filesystem too.&lt;BR /&gt;&lt;BR /&gt;If only the LVM PV header gets overwritten, the HPUX loader will still be able to read and execute /stand/vmunix, but after that there will be problems in activating the vg00 volume group. You may find out that the system will boot only in LVM maintenance mode. Recovery will be difficult, since fixing the PV header (if that's even possible) will again overwrite the boot area, and you will be back where you started from.&lt;BR /&gt;&lt;BR /&gt;If the beginning of /stand filesystem is overwritten too, the metadata of the /stand filesystem gets corrupted. The HPUX loader will not be able to find /stand/vmunix and your system will not boot at all.&lt;BR /&gt;&lt;BR /&gt;If there is any important information on the disk, you could vgimport the vg00 of the bad disk using some other name. I strongly recommend you do this before any experiments with mkboot.&lt;BR /&gt;&lt;BR /&gt;The required commands would be something like this:&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vgbroken&lt;BR /&gt;mknod /dev/vgbroken/group c 64 0x010000&lt;BR /&gt;(remember to choose a minor device number that does not conflict with existing volume groups!)&lt;BR /&gt;&lt;BR /&gt;vgimport -v vgbroken /dev/dsk/c0t1d0&lt;BR /&gt;&lt;BR /&gt;This will report the names of the LVs on the bad disk. &lt;BR /&gt;&lt;BR /&gt;Now you can mount the LVs of the bad disk. If  a standard vg00 layout was used, you could do something like this:&lt;BR /&gt;&lt;BR /&gt;mkdir /&lt;BR /&gt;mount /dev/vgbroken/lvol3 /broken&lt;BR /&gt;(root filesystem of the bad disk)&lt;BR /&gt;&lt;BR /&gt;mount /dev/vgbroken/lvol1 /broken/stand&lt;BR /&gt;&lt;BR /&gt;...and continue until you have the entire system VG mounted under /broken. You can use /broken/etc/fstab to identify the correct LVs.&lt;BR /&gt;&lt;BR /&gt;Then you can back up everything you find necessary from the bad disk.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Sat, 28 Apr 2007 00:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988541#M295296</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2007-04-28T00:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: boot problems: Not a LIF volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988542#M295297</link>
      <description>Greetings&lt;BR /&gt;&lt;BR /&gt;Matti, I followed your recommendation and tried to vgimport&lt;BR /&gt;the volume on the broken isk.  No errors in the import process. No&lt;BR /&gt;LVs was reported on the broken disk. &lt;BR /&gt;&lt;BR /&gt;# ls -l /dev/vgbroken/* returned the group file otherwise zilch&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Runar JÃ¸rgensen</description>
      <pubDate>Wed, 02 May 2007 06:41:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-problems-not-a-lif-volume/m-p/3988542#M295297</guid>
      <dc:creator>Runar Jørgensen</dc:creator>
      <dc:date>2007-05-02T06:41:57Z</dc:date>
    </item>
  </channel>
</rss>

