<?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: lvlnboot -R Error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvlnboot-r-error/m-p/2546766#M649296</link>
    <description>You yould change your auto file in the mkboot but that's not your problem..&lt;BR /&gt;&lt;BR /&gt;In either case don't reinvent the wheel here is a good script (Andreas Voss' script attachment) to create mirrored boot disks.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x9f86dfe5920fd5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x9f86dfe5920fd5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Your problem seems to be with the c0t5d0 volume group.&lt;BR /&gt;You may want to verify that from an&lt;BR /&gt;ll /dev/*/group that vg01 exists and that it's group file is unique in terms of the mknod id and that in fact c0t5d0 does exits from ioscan -fnkCdisk.&lt;BR /&gt;&lt;BR /&gt;Can you put set -x into the top of your script and run it again and post up the output.  We'll see exactly then where the script is failing.  Although I'd recommend to put more testing for validity there first..&lt;BR /&gt;Modify the script in the post above.&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
    <pubDate>Fri, 29 Jun 2001 09:12:56 GMT</pubDate>
    <dc:creator>Bill McNAMARA_1</dc:creator>
    <dc:date>2001-06-29T09:12:56Z</dc:date>
    <item>
      <title>lvlnboot -R Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvlnboot-r-error/m-p/2546765#M649295</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I'm trying to make mirroring working on an hp9000 server with HP-UX 10.20.&lt;BR /&gt;I'm doing the following:&lt;BR /&gt;==================================&lt;BR /&gt;#!/bin/sh &lt;BR /&gt;echo"*** WARNING ***" &lt;BR /&gt;echo "This script will create a new physical volume" &lt;BR /&gt;echo "on the disk c0t6t0." &lt;BR /&gt;echo "Do not run this script if you do not want to" &lt;BR /&gt;echo "re-create a disk!!!" &lt;BR /&gt;echo " " &lt;BR /&gt;echo "Do you want to continue [Yes/No]?" &lt;BR /&gt;read a &lt;BR /&gt;if [ "$a" != "Yes" ] &lt;BR /&gt;then &lt;BR /&gt;exit 0 &lt;BR /&gt;fi &lt;BR /&gt;echo "Creating Physical Volume c0t6t0..." &lt;BR /&gt;pvcreate -f -B /dev/rdsk/c0t6d0 &lt;BR /&gt;echo "Making Boot Device..." &lt;BR /&gt;mkboot /dev/rdsk/c0t6d0 &lt;BR /&gt;mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/c0t6d0 &lt;BR /&gt;echo "Extending vg00..." &lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c0t6d0 &lt;BR /&gt;lvlnboot -v &lt;BR /&gt;lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;===========&lt;BR /&gt;#!/bin/sh &lt;BR /&gt;echo "*** WARNING ***" &lt;BR /&gt;echo "This script will create a new physical volume" &lt;BR /&gt;echo "on the disks c0t5d0 c0t4d0 c0t3d0." &lt;BR /&gt;echo "Do not run this script if you do not want to" &lt;BR /&gt;echo "re-create these disks!!!" &lt;BR /&gt;echo " " &lt;BR /&gt;echo "Do you want to continue [Yes/No]?" &lt;BR /&gt;read a &lt;BR /&gt;if [ "$a" != "Yes" ] &lt;BR /&gt;then &lt;BR /&gt;exit 0 &lt;BR /&gt;fi &lt;BR /&gt;for i in c0t5d0 c0t4d0 c0t3d0 do &lt;BR /&gt;echo "creating Physical Volume ${i}..." &lt;BR /&gt;pvcreate -f /dev/rdsk/$i &lt;BR /&gt;done &lt;BR /&gt;echo "extending vg01..." &lt;BR /&gt;vgextend /dev/vg01 /dev/dsk/c0t5d0 &lt;BR /&gt;echo "extending vg02..." &lt;BR /&gt;vgextend /dev/vg02 /dev/dsk/c0t4d0 &lt;BR /&gt;echo "extending vg03..." &lt;BR /&gt;vgextend /dev/vg03 /dev/dsk/c0t3d0 &lt;BR /&gt;echo "updating lvmconf..." &lt;BR /&gt;lvlnboot -R&lt;BR /&gt;=======================&lt;BR /&gt;with the script it gives the following error:&lt;BR /&gt;Volume group /dev/vg00 has been succesfully extenden&lt;BR /&gt;vgcfgbackup: IO error on physical volume device /dev/rdsk/c0t5d0: bad file number&lt;BR /&gt;&lt;BR /&gt;anybody knows what is wrong and how i can solve this&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;&lt;BR /&gt;Paul van der Mee</description>
      <pubDate>Fri, 29 Jun 2001 08:52:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvlnboot-r-error/m-p/2546765#M649295</guid>
      <dc:creator>Paul van der Mee</dc:creator>
      <dc:date>2001-06-29T08:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: lvlnboot -R Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvlnboot-r-error/m-p/2546766#M649296</link>
      <description>You yould change your auto file in the mkboot but that's not your problem..&lt;BR /&gt;&lt;BR /&gt;In either case don't reinvent the wheel here is a good script (Andreas Voss' script attachment) to create mirrored boot disks.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x9f86dfe5920fd5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x9f86dfe5920fd5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Your problem seems to be with the c0t5d0 volume group.&lt;BR /&gt;You may want to verify that from an&lt;BR /&gt;ll /dev/*/group that vg01 exists and that it's group file is unique in terms of the mknod id and that in fact c0t5d0 does exits from ioscan -fnkCdisk.&lt;BR /&gt;&lt;BR /&gt;Can you put set -x into the top of your script and run it again and post up the output.  We'll see exactly then where the script is failing.  Although I'd recommend to put more testing for validity there first..&lt;BR /&gt;Modify the script in the post above.&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Fri, 29 Jun 2001 09:12:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvlnboot-r-error/m-p/2546766#M649296</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-06-29T09:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: lvlnboot -R Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvlnboot-r-error/m-p/2546767#M649297</link>
      <description>Hi&lt;BR /&gt;I believe you should not run lvlnboot -R until you have defined lvols in the vg and in fact you should really run this only after you have created the boot, swap, stand, dump lvols with the lvlnboot command.  Then you would run lvlnboot -R to sync up the LABEL on the disks in the vg00 group.  So your error is probably because none of this data exists.&lt;BR /&gt;&lt;BR /&gt;Peggy</description>
      <pubDate>Sat, 30 Jun 2001 04:34:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvlnboot-r-error/m-p/2546767#M649297</guid>
      <dc:creator>Peggy Fong</dc:creator>
      <dc:date>2001-06-30T04:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: lvlnboot -R Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvlnboot-r-error/m-p/2546768#M649298</link>
      <description>&lt;BR /&gt;  Hi&lt;BR /&gt;&lt;BR /&gt;    I am not able to find any mistake in ur script. Can U give some more details like ur old strings /etc/lvmtab, And what exactly U are going to do now? How many HDD U are going to add...etc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Shahul</description>
      <pubDate>Sat, 30 Jun 2001 09:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvlnboot-r-error/m-p/2546768#M649298</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2001-06-30T09:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: lvlnboot -R Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvlnboot-r-error/m-p/2546769#M649299</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1. I agree with Shahul's answer, there are no mistakes in your scripts. So, please give some extra info relating to your problem.&lt;BR /&gt;&lt;BR /&gt;2. You can run lvlnboot -R at any time, no needs to do anything before. However this command relates to the boot volume group, so I do not feel, why you run it in the second script. So after which lvlnboot -R you obtain error message.&lt;BR /&gt;&lt;BR /&gt;3. Try to run all these commands manually, without script to check if the same error message appears.&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Sat, 30 Jun 2001 10:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvlnboot-r-error/m-p/2546769#M649299</guid>
      <dc:creator>Wieslaw Krajewski</dc:creator>
      <dc:date>2001-06-30T10:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: lvlnboot -R Error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvlnboot-r-error/m-p/2546770#M649300</link>
      <description>Hi paul,&lt;BR /&gt;&lt;BR /&gt;Basically If you read the error message correctly it says vgcfgbackup: I/O error on pv c0t5d0. I suspect you must be having bad blocks on the disk c0t5.try changing the disk. &lt;BR /&gt;Also you need to run lvlnboot -R only when you do changes to the root, boot, swap and dump lvols. and not for other lvols.Here in your first script you are just adding a disk to the VG00 so you need not mot run lvlnboot -R , its basically when you mirror the r b s d lvols &lt;BR /&gt;&lt;BR /&gt;Goodluck.</description>
      <pubDate>Sat, 30 Jun 2001 22:05:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvlnboot-r-error/m-p/2546770#M649300</guid>
      <dc:creator>Ajitkumar Rane</dc:creator>
      <dc:date>2001-06-30T22:05:00Z</dc:date>
    </item>
  </channel>
</rss>

