<?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 Problems with LVMTab in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434256#M561302</link>
    <description>Hi everybody,&lt;BR /&gt;&lt;BR /&gt;It seems like I have a corrupt lvmtab on my hp-ux 11iv3 system... Recentyl I tried to increase vg00 by adding the disk c0t1d0 to this volume group. For some reason this process failed but I managed to free enough space on one of the logical volumes on vg00 to keep the system running.&lt;BR /&gt;&lt;BR /&gt;Now I tried to create a Serviceguard cluster and got an error which suggested I should issue a pvcreate to the disk "c0t1d0". I did this and I'm now able to create a SG cluster.&lt;BR /&gt;&lt;BR /&gt;However when I stat "pvdisplay c0t1d0" I get the following output&lt;BR /&gt;&lt;BR /&gt;bb90:root:/etc pvdisplay /dev/dsk/c0t1d0&lt;BR /&gt;pvdisplay: Couldn't find the volume group to which&lt;BR /&gt;physical volume "/dev/dsk/c0t1d0" belongs.&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c0t1d0".&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg00:&lt;BR /&gt;&lt;BR /&gt;bb90:root:/etc vgdisplay -v vg00&lt;BR /&gt;vgdisplay: Volume group "/dev/vg00" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;vgdisplay: Volume group "/dev/vg00" does not exist in the "/etc/lvmtab_p" file.&lt;BR /&gt;vgdisplay: Cannot display volume group "vg00".&lt;BR /&gt;&lt;BR /&gt;And finally: vgscan -a&lt;BR /&gt;&lt;BR /&gt;Physical Volume "/dev/dsk/c0t1d0" is not part of a Volume Group&lt;BR /&gt;&lt;BR /&gt;vgscan:  has no corresponding valid raw device file under /dev/rdsk.&lt;BR /&gt;Verification of unique LVM disk id on each disk in the volume group&lt;BR /&gt;/dev/vg00 failed.&lt;BR /&gt;&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c0t3d0":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c0t2d0":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d1":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d2":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d3":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d5":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d6":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d7":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d4":Invalid argument&lt;BR /&gt;&lt;BR /&gt;So there are definately some things wrong... But I have no idea where to start since I'm not able to create a new lvmtab file...</description>
    <pubDate>Sun, 07 Jun 2009 09:56:44 GMT</pubDate>
    <dc:creator>Michael Kohs</dc:creator>
    <dc:date>2009-06-07T09:56:44Z</dc:date>
    <item>
      <title>Problems with LVMTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434256#M561302</link>
      <description>Hi everybody,&lt;BR /&gt;&lt;BR /&gt;It seems like I have a corrupt lvmtab on my hp-ux 11iv3 system... Recentyl I tried to increase vg00 by adding the disk c0t1d0 to this volume group. For some reason this process failed but I managed to free enough space on one of the logical volumes on vg00 to keep the system running.&lt;BR /&gt;&lt;BR /&gt;Now I tried to create a Serviceguard cluster and got an error which suggested I should issue a pvcreate to the disk "c0t1d0". I did this and I'm now able to create a SG cluster.&lt;BR /&gt;&lt;BR /&gt;However when I stat "pvdisplay c0t1d0" I get the following output&lt;BR /&gt;&lt;BR /&gt;bb90:root:/etc pvdisplay /dev/dsk/c0t1d0&lt;BR /&gt;pvdisplay: Couldn't find the volume group to which&lt;BR /&gt;physical volume "/dev/dsk/c0t1d0" belongs.&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c0t1d0".&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg00:&lt;BR /&gt;&lt;BR /&gt;bb90:root:/etc vgdisplay -v vg00&lt;BR /&gt;vgdisplay: Volume group "/dev/vg00" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;vgdisplay: Volume group "/dev/vg00" does not exist in the "/etc/lvmtab_p" file.&lt;BR /&gt;vgdisplay: Cannot display volume group "vg00".&lt;BR /&gt;&lt;BR /&gt;And finally: vgscan -a&lt;BR /&gt;&lt;BR /&gt;Physical Volume "/dev/dsk/c0t1d0" is not part of a Volume Group&lt;BR /&gt;&lt;BR /&gt;vgscan:  has no corresponding valid raw device file under /dev/rdsk.&lt;BR /&gt;Verification of unique LVM disk id on each disk in the volume group&lt;BR /&gt;/dev/vg00 failed.&lt;BR /&gt;&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c0t3d0":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c0t2d0":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d1":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d2":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d3":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d5":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d6":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d7":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d4":Invalid argument&lt;BR /&gt;&lt;BR /&gt;So there are definately some things wrong... But I have no idea where to start since I'm not able to create a new lvmtab file...</description>
      <pubDate>Sun, 07 Jun 2009 09:56:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434256#M561302</guid>
      <dc:creator>Michael Kohs</dc:creator>
      <dc:date>2009-06-07T09:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with LVMTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434257#M561303</link>
      <description>what is the output of&lt;BR /&gt; strings /etc/lvmtab&lt;BR /&gt;cp /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;&lt;BR /&gt;vgscan&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if you are getting&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c0t1d0".&lt;BR /&gt;&lt;BR /&gt;this means this pv doesn't beling to any vg.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 07 Jun 2009 10:12:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434257#M561303</guid>
      <dc:creator>Basheer_2</dc:creator>
      <dc:date>2009-06-07T10:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with LVMTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434258#M561304</link>
      <description>Hi Michael,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; But I have no idea where to start since I'm not able to create a new lvmtab file...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;move the lvmtab to some other name and do a vgscan&lt;BR /&gt;&lt;BR /&gt;#mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;#vgscan -v&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Johnson&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 07 Jun 2009 10:44:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434258#M561304</guid>
      <dc:creator>johnsonpk</dc:creator>
      <dc:date>2009-06-07T10:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with LVMTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434259#M561305</link>
      <description>Dear friend&lt;BR /&gt;&lt;BR /&gt;run vgscan command&lt;BR /&gt;&lt;BR /&gt;The  vgscan commadn  recreates the /etc/lvmtab file. You should use this command when this file is corrupted. This file stores the bindings of physical volumes to their corresponsing volume groups. &lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;Sajjad Sahir</description>
      <pubDate>Sun, 07 Jun 2009 11:29:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434259#M561305</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2009-06-07T11:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with LVMTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434260#M561306</link>
      <description>Thanks to all your answers, I renamed the lvmtab file and started a vgscan -v as suggested.&lt;BR /&gt;&lt;BR /&gt;Unfortunately the output is:&lt;BR /&gt;&lt;BR /&gt;bb90:root:/etc mv lvmtab lvmtab_corrupt&lt;BR /&gt;bb90:root:/etc vgscan -v&lt;BR /&gt;Creating "/etc/lvmtab".&lt;BR /&gt;vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg00".&lt;BR /&gt;Physical Volume "/dev/dsk/c0t1d0" is not part of a Volume Group&lt;BR /&gt;&lt;BR /&gt;vgscan:  has no corresponding valid raw device file under /dev/rdsk.&lt;BR /&gt;Verification of unique LVM disk id on each disk in the volume group&lt;BR /&gt;/dev/vg00 failed.&lt;BR /&gt;&lt;BR /&gt;Scan of Physical Volumes Complete.&lt;BR /&gt;*** LVMTAB has been created successfully.&lt;BR /&gt;*** Do the following to resync the information on the disk.&lt;BR /&gt;*** #1.  vgchange -a y&lt;BR /&gt;*** #2.  lvlnboot -R&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c0t3d0":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c0t2d0":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d1":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d2":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d3":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d5":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d6":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d7":Invalid argument&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t0d4":Invalid argument&lt;BR /&gt;&lt;BR /&gt;Scan of Physical Volumes Complete.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab shows nothing... Still seems to be empty</description>
      <pubDate>Sun, 07 Jun 2009 11:39:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434260#M561306</guid>
      <dc:creator>Michael Kohs</dc:creator>
      <dc:date>2009-06-07T11:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with LVMTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434261#M561307</link>
      <description>Hi &lt;BR /&gt;do the following&lt;BR /&gt;&lt;BR /&gt;This command shall remove the useless entries for the the absent PVs from the VG.&lt;BR /&gt;See Man(1M) vgreduce.&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60130/vgreduce.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60130/vgreduce.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;#vgreduce -f /dev/vg00&lt;BR /&gt;#vgscan -k -f /dev/vg00&lt;BR /&gt;&lt;BR /&gt;OR &lt;BR /&gt;&lt;BR /&gt;#vgreduce -f /dev/vg00&lt;BR /&gt;#mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;#vgscan -av&lt;BR /&gt;do make sure that you check the following things and set them after that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#setboot&lt;BR /&gt;#lvlnboot -v&lt;BR /&gt;#lvlnboot -R&lt;BR /&gt;#lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;sujit</description>
      <pubDate>Mon, 08 Jun 2009 05:04:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434261#M561307</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-06-08T05:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with LVMTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434262#M561308</link>
      <description>Thanks!&lt;BR /&gt;&lt;BR /&gt;#vgscan -k -f /dev/vg00&lt;BR /&gt;&lt;BR /&gt;solved the issue with lvmtab and after issuing "strings lvmtab" I now get the following:&lt;BR /&gt;&lt;BR /&gt;/dev/vg00&lt;BR /&gt;LE`{I&lt;BR /&gt;/dev/disk/disk7_p2&lt;BR /&gt;&lt;BR /&gt;But one issue still remains. When I stat "pvdisplay /dev/dsk/c0t1d0" I still get&lt;BR /&gt;&lt;BR /&gt;pvdisplay: Couldn't find the volume group to which physical volume "dev..." belongs. &lt;BR /&gt;pvdisplay: Cannot display physical volume"...".&lt;BR /&gt;&lt;BR /&gt;So I thought of removing the vg headers from the disk but &lt;BR /&gt;&lt;BR /&gt;#vgreduce /dev/vg00 /dev/dsk/c0t1d0&lt;BR /&gt;&lt;BR /&gt;shows&lt;BR /&gt;&lt;BR /&gt;vgreduce: Too many physical volumes specified. At least one physical volume must stay in the volume group.&lt;BR /&gt;&lt;BR /&gt;I would be really happy I someone could assist me getting rid of this last issue.&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 08 Jun 2009 06:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434262#M561308</guid>
      <dc:creator>Michael Kohs</dc:creator>
      <dc:date>2009-06-08T06:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with LVMTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434263#M561309</link>
      <description>Hi Michael,&lt;BR /&gt;&lt;BR /&gt;I believe you are playing with the disk which is already there in the vg00 .The vg00 uses PDSF  of your hdd  /dev/dsk/c0t1d0 (the vgg might be using one section of your /dev/dsk/c0t1d0) &lt;BR /&gt;&lt;BR /&gt;You can confirm this by executing&lt;BR /&gt;#ioscan -m dsf /dev/disk/disk7_p2&lt;BR /&gt; and see what is the dsf corresponding address for that&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can also do a reverse lookup for pdsf by &lt;BR /&gt;#ioscan -m dsf /dev/dsk/c0t1d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Johnson</description>
      <pubDate>Mon, 08 Jun 2009 06:38:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434263#M561309</guid>
      <dc:creator>johnsonpk</dc:creator>
      <dc:date>2009-06-08T06:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with LVMTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434264#M561310</link>
      <description>Hi Johnson,&lt;BR /&gt;&lt;BR /&gt;I checked the dsf of /dev/disk/disk7_p2 and the corresponding legacy dsf is "/dev/dsk/c0t0d0s2"&lt;BR /&gt;&lt;BR /&gt;The persistent dsf of /dev/dsk/c0t1d0 is /dev/disk/disk4 and it is not used in any vg.&lt;BR /&gt;&lt;BR /&gt;Is it possible to just "override" the pv by another #pvcreate? I am 100% sure that there is no data on this disk.</description>
      <pubDate>Mon, 08 Jun 2009 06:49:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434264#M561310</guid>
      <dc:creator>Michael Kohs</dc:creator>
      <dc:date>2009-06-08T06:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with LVMTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434265#M561311</link>
      <description>Hi Micahel,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;The persistent dsf of /dev/dsk/c0t1d0 is /dev/disk/disk4 and it is not used in any vg.&lt;BR /&gt;&lt;BR /&gt;Is it possible to just "override" the pv by another #pvcreate? I am 100% sure that there is no data on this disk.&lt;BR /&gt;&lt;BR /&gt;On safer side ,just confirm the below things before you execute pvcreate again&lt;BR /&gt;&lt;BR /&gt;#ioscan -m dsf /dev/disk/disk4 and see any of the dsfs related to your disk4 is not present any of your local node by doing #strings /etc/lvmatb |grep -i &lt;DSF disk=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Take the serial number and WWID of disk4 from the node you are working on and confirm no vgs on the second node of your cluster is disk with wwid of disk4&lt;BR /&gt;&lt;BR /&gt;To find wwid and serail number&lt;BR /&gt;#scsimgr get_info -D /dev/rdisk/disk4 |grep -e "WWID" -e "Serial"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Once you confirm this ,you can goa head with pvcreate&lt;BR /&gt;&lt;BR /&gt;#pvcreate /dev/rdisk/disk4 &lt;BR /&gt;if any error use -f with pvcreate&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Johnson&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DSF&gt;</description>
      <pubDate>Mon, 08 Jun 2009 07:27:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434265#M561311</guid>
      <dc:creator>johnsonpk</dc:creator>
      <dc:date>2009-06-08T07:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with LVMTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434266#M561312</link>
      <description>&amp;gt;&amp;gt;&amp;gt;But one issue still remains. When I stat "pvdisplay /dev/dsk/c0t1d0" I still get&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;pvdisplay: Couldn't find the volume group to which physical volume "dev..." belongs. &lt;BR /&gt;pvdisplay: Cannot display physical volume"...".&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;So I thought of removing the vg headers from the disk but &lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;#vgreduce /dev/vg00 /dev/dsk/c0t1d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hi Sir,&lt;BR /&gt;&lt;BR /&gt;do the &lt;BR /&gt;&lt;BR /&gt;#vgreduce -f /dev/vg00&lt;BR /&gt;&lt;BR /&gt;this shall remove the entry of "missingDisk" from the VG vg00.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;sujit</description>
      <pubDate>Mon, 08 Jun 2009 08:56:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-lvmtab/m-p/4434266#M561312</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-06-08T08:56:38Z</dc:date>
    </item>
  </channel>
</rss>

