<?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: VG issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137139#M691306</link>
    <description>after doing what Steven suggested, i.e. re-creating the lvmtab using vgscan command, could you please post the output from command:&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;here, so that we can see what disk belongs to which volume group. After that, I am sure you will get more meaningful answers. From the data you have provided, I am having hard time understanding what happened when you restored the OS from the ignite image.&lt;BR /&gt;&lt;BR /&gt;Did you restore the ignite tapes to the same system it was created from or onto another system ? Also, if it is the same system, was there any hardware changes (like replacement of cards, or addition of new equipment) made to this system ?</description>
    <pubDate>Tue, 29 Jan 2008 15:34:30 GMT</pubDate>
    <dc:creator>Mel Burslan</dc:creator>
    <dc:date>2008-01-29T15:34:30Z</dc:date>
    <item>
      <title>VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137137#M691304</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We had recently restored the OS through ignite tap and are currently running into Volume group issues. &lt;BR /&gt;&lt;BR /&gt;# vgscan -p -v&lt;BR /&gt;vgscan: The physical volume "/dev/dsk/c0t8d0" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;vgscan: The physical volume "/dev/dsk/c0t9d0" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;vgscan: The physical volume "/dev/dsk/c0t10d0" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;vgscan: The physical volume "/dev/dsk/c1t8d0" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;vgscan: The physical volume "/dev/dsk/c1t9d0" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;vgscan: The physical volume "/dev/dsk/c1t10d0" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;vgscan: The physical volume "/dev/dsk/c1t11d0" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t2d0":&lt;BR /&gt;Invalid argument&lt;BR /&gt;&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c0t8d0&lt;BR /&gt;/dev/dsk/c0t9d0&lt;BR /&gt;/dev/dsk/c0t10d0&lt;BR /&gt;/dev/dsk/c1t8d0&lt;BR /&gt;/dev/dsk/c1t9d0&lt;BR /&gt;/dev/dsk/c1t10d0&lt;BR /&gt;&lt;BR /&gt;Following Physical Volumes belong to one Volume Group.&lt;BR /&gt;Unable to match these Physical Volumes to a Volume Group.&lt;BR /&gt;Use the vgimport command to complete the process.&lt;BR /&gt;/dev/dsk/c0t11d0&lt;BR /&gt;&lt;BR /&gt;Following Physical Volumes belong to one Volume Group.&lt;BR /&gt;Unable to match these Physical Volumes to a Volume Group.&lt;BR /&gt;Use the vgimport command to complete the process.&lt;BR /&gt;/dev/dsk/c9t0d0&lt;BR /&gt;/dev/dsk/c9t1d0&lt;BR /&gt;/dev/dsk/c9t2d0&lt;BR /&gt;/dev/dsk/c9t3d0&lt;BR /&gt;/dev/dsk/c9t8d0&lt;BR /&gt;/dev/dsk/c9t9d0&lt;BR /&gt;/dev/dsk/c9t10d0&lt;BR /&gt;&lt;BR /&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c1t11d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vg00, vg01 are currently active on the system but vg10 is not.&lt;BR /&gt;&lt;BR /&gt; # vgcfgrestore -n vg10 -l&lt;BR /&gt;Volume Group Configuration information in "/etc/lvmconf/vg10.conf"&lt;BR /&gt;VG Name /dev/vg10&lt;BR /&gt; ---- Physical volumes : 7 ----&lt;BR /&gt;    /dev/rdsk/c4t0d0 (Non-bootable)&lt;BR /&gt;    /dev/rdsk/c4t1d0 (Non-bootable)&lt;BR /&gt;    /dev/rdsk/c4t2d0 (Non-bootable)&lt;BR /&gt;    /dev/rdsk/c4t3d0 (Non-bootable)&lt;BR /&gt;    /dev/rdsk/c4t8d0 (Non-bootable)&lt;BR /&gt;    /dev/rdsk/c4t9d0 (Non-bootable)&lt;BR /&gt;   /dev/rdsk/c4t10d0 (Non-bootable)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Seems like the c4** disks are being available as c9** disks. I tried vgimport but everything seems to fail.&lt;BR /&gt;&lt;BR /&gt;# vgimport -v /dev/vg10 /dev/dsk/c9t0d0 /dev/dsk/c9t1d0 /dev/dsk/c9t2d0 /dev/dsk/c9t3d0 /dev/dsk/c9t8d0 /dev/dsk/c9t9d0 /dev/dsk/c9t10d0&lt;BR /&gt;&lt;BR /&gt;Beginning the import process on Volume Group "/dev/vg03".&lt;BR /&gt;Volume group "/dev/vg03" is still active.&lt;BR /&gt;&lt;BR /&gt;# vgchange -a n vg10&lt;BR /&gt;vgchange: Volume group "/dev/vg10" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is there any way to update the vg10.mapfile, vg10.conf file in /etc/lvmconf and then begin importing this volume group?&lt;BR /&gt;&lt;BR /&gt;Please help!!&lt;BR /&gt;&lt;BR /&gt;Rahul.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jan 2008 15:00:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137137#M691304</guid>
      <dc:creator>Rahul Khare</dc:creator>
      <dc:date>2008-01-29T15:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137138#M691305</link>
      <description>Shalom Rahul,&lt;BR /&gt;&lt;BR /&gt;cd /etc/&lt;BR /&gt;mv lvmtab lvmtab.old # backup&lt;BR /&gt;&lt;BR /&gt;vgscan -p -v&lt;BR /&gt;&lt;BR /&gt;That should clean up the lvmtab issue. Then the rest of this operation might go a bit more smoothly.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 29 Jan 2008 15:14:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137138#M691305</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-01-29T15:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137139#M691306</link>
      <description>after doing what Steven suggested, i.e. re-creating the lvmtab using vgscan command, could you please post the output from command:&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;here, so that we can see what disk belongs to which volume group. After that, I am sure you will get more meaningful answers. From the data you have provided, I am having hard time understanding what happened when you restored the OS from the ignite image.&lt;BR /&gt;&lt;BR /&gt;Did you restore the ignite tapes to the same system it was created from or onto another system ? Also, if it is the same system, was there any hardware changes (like replacement of cards, or addition of new equipment) made to this system ?</description>
      <pubDate>Tue, 29 Jan 2008 15:34:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137139#M691306</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2008-01-29T15:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137140#M691307</link>
      <description>I tried creating the lvmtab file couple of times:-&lt;BR /&gt;&lt;BR /&gt;Here is the output&lt;BR /&gt;&lt;BR /&gt; # strings lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;mk_G&lt;BR /&gt;/dev/dsk/c0t8d0&lt;BR /&gt;/dev/dsk/c0t9d0&lt;BR /&gt;/dev/dsk/c0t10d0&lt;BR /&gt;/dev/dsk/c1t8d0&lt;BR /&gt;/dev/dsk/c1t9d0&lt;BR /&gt;/dev/dsk/c1t10d0&lt;BR /&gt;/dev/vg01&lt;BR /&gt;mk_&amp;gt;R1&lt;BR /&gt;/dev/dsk/c1t11d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Seems like its not able to associate the devices c9** with vg10. Please suggest..&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Rahul.</description>
      <pubDate>Tue, 29 Jan 2008 16:33:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137140#M691307</guid>
      <dc:creator>Rahul Khare</dc:creator>
      <dc:date>2008-01-29T16:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137141#M691308</link>
      <description>do u hv a good backup of /etc/lvmtab before you did the vgscan ?&lt;BR /&gt;&lt;BR /&gt;how r u maping the disks against the vgs? &lt;BR /&gt;&lt;BR /&gt;do u have any information collected based on the wwn or serial number of these disks before all these happened?&lt;BR /&gt;&lt;BR /&gt;or are u doing a guesswork and trying ?</description>
      <pubDate>Tue, 29 Jan 2008 16:48:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137141#M691308</guid>
      <dc:creator>whiz_kid</dc:creator>
      <dc:date>2008-01-29T16:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137142#M691309</link>
      <description>is this in a service guard setup ? (i see this qn under service guard section)</description>
      <pubDate>Tue, 29 Jan 2008 16:50:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137142#M691309</guid>
      <dc:creator>whiz_kid</dc:creator>
      <dc:date>2008-01-29T16:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137143#M691310</link>
      <description>If I undestand you correctly, the controller paths may have changed during the ignite. You can edit the map file for vg10 and change the c4 to c9 and try reimpoting vg10.</description>
      <pubDate>Tue, 29 Jan 2008 16:50:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137143#M691310</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-01-29T16:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137144#M691311</link>
      <description>thanks for all of your suggestions. I tried most of the things but without luck. I am not able to change the device names in vg10.mapfile or /etc/lvmconf/vg10.conf files.&lt;BR /&gt;&lt;BR /&gt;At this point it seems to be the issue with controller picking up wrong device ids. Could I import the metadata on the devices and try to create a new VG using the c9** devices? &lt;BR /&gt;&lt;BR /&gt;Please suggest.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Rahul.</description>
      <pubDate>Wed, 30 Jan 2008 14:01:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137144#M691311</guid>
      <dc:creator>Rahul Khare</dc:creator>
      <dc:date>2008-01-30T14:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137145#M691312</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Seems like the c4** disks are being &lt;BR /&gt;&amp;gt; available as c9** disks. I tried vgimport&lt;BR /&gt;&amp;gt; but everything seems to fail. &lt;BR /&gt;&lt;BR /&gt;&amp;gt; # vgimport -&lt;BR /&gt;&amp;gt; v /dev/vg10 /dev/dsk/c9t0d0 /dev/dsk/c9t1d0 /dev/dsk/c9t2d0 /dev/dsk/c9t3d0 /dev/dsk/c9t8d0 /dev/dsk/c9t9d0 /dev/dsk/c9t10d0 &lt;BR /&gt;&lt;BR /&gt;&amp;gt; Beginning the import process on Volume &lt;BR /&gt;&amp;gt; Group "/dev/vg03". &lt;BR /&gt;&amp;gt; Volume group "/dev/vg03" is still active. &lt;BR /&gt;                ^^^^^^^^^&lt;BR /&gt;                ^^^^^^^^^&lt;BR /&gt;Why is vg03 showing up here? Do you have two VGs cross linked? &lt;BR /&gt;&lt;BR /&gt;Check the group number for each VG and ensure they are unique.&lt;BR /&gt;&lt;BR /&gt;ll /dev/vg*/group</description>
      <pubDate>Wed, 30 Jan 2008 14:17:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137145#M691312</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-01-30T14:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137146#M691313</link>
      <description>my mistake, I posted the output incorrectly, probably a typo.&lt;BR /&gt;&lt;BR /&gt;There is no volume group with name vg03. It was actually vg10 only.&lt;BR /&gt;&lt;BR /&gt;# vgimport -v /dev/vg10 /dev/dsk/c9t0d0 /dev/dsk/c9t1d0 /dev/dsk/c9t2d0 /dev/dsk/c9t3d0 /dev/dsk/c9t8d0 /dev/dsk/c9t9d0 /dev/dsk/c9t10d0&lt;BR /&gt;&lt;BR /&gt;Beginning the import process on Volume Group "/dev/vg10".&lt;BR /&gt;Volume group "/dev/vg10" is still active.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Apologize for the above confusion..&lt;BR /&gt;&lt;BR /&gt;Rahul.</description>
      <pubDate>Wed, 30 Jan 2008 17:56:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137146#M691313</guid>
      <dc:creator>Rahul Khare</dc:creator>
      <dc:date>2008-01-30T17:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137147#M691314</link>
      <description>1. Verify the correct device files in ioscan. The map file and the saved config file do not mean anything during a vgimport.&lt;BR /&gt;&lt;BR /&gt;2. The error "vg10 is still active" indicates that the vg10 already exists when you try the vgimport. Probably a bad /etc/lvmtab. Try deleting /etc/lvmtab and vgscan to recreate it.&lt;BR /&gt;&lt;BR /&gt;3. If the error persists after /etc/lvmtab is recreated, disocnnect the vg10 PVs and repeat deleting and recreating lvmtab. This way the vg10 PVs will not get vg-scanned.&lt;BR /&gt;&lt;BR /&gt;4. If the lvmtab is recreated successfully, try importing the vg10 PVs again.&lt;BR /&gt;&lt;BR /&gt;5. Try pvdisplay on one of the vg10 PVs. Do you see anything bad or is it normal? Do NOT run pvcreate on those PVs.</description>
      <pubDate>Wed, 30 Jan 2008 18:38:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137147#M691314</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-01-30T18:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137148#M691315</link>
      <description>tried your suggestion. After disconnecting the devices, they were not scanned in vgscan but still vg10 was showing as being "active".&lt;BR /&gt;&lt;BR /&gt;Seems like its getting picked up irrespective of removing the lvmtab file.&lt;BR /&gt;&lt;BR /&gt;Is there any way that I could mark this volume group to be de-active and then re-import the same?</description>
      <pubDate>Wed, 30 Jan 2008 22:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137148#M691315</guid>
      <dc:creator>Rahul Khare</dc:creator>
      <dc:date>2008-01-30T22:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137149#M691316</link>
      <description>try this&lt;BR /&gt;&lt;BR /&gt;vgexport -p -s -m vg10.map -f vg10.pvmap vg10&lt;BR /&gt;&lt;BR /&gt;vgexport vg10&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vg10&lt;BR /&gt;mknod /dev/vg10 group c 64 0xXX0000 (replace XX with suitable major value)&lt;BR /&gt;&lt;BR /&gt;vgimport -s -m vg10.map vg10&lt;BR /&gt;&lt;BR /&gt;post the output.</description>
      <pubDate>Wed, 30 Jan 2008 23:12:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137149#M691316</guid>
      <dc:creator>whiz_kid</dc:creator>
      <dc:date>2008-01-30T23:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137150#M691317</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Try this one also,&lt;BR /&gt;&lt;BR /&gt;The most likely cause is a duplicate minor number in the group file. Check the group file also &lt;BR /&gt;&lt;BR /&gt;# ll /dev/*/group &lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;&lt;BR /&gt;Ramesh&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jan 2008 03:24:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137150#M691317</guid>
      <dc:creator>Ramesh S</dc:creator>
      <dc:date>2008-01-31T03:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: VG issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137151#M691318</link>
      <description>I noticed in /etc/lvmtab, the vg00 has 3 PV that have target numbers t8, t9, t10 with dual paths c0 and c1. Might those be 3 of the 7 PVs of vg10 and that is why you can not restore vg10?&lt;BR /&gt;&lt;BR /&gt;Go to /etc/lvmconf and post the output of&lt;BR /&gt;"strings vgXX.conf" for each vg.  Preferably you should get an original vgXX.conf from the ignite tape because the current /etc/lvmconf is probably overwritten by ypur recent vgscan/vgimport attempts. To get an original copy of any folder or file from the ignite tape use&lt;BR /&gt;&lt;BR /&gt;# mt -t /dev/rmt/0m rew&lt;BR /&gt;# mt -t /dev/rmt/0mn fsf 1 (must use "mn" here)&lt;BR /&gt;# cd /tmp&lt;BR /&gt;# tar xvf /dev/rmt/0mn etc/lvmconf&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jan 2008 19:33:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-issue/m-p/4137151#M691318</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-01-31T19:33:06Z</dc:date>
    </item>
  </channel>
</rss>

