<?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: /etc/lvmtab and kernel do not agree in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425056#M655930</link>
    <description>Hi Rick,&lt;BR /&gt;Solved your problem?&lt;BR /&gt;How many disks have you in this vg? I mean does it match with what you know of, like ioscan results. I once had something of the sort going thru sam, also on a K with 10.20, and in fact it was a misconfiguration to do with in my case of  alternate paths not matching properly...(almost like AIX ghost disks).&lt;BR /&gt;If I remember right I had to remove all the disks of th volume group:&lt;BR /&gt;vgreduce /dev/vgXX /dev/dsk/cYd0s2..&lt;BR /&gt;vgremove /dev/vgXX&lt;BR /&gt;and start again&lt;BR /&gt;&lt;BR /&gt;Hope It will help&lt;BR /&gt;Regards&lt;BR /&gt;Victor</description>
    <pubDate>Wed, 12 Jul 2000 18:00:29 GMT</pubDate>
    <dc:creator>Victor BERRIDGE</dc:creator>
    <dc:date>2000-07-12T18:00:29Z</dc:date>
    <item>
      <title>/etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425039#M655913</link>
      <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;This is one I have not seen before.&lt;BR /&gt;&lt;BR /&gt;Got a K420 with 10.20 HP-UX. In the /etc/lvmtab it shows 4 disks being used. In SAM it shows 6 disks being used. Try to do vgcfgbackup and I get the following message:&lt;BR /&gt;  /etc/lvmtab is out of date with the running kernel; kernel indicates 6 disks for   /dev/vg30; /etc/lvmtab has 4 disks&lt;BR /&gt;Not a major problem, haven't seen any issues because of it - yet. It does prevent the addition of addition logical volumes.&lt;BR /&gt;&lt;BR /&gt;What could be the matter and how to fix?&lt;BR /&gt;&lt;BR /&gt;Many thanks!&lt;BR /&gt;Rick</description>
      <pubDate>Tue, 06 Jun 2000 14:26:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425039#M655913</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-06T14:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425040#M655914</link>
      <description>try to create a new lvmtab. It should contail all disks&lt;BR /&gt;&lt;BR /&gt; # mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt; # vgscan -v</description>
      <pubDate>Tue, 06 Jun 2000 14:29:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425040#M655914</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-06-06T14:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425041#M655915</link>
      <description>try to create a new lvmtab. It should contail all disks &lt;BR /&gt;&lt;BR /&gt;# mv /etc/lvmtab /etc/lvmtab.old &lt;BR /&gt;# vgscan -v &lt;BR /&gt;&lt;BR /&gt;After doing the above step's  to verify the lvmconf file and lvmtab file contains same info.&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;vgcfgrestore -n /dev/vg30 -l&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jun 2000 18:40:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425041#M655915</guid>
      <dc:creator>Jag_2</dc:creator>
      <dc:date>2000-06-06T18:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425042#M655916</link>
      <description>It all agreees but the same error shows up:&lt;BR /&gt;  /etc/lvmtab out of date with the running kernel; kernel indicates 6 disks for /dev/vg30;   /etc/lvmtab has 4&lt;BR /&gt;&lt;BR /&gt;The vgscan only sees 4 disks. Doing the list of vgcfgrestore shows 4 disks as well.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jun 2000 19:03:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425042#M655916</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-06T19:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425043#M655917</link>
      <description>try using 'vgchange'. It reads in the VGRA from the disks, updates /etc/lvmtab, then updates the kernel memory info.&lt;BR /&gt;&lt;BR /&gt;With no users on the system, try:&lt;BR /&gt;vgchange -a n vg01&lt;BR /&gt;vgchange -a y vg01&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;vgdisplay -v&lt;BR /&gt;&lt;BR /&gt;They should now match.&lt;BR /&gt;&lt;BR /&gt;Good Luck!</description>
      <pubDate>Tue, 06 Jun 2000 19:12:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425043#M655917</guid>
      <dc:creator>Robert Gamble</dc:creator>
      <dc:date>2000-06-06T19:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425044#M655918</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;Looks like we can't go the easy way?&lt;BR /&gt;If lvmtab and kernel disagree there is one important question: who is right? Do you how many disks are really part of the VG?&lt;BR /&gt;What does vgdisplay display for Cur PV and Act PV?&lt;BR /&gt;Use:  vgcfgrestore -n /dev/VG_NAME -l  to see the list of physical volumes contained within the last good backup.&lt;BR /&gt;&lt;BR /&gt;Maybe the answer on this question get us closer to the cause of your problem&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2000 07:56:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425044#M655918</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-06-07T07:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425045#M655919</link>
      <description>There are four disks installed as part of the VG. &lt;BR /&gt;The vg.conf indicates the right number and the right devices.&lt;BR /&gt;strings /etc/lvmtab indicate the right number of disks with the correct devices.&lt;BR /&gt;vgcfgrestore -n /dev/vg30 -l indicates the right number of disks and the correct devices.&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v /dev/vg30 shows CUR PV = 6 with ACT PV = 4&lt;BR /&gt;&lt;BR /&gt;There were 6. This was before my time at this job. Apparently, somebody just physically removed them with exporting or anything else. This is where I believe the original problem started. &lt;BR /&gt;&lt;BR /&gt;I have checked out the /dev/vg30 directory and am able to match up all the lvols to the correct devices.</description>
      <pubDate>Wed, 07 Jun 2000 13:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425045#M655919</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-07T13:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425046#M655920</link>
      <description>OK, this is a case for:&lt;BR /&gt;# vgreduce -f /dev/vg00&lt;BR /&gt;&lt;BR /&gt;The manual page for vgreduce has a good explanation what it does to your VG...&lt;BR /&gt;&lt;BR /&gt;good luck</description>
      <pubDate>Wed, 07 Jun 2000 13:14:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425046#M655920</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-06-07T13:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425047#M655921</link>
      <description>OK, this is a case for: &lt;BR /&gt;&lt;BR /&gt; # vgreduce -f /dev/vg_name &lt;BR /&gt;&lt;BR /&gt;The manual page for vgreduce has a good explanation what it does to your VG... &lt;BR /&gt;&lt;BR /&gt;good luck</description>
      <pubDate>Wed, 07 Jun 2000 13:20:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425047#M655921</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-06-07T13:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425048#M655922</link>
      <description>You should run vgreduce -f /dev/vg30.  This will remove the 2 missing PV's(disks) from your volume group.  See the man page for vgreduce for more info&lt;BR /&gt;&lt;BR /&gt;Jim</description>
      <pubDate>Wed, 07 Jun 2000 13:24:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425048#M655922</guid>
      <dc:creator>James Lynch</dc:creator>
      <dc:date>2000-06-07T13:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425049#M655923</link>
      <description>Have done asking of those who have been here awhile. Seems that 2 4GB disks were removed from the system before my time. This was done without doing the vgresuce command. Seems that this solution matches what I am seeing. I will be doing the task over this weekend and confirm.&lt;BR /&gt;&lt;BR /&gt;Many thanks.</description>
      <pubDate>Wed, 07 Jun 2000 13:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425049#M655923</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-07T13:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425050#M655924</link>
      <description>If vgdisplay showsCur PV is greater than Act PV then ghost disks are present. All who said to use:&lt;BR /&gt;  vgchange -f vgxx&lt;BR /&gt;are right. This can be done online without making the vg unavailable.</description>
      <pubDate>Wed, 07 Jun 2000 20:19:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425050#M655924</guid>
      <dc:creator>Ric Bradley</dc:creator>
      <dc:date>2000-06-07T20:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425051#M655925</link>
      <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;Did the vgreduce -f /dev/vg30 and it did not work. Still have the CUR PV=6 and ACT PV=4. Still have the other problems as well.&lt;BR /&gt;&lt;BR /&gt;I have read the docs for vgreduce and with the -f option, it describes exactly what I am looking to do but doesn't do it. &lt;BR /&gt;&lt;BR /&gt;Any ideas why it did't work?&lt;BR /&gt;&lt;BR /&gt;Thanks -- Rick</description>
      <pubDate>Mon, 12 Jun 2000 17:16:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425051#M655925</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-12T17:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425052#M655926</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;What do you mean by other problems?  Perhaps a hardware issue is masquerading as a config issue.   You might have to crack the case and see 'how' the 2 drives where removed.&lt;BR /&gt;&lt;BR /&gt;Are the drives sleds that auto-select some SCSI ID?  Something sounds very odd here.  Have you tried to rebuild the kernel?&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jun 2000 18:26:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425052#M655926</guid>
      <dc:creator>David DeMartini</dc:creator>
      <dc:date>2000-06-12T18:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425053#M655927</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;Why can't the real live not be that easy as a manual page?&lt;BR /&gt;Have you tried to export and re-import the VG?&lt;BR /&gt;1) Use: ll /dev/vg30/group  to get 0x###### minor number.&lt;BR /&gt;2) vgdisplay -v /dev/vg30  to get physical volumes&lt;BR /&gt;3) vgchange -a n /dev/vg30&lt;BR /&gt;4) vgexport -m /mapfile /dev/vg30&lt;BR /&gt;5) mkdir /dev/vg30&lt;BR /&gt;6) mknod /dev/vg_name/group c 64 0x0#0000 &lt;BR /&gt;    Re-use minor number obtained from step 1.&lt;BR /&gt;7) vgimport -m /mapfile /dev/vg30  pv_name pv_name pv_name pv_name&lt;BR /&gt;&lt;BR /&gt;Activate the vg30 and verify if the CUR PV and ACT PV have the same value. If not, try again the vgreduce -f&lt;BR /&gt;&lt;BR /&gt;I hope this will make it. Otherwise I run out of ideas &lt;BR /&gt;</description>
      <pubDate>Tue, 13 Jun 2000 06:24:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425053#M655927</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-06-13T06:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425054#M655928</link>
      <description>My next step is to try the vgexport/vgimport. I am thinking that if the mapfile comes out with six devices, I will modify to only have the four. Then import back in. &lt;BR /&gt;&lt;BR /&gt;I am at a loss as well. The man pages state, almost exactly, what I want to do and it is with the vgreduce -f command.&lt;BR /&gt;&lt;BR /&gt;Go figure?</description>
      <pubDate>Tue, 13 Jun 2000 13:04:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425054#M655928</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-13T13:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425055#M655929</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;I have seen some cases, that you have to vgreduce twice in succession and follow it up by using vgscan -v to recreate the /etc/lvmtab.&lt;BR /&gt;# vgreduce -f /dev/vg04&lt;BR /&gt;# vgreduce -f /dev/vg04&lt;BR /&gt;# mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;# vgscan -v&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jul 2000 15:24:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425055#M655929</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2000-07-12T15:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425056#M655930</link>
      <description>Hi Rick,&lt;BR /&gt;Solved your problem?&lt;BR /&gt;How many disks have you in this vg? I mean does it match with what you know of, like ioscan results. I once had something of the sort going thru sam, also on a K with 10.20, and in fact it was a misconfiguration to do with in my case of  alternate paths not matching properly...(almost like AIX ghost disks).&lt;BR /&gt;If I remember right I had to remove all the disks of th volume group:&lt;BR /&gt;vgreduce /dev/vgXX /dev/dsk/cYd0s2..&lt;BR /&gt;vgremove /dev/vgXX&lt;BR /&gt;and start again&lt;BR /&gt;&lt;BR /&gt;Hope It will help&lt;BR /&gt;Regards&lt;BR /&gt;Victor</description>
      <pubDate>Wed, 12 Jul 2000 18:00:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425056#M655930</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2000-07-12T18:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425057#M655931</link>
      <description>Problem still exists. Been through the vgreduce, vgscan, vgexport/vgimport, etc.&lt;BR /&gt;Still exists. The kernel is still seeing CUR PV=6 and ACT PV=4. There are only 4 disks in the PV so the ACT is correct. Also in vgdisplay, shows CUR LV=14 and the Open LV=10. The 10 figure is correct. Somehow I need to find out what the lvols were on the disks that were removed, do the lvremove command, then I believe I can do the vgreduce -f command. &lt;BR /&gt;&lt;BR /&gt;You are correct in that removing the VG and starting over again will solve the problem but I find it hard to believe that thisd would be the only cure.</description>
      <pubDate>Wed, 12 Jul 2000 18:09:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425057#M655931</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-07-12T18:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/lvmtab and kernel do not agree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425058#M655932</link>
      <description>There has to be a better way.  Did your vgexport map show 4 devices or 6?&lt;BR /&gt;&lt;BR /&gt;If you do a strings on /etc/lvmtab how many devices and lvols are shown?&lt;BR /&gt;&lt;BR /&gt;Did you specify all four disks when issuing the vgimport?&lt;BR /&gt;&lt;BR /&gt;Did you try doing a vgscan while the vg was exported?</description>
      <pubDate>Wed, 12 Jul 2000 18:26:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-lvmtab-and-kernel-do-not-agree/m-p/2425058#M655932</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-07-12T18:26:35Z</dc:date>
    </item>
  </channel>
</rss>

