<?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: Lost vg01! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578097#M229359</link>
    <description>Well... this doesn't look good at all. &lt;BR /&gt;s02 # vgscan -av&lt;BR /&gt;Creating "/etc/lvmtab".&lt;BR /&gt;&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c1t15d0&lt;BR /&gt;/dev/dsk/c3t15d0&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/c4t0d0&lt;BR /&gt;/dev/dsk/c4t1d0&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/c4t2d0&lt;BR /&gt;/dev/dsk/c4t3d0&lt;BR /&gt;/dev/dsk/c4t14d0&lt;BR /&gt;&lt;BR /&gt;vgscan:  has no correspoding 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/vg01 failed.&lt;BR /&gt;&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/dsk/c4t6d0&lt;BR /&gt;&lt;BR /&gt;/dev/vg03&lt;BR /&gt;/dev/dsk/c4t7d0&lt;BR /&gt;/dev/dsk/c4t8d0&lt;BR /&gt;/dev/dsk/c4t9d0&lt;BR /&gt;/dev/dsk/c4t10d0&lt;BR /&gt;/dev/dsk/c4t11d0&lt;BR /&gt;&lt;BR /&gt;/dev/vg04&lt;BR /&gt;/dev/dsk/c4t12d0&lt;BR /&gt;/dev/dsk/c4t13d0&lt;BR /&gt;&lt;BR /&gt;Scan of Physical Volumes Complete.&lt;BR /&gt;s02 # strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c1t15d0&lt;BR /&gt;/dev/dsk/c3t15d0&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/dsk/c4t6d0&lt;BR /&gt;/dev/vg03&lt;BR /&gt;/dev/dsk/c4t7d0&lt;BR /&gt;/dev/dsk/c4t8d0&lt;BR /&gt;/dev/dsk/c4t9d0&lt;BR /&gt;/dev/dsk/c4t10d0&lt;BR /&gt;/dev/dsk/c4t11d0&lt;BR /&gt;/dev/vg04&lt;BR /&gt;/dev/dsk/c4t12d0&lt;BR /&gt;/dev/dsk/c4t13d0&lt;BR /&gt;s02 # pvdisplay -v /dev/dsk/c4t0d0&lt;BR /&gt;pvdisplay: Couldn't find the volume group to which&lt;BR /&gt;physical volume "/dev/dsk/c4t0d0" belongs.&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c4t0d0"&lt;BR /&gt;&lt;BR /&gt;Any advice GREATLY appreciated...</description>
    <pubDate>Thu, 07 Jul 2005 14:36:39 GMT</pubDate>
    <dc:creator>TWBSupport</dc:creator>
    <dc:date>2005-07-07T14:36:39Z</dc:date>
    <item>
      <title>Lost vg01!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578093#M229355</link>
      <description>Hi all.. My power outage whoes continue..  Different box than my hostname issue, still 11.11.  &lt;BR /&gt;System is running fine, can access ALL data &amp;amp; ALL disks are showing up claimed &amp;amp; working properly.  If I do the following:&lt;BR /&gt;vgdisplay -v vg01&lt;BR /&gt;vgdisplay: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;vgdisplay: Cannot display volume group "vg01".&lt;BR /&gt;&lt;BR /&gt;Again, all hard drives are reporting fine &amp;amp; data is being accessed on the disks that are allocated to vg01.  What's the best method to get vg01 back into the lvmtab w/o losing data?  /etc/vg01 does exist &amp;amp; does have all the entries in it.  I'm reading posts on the forums, but nothing actually tells me if I will lose data or not following the advice given.  As always, thanks a TON for your time.</description>
      <pubDate>Thu, 07 Jul 2005 13:04:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578093#M229355</guid>
      <dc:creator>TWBSupport</dc:creator>
      <dc:date>2005-07-07T13:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Lost vg01!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578094#M229356</link>
      <description>The first thing I would try is:&lt;BR /&gt;&lt;BR /&gt;# mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;&lt;BR /&gt;# vgscan -av&lt;BR /&gt;&lt;BR /&gt;This will NOT result in a loss of data.  vgscan rebuilds the /etc/lvmtab file from the information it finds in the VGRA on the disks themselves.&lt;BR /&gt;&lt;BR /&gt;# man vgscan &lt;BR /&gt;&lt;BR /&gt;for more information.</description>
      <pubDate>Thu, 07 Jul 2005 13:06:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578094#M229356</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-07-07T13:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Lost vg01!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578095#M229357</link>
      <description>Check out the vgscan command.&lt;BR /&gt;This will update the lvmtab file.&lt;BR /&gt;&lt;BR /&gt;First make a backup copy of the present lvmtab file.&lt;BR /&gt;&lt;BR /&gt;Then run vgscan in the preview mode - make sure all you want is there.&lt;BR /&gt;&lt;BR /&gt;vgscan -p&lt;BR /&gt;&lt;BR /&gt;Can use the verbose mode as well, the -v switch to the command&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jul 2005 13:07:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578095#M229357</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-07-07T13:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Lost vg01!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578096#M229358</link>
      <description>I concur with everyone also I would suggest check the PV. after the vgscan&lt;BR /&gt;do the following,&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;you will see something like this&lt;BR /&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c#t#d#&lt;BR /&gt;then execute pvdisplay -v /dev/dsk/c#t#d#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope it helps&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jul 2005 13:24:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578096#M229358</guid>
      <dc:creator>Juan M Leon</dc:creator>
      <dc:date>2005-07-07T13:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Lost vg01!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578097#M229359</link>
      <description>Well... this doesn't look good at all. &lt;BR /&gt;s02 # vgscan -av&lt;BR /&gt;Creating "/etc/lvmtab".&lt;BR /&gt;&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c1t15d0&lt;BR /&gt;/dev/dsk/c3t15d0&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/c4t0d0&lt;BR /&gt;/dev/dsk/c4t1d0&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/c4t2d0&lt;BR /&gt;/dev/dsk/c4t3d0&lt;BR /&gt;/dev/dsk/c4t14d0&lt;BR /&gt;&lt;BR /&gt;vgscan:  has no correspoding 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/vg01 failed.&lt;BR /&gt;&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/dsk/c4t6d0&lt;BR /&gt;&lt;BR /&gt;/dev/vg03&lt;BR /&gt;/dev/dsk/c4t7d0&lt;BR /&gt;/dev/dsk/c4t8d0&lt;BR /&gt;/dev/dsk/c4t9d0&lt;BR /&gt;/dev/dsk/c4t10d0&lt;BR /&gt;/dev/dsk/c4t11d0&lt;BR /&gt;&lt;BR /&gt;/dev/vg04&lt;BR /&gt;/dev/dsk/c4t12d0&lt;BR /&gt;/dev/dsk/c4t13d0&lt;BR /&gt;&lt;BR /&gt;Scan of Physical Volumes Complete.&lt;BR /&gt;s02 # strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c1t15d0&lt;BR /&gt;/dev/dsk/c3t15d0&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/dsk/c4t6d0&lt;BR /&gt;/dev/vg03&lt;BR /&gt;/dev/dsk/c4t7d0&lt;BR /&gt;/dev/dsk/c4t8d0&lt;BR /&gt;/dev/dsk/c4t9d0&lt;BR /&gt;/dev/dsk/c4t10d0&lt;BR /&gt;/dev/dsk/c4t11d0&lt;BR /&gt;/dev/vg04&lt;BR /&gt;/dev/dsk/c4t12d0&lt;BR /&gt;/dev/dsk/c4t13d0&lt;BR /&gt;s02 # pvdisplay -v /dev/dsk/c4t0d0&lt;BR /&gt;pvdisplay: Couldn't find the volume group to which&lt;BR /&gt;physical volume "/dev/dsk/c4t0d0" belongs.&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c4t0d0"&lt;BR /&gt;&lt;BR /&gt;Any advice GREATLY appreciated...</description>
      <pubDate>Thu, 07 Jul 2005 14:36:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578097#M229359</guid>
      <dc:creator>TWBSupport</dc:creator>
      <dc:date>2005-07-07T14:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Lost vg01!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578098#M229360</link>
      <description>From the /etc/lvmtab file it seems all below mentioned disks belongs to /dev/vg01&lt;BR /&gt;c4t0d0&lt;BR /&gt;c4t1d0&lt;BR /&gt;c4t2d0&lt;BR /&gt;c4t3d0&lt;BR /&gt;c4t14d0&lt;BR /&gt;&lt;BR /&gt;As per my understanding ....you are able to access all data and you have all /dev/vg01 files also.....okay..&lt;BR /&gt;If you want the data and an entry in /etc/lvmtab ...then please follow the steps given below.....&lt;BR /&gt;&lt;BR /&gt;1. Please take the backup of all /dev/vg01/lvol's which are currently mounted &lt;BR /&gt;2. unmount all /dev/vg01 /lvol's &lt;BR /&gt;3.# mkdir /dev/vg05 ---- for example&lt;BR /&gt;4. # mknod /dev/vg05/group c 64 0x050000&lt;BR /&gt;5. # vgimport /dev/vg05 /dev/dsk/c4t0d0 /dev/dsk/c4t1d0 /dev/dsk/c4t2d0 /dev/dsk/c4t3d0 /dev/dsk/c4t14d0&lt;BR /&gt;6. now check in /dev/vg05 by # ls /dev/vg01 ....now u could see all the device files for all logical volumes...&lt;BR /&gt;7. # vgchange -a y /dev/vg05&lt;BR /&gt;8. now mount all filesystems as per your requirement.&lt;BR /&gt;------------------------ please do not give vgscan after all these steps -------------------------------&lt;BR /&gt;hope this should work....i tested it in server ....it worked....&lt;BR /&gt;please note you cannot do vgexport /dev/vg01 because /dev/vg01 entry is not there in /etc/lvmtab ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;Venkatesan</description>
      <pubDate>Thu, 07 Jul 2005 22:39:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578098#M229360</guid>
      <dc:creator>Venkatesan_5</dc:creator>
      <dc:date>2005-07-07T22:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Lost vg01!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578099#M229361</link>
      <description>Hi,&lt;BR /&gt;check if you have these files under /etc/lvmconf directory:&lt;BR /&gt;&lt;BR /&gt;vg01.conf&lt;BR /&gt;vg01.conf.old&lt;BR /&gt;&lt;BR /&gt;so try this solution:&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -f /etc/lvmconf/vg_01.conf /dev/dsk/c4t0d0&lt;BR /&gt;vgcfgrestore -f /etc/lvmconf/vg_01.conf /dev/dsk/c4t1d0&lt;BR /&gt;&lt;BR /&gt;OR &lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -f /etc/lvmconf/vg_01.conf.old /dev/dsk/c4t0d0&lt;BR /&gt;vgcfgrestore -f /etc/lvmconf/vg_01.conf.old /dev/dsk/c4t1d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this help&lt;BR /&gt;&lt;BR /&gt;Giacomo&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Jul 2005 06:35:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578099#M229361</guid>
      <dc:creator>Giacomo TOTTI</dc:creator>
      <dc:date>2005-07-08T06:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Lost vg01!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578100#M229362</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As indicated in the error during vgscan it seems the device files for disks under /dev/dsk  are not equal in no. as under /dev/rdsk. Were these modified/removed manually after reboot? Compare two directories &amp;amp; there should not be any differences. &lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Fri, 08 Jul 2005 20:52:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-vg01/m-p/3578100#M229362</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-07-08T20:52:21Z</dc:date>
    </item>
  </channel>
</rss>

