<?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: lvm problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697921#M644850</link>
    <description>To further Chan's point&lt;BR /&gt;&lt;BR /&gt;I've seen two systems where someone has copied the /etc/lvmtab file from one machine to the other (SG pair).  It will work, for a while.  Anyway to check the VGID on a disk use&lt;BR /&gt;&lt;BR /&gt;dd if= bs=1024 skip=8 count=9 | dd bs=8 skip=2 count=1 | od -x | head -1&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; 0000000 77e4 2b30 3905 58f0&lt;BR /&gt;&lt;BR /&gt;VGID=77e4 2b30 3905 58f0&lt;BR /&gt;&lt;BR /&gt;to see the same info in the /etc/lvmtab is slightly more difficult as it is hidden.  The VGID is only listed on the first disk in the VG so if you do a more on /etc/lvmtab you get something like&lt;BR /&gt;^CM-h^B/dev/vg00&lt;BR /&gt;wM-d+09^EXM-p^A/dev/dsk/c1t6d0&lt;BR /&gt;/dev/vgswap&lt;BR /&gt;&lt;BR /&gt;wM-d+09M-HM-E+^D/dev/dsk/c0t2d0&lt;BR /&gt;&lt;BR /&gt;/dev/dsk/c0t3d0&lt;BR /&gt;&lt;BR /&gt;/dev/dsk/c0t4d0&lt;BR /&gt;&lt;BR /&gt;/dev/dsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;Again use od -x /etc/lvmtab and look for the VGID you found on the disk. (remember to ignore the first column&lt;BR /&gt;od -x /etc/lvmtab&lt;BR /&gt;0000000 03e8 0000 0000 0002 0000 0000 2f64 6576&lt;BR /&gt;0000020 2f76 6730 3000 0000 0000 0000 0000 0000&lt;BR /&gt;0000040 0000 0000 0000 0000 0000 0000 0000 0000&lt;BR /&gt;*&lt;BR /&gt;0002000 0000 0000 0000 0000 0000 0000 77e4 2b30&lt;BR /&gt;0002020 3905 58f0 0000 0000 0000 0000 0001 0000&lt;BR /&gt;0002040 0000 0000 0000 0000 0000 2f64 6576 2f64&lt;BR /&gt;0002060 736b 2f63 3174 3664 3000 0000 0000 0000&lt;BR /&gt;0002100 0000 0000 0000 0000 0000 0000 0000 0000&lt;BR /&gt;*&lt;BR /&gt;0004040 0000 0000 0000 0000 0000 0000 0000 2f64&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;You can see the VGID in the 1st &amp;amp; 2nd line of the second set of text here (which is listing the disk)&lt;BR /&gt;&lt;BR /&gt;I do not know of any tools that will figure this out for you&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;</description>
    <pubDate>Mon, 08 Apr 2002 11:33:44 GMT</pubDate>
    <dc:creator>Tim D Fulford</dc:creator>
    <dc:date>2002-04-08T11:33:44Z</dc:date>
    <item>
      <title>lvm problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697912#M644841</link>
      <description>Hi, strange lvm problem.&lt;BR /&gt;&lt;BR /&gt;system disk in vg00. mount confirms this. &lt;BR /&gt;However, vg00 is not in /etc/lvmtab! And&lt;BR /&gt;lvcommands fails with vg00 not in lvmtab.&lt;BR /&gt;&lt;BR /&gt;Any suggestions?&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Apr 2002 11:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697912#M644841</guid>
      <dc:creator>Tore_1</dc:creator>
      <dc:date>2002-04-05T11:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: lvm problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697913#M644842</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;/etc/lvmtab corrupted??&lt;BR /&gt;-&amp;gt;&lt;BR /&gt;mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;(file MUST be removed or renamed)&lt;BR /&gt;vgscan -a&lt;BR /&gt;&lt;BR /&gt;check with "strings /etc/lvmtab" if all required VG's are detected.  If not put /etc/lvmtab.old back in place.&lt;BR /&gt;&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Fri, 05 Apr 2002 11:57:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697913#M644842</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2002-04-05T11:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: lvm problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697914#M644843</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can do a vgscan -p -v to preview what vgscan would do to the lvmtab file if this command was run.&lt;BR /&gt;If this looks OK to you You can run vgscan -v to recreate lvmtab.&lt;BR /&gt;&lt;BR /&gt;Move the old one away before doing this.&lt;BR /&gt;&lt;BR /&gt;In case of mirrored disk or alternate links be carefull to run this.&lt;BR /&gt;Primary and alternate may possibble switch around.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;C.</description>
      <pubDate>Fri, 05 Apr 2002 11:58:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697914#M644843</guid>
      <dc:creator>Clemens van Everdingen</dc:creator>
      <dc:date>2002-04-05T11:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: lvm problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697915#M644844</link>
      <description>Thanks. But how can lvmtab be corrupted. And how come the system is able to boot and mount the logical volumes in vg00 while vg00 isnt in /etc/lvmtab?</description>
      <pubDate>Fri, 05 Apr 2002 12:00:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697915#M644844</guid>
      <dc:creator>Tore_1</dc:creator>
      <dc:date>2002-04-05T12:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: lvm problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697916#M644845</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Booting is not dependent on the lvmtab file.&lt;BR /&gt;Mounting filesystems is done from /etc/fstab.&lt;BR /&gt;&lt;BR /&gt;C.</description>
      <pubDate>Fri, 05 Apr 2002 12:02:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697916#M644845</guid>
      <dc:creator>Clemens van Everdingen</dc:creator>
      <dc:date>2002-04-05T12:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: lvm problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697917#M644846</link>
      <description>lvmtab isn't consulted when activating a vg or mounting filesystems. Only  when changing the LVM configuration.&lt;BR /&gt;As it seems lvmtab is OK (apart from missing vg00) my guess isit was removed and then some more vg's added.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Trond</description>
      <pubDate>Fri, 05 Apr 2002 12:32:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697917#M644846</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2002-04-05T12:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: lvm problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697918#M644847</link>
      <description>Hello Tore,&lt;BR /&gt;&lt;BR /&gt;This would also indicate that /etc/lvmtab became corrupt after you booted.&lt;BR /&gt;&lt;BR /&gt;- Because a volume group does have to be activated inorder to mount logical volumes in that volume group.&lt;BR /&gt;&lt;BR /&gt;- Look in your syslog.log file and look around the last boot time. I wouldn't think you would have any errors around vg00 until afterwards.&lt;BR /&gt;&lt;BR /&gt;/etc/dmesg will also show errors activating a volume group.</description>
      <pubDate>Fri, 05 Apr 2002 14:46:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697918#M644847</guid>
      <dc:creator>Krishna Prasad</dc:creator>
      <dc:date>2002-04-05T14:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: lvm problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697919#M644848</link>
      <description>Hi Tore,&lt;BR /&gt;&lt;BR /&gt;I think this problem is related to service guard environment.&lt;BR /&gt;&lt;BR /&gt;Please look at the thread below and it will help you in resolving your problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe0e65f260cafd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe0e65f260cafd4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-pap&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Apr 2002 14:52:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697919#M644848</guid>
      <dc:creator>pap</dc:creator>
      <dc:date>2002-04-05T14:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: lvm problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697920#M644849</link>
      <description>Another possible reason why you're getting this is that you got an inconsistency VGID between lvmtab and the disks (VGRA). I'm not sure how to extract the VGID and compare them but one way they can be different is that you got the disk connected to 2 systems for example plu if you got patch PHCO_21630 (for 11.00) installed, it enforces the consistency check. If found different it'll report the error. To solve your problem, do what others have suggested (recreate lvmtab).&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Apr 2002 15:20:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697920#M644849</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-04-05T15:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: lvm problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697921#M644850</link>
      <description>To further Chan's point&lt;BR /&gt;&lt;BR /&gt;I've seen two systems where someone has copied the /etc/lvmtab file from one machine to the other (SG pair).  It will work, for a while.  Anyway to check the VGID on a disk use&lt;BR /&gt;&lt;BR /&gt;dd if= bs=1024 skip=8 count=9 | dd bs=8 skip=2 count=1 | od -x | head -1&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; 0000000 77e4 2b30 3905 58f0&lt;BR /&gt;&lt;BR /&gt;VGID=77e4 2b30 3905 58f0&lt;BR /&gt;&lt;BR /&gt;to see the same info in the /etc/lvmtab is slightly more difficult as it is hidden.  The VGID is only listed on the first disk in the VG so if you do a more on /etc/lvmtab you get something like&lt;BR /&gt;^CM-h^B/dev/vg00&lt;BR /&gt;wM-d+09^EXM-p^A/dev/dsk/c1t6d0&lt;BR /&gt;/dev/vgswap&lt;BR /&gt;&lt;BR /&gt;wM-d+09M-HM-E+^D/dev/dsk/c0t2d0&lt;BR /&gt;&lt;BR /&gt;/dev/dsk/c0t3d0&lt;BR /&gt;&lt;BR /&gt;/dev/dsk/c0t4d0&lt;BR /&gt;&lt;BR /&gt;/dev/dsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;Again use od -x /etc/lvmtab and look for the VGID you found on the disk. (remember to ignore the first column&lt;BR /&gt;od -x /etc/lvmtab&lt;BR /&gt;0000000 03e8 0000 0000 0002 0000 0000 2f64 6576&lt;BR /&gt;0000020 2f76 6730 3000 0000 0000 0000 0000 0000&lt;BR /&gt;0000040 0000 0000 0000 0000 0000 0000 0000 0000&lt;BR /&gt;*&lt;BR /&gt;0002000 0000 0000 0000 0000 0000 0000 77e4 2b30&lt;BR /&gt;0002020 3905 58f0 0000 0000 0000 0000 0001 0000&lt;BR /&gt;0002040 0000 0000 0000 0000 0000 2f64 6576 2f64&lt;BR /&gt;0002060 736b 2f63 3174 3664 3000 0000 0000 0000&lt;BR /&gt;0002100 0000 0000 0000 0000 0000 0000 0000 0000&lt;BR /&gt;*&lt;BR /&gt;0004040 0000 0000 0000 0000 0000 0000 0000 2f64&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;You can see the VGID in the 1st &amp;amp; 2nd line of the second set of text here (which is listing the disk)&lt;BR /&gt;&lt;BR /&gt;I do not know of any tools that will figure this out for you&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Apr 2002 11:33:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-problem/m-p/2697921#M644850</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2002-04-08T11:33:44Z</dc:date>
    </item>
  </channel>
</rss>

