<?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: Recovering Lost Volume Group Definition in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282334#M180621</link>
    <description>You can use the "-l" option to vgcfgrestore to get a listing of the VG config.  vgcfgrestore reads this information from the /etc/lvmconf/vgXX.conf file.&lt;BR /&gt;&lt;BR /&gt;JL</description>
    <pubDate>Fri, 21 May 2004 08:18:03 GMT</pubDate>
    <dc:creator>James Lynch</dc:creator>
    <dc:date>2004-05-21T08:18:03Z</dc:date>
    <item>
      <title>Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282319#M180606</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Because of a bad disk one of my volume group is not working.&lt;BR /&gt;&lt;BR /&gt;I need to ecover some how the Definition of each logical volume (like size, name...)&lt;BR /&gt;&lt;BR /&gt;Please help me ASAP, i would really appreciate your help.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 20 May 2004 11:49:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282319#M180606</guid>
      <dc:creator>Vivek Shrivastava_1</dc:creator>
      <dc:date>2004-05-20T11:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282320#M180607</link>
      <description>vgcfgrestore -n /dev/vg01 /dev/rdsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;You supply the correct VG and device node. That will write the VG data to the new disk. &lt;BR /&gt;You can then do a vgchange -a y /dev/vg01 to activate the volume. The lvol names should still be in /dev/vg01/.&lt;BR /&gt;&lt;BR /&gt;Now, learn to use MirrorUX so that this is a non-event.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 May 2004 11:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282320#M180607</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-05-20T11:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282321#M180608</link>
      <description>Side note: Mirror/ux is a wonderful product, but you do have to pay for the license one per processor.&lt;BR /&gt;&lt;BR /&gt;A codeword from &lt;A href="http://licensing.hp.com" target="_blank"&gt;http://licensing.hp.com&lt;/A&gt; is required to use the product.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 20 May 2004 12:08:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282321#M180608</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-05-20T12:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282322#M180609</link>
      <description>Thanks for such quick reply.&lt;BR /&gt;&lt;BR /&gt;I don't have any extra disk at this point. Would it be possible to create file which ahs the definition of each logical volume for the bad volume group?&lt;BR /&gt;&lt;BR /&gt;Just to add more information, there are two disks in this volume group and only one of them is bed.&lt;BR /&gt;&lt;BR /&gt;What would be the procedure to recover after the bad disk is replaced.&lt;BR /&gt;&lt;BR /&gt;Please answer for both of the question. i have to show the logical volume definition list before they replaced the bad disk.&lt;BR /&gt;&lt;BR /&gt;Waiting for help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;VivekS</description>
      <pubDate>Thu, 20 May 2004 13:03:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282322#M180609</guid>
      <dc:creator>Vivek Shrivastava_1</dc:creator>
      <dc:date>2004-05-20T13:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282323#M180610</link>
      <description>the only information you can get which logical volume is configured at what size is by doing a vgdisplay -vg vg01 (assuming vg01 has the bad disk, if not change it to yours). It will complain many times that it could not query all disks attached to this group but ignore that. You already know that one disk is bad.&lt;BR /&gt;&lt;BR /&gt;After they replace the disk, you need to run the command&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n vg01 /dev/rdsk/c#t#d#&lt;BR /&gt;&lt;BR /&gt;this will restore the logical volume structure on the new disk but not the filesystems themselves. You will need to check all the filesystems on this volume group and re-create them by &lt;BR /&gt;&lt;BR /&gt;newfs -F vxfs /dev/vg01/lvolXXX&lt;BR /&gt;&lt;BR /&gt;then hope that you have a pretty recent good backup that you can restore them from.</description>
      <pubDate>Thu, 20 May 2004 13:10:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282323#M180610</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-05-20T13:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282324#M180611</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Replace the disk and do a vgcfgrestore. This will recreate the info back on the disk. Make sure you are using a disk of capicity that is equal to or more than the previous disk.&lt;BR /&gt;&lt;BR /&gt;Do "man vgcfgrestore" for more help on the commands.&lt;BR /&gt;&lt;BR /&gt;If the disk is mirrored, use vgsync to resync the mirror.&lt;BR /&gt;&lt;BR /&gt;Try this link from itrc for more instructions.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066374050" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066374050&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The itrc doc id is KBAN00000347.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 20 May 2004 13:21:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282324#M180611</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-05-20T13:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282325#M180612</link>
      <description>Thanks Sanjay,&lt;BR /&gt;&lt;BR /&gt;For such a good link. You solved my half of the problem. I still need to produce some output which can just provide following two information for each logical volume in bad logical voule.&lt;BR /&gt;&lt;BR /&gt;1.  Name of the LV&lt;BR /&gt;2.  Size of the LV in MB&lt;BR /&gt;&lt;BR /&gt;really looking for some help.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 20 May 2004 15:31:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282325#M180612</guid>
      <dc:creator>Vivek Shrivastava_1</dc:creator>
      <dc:date>2004-05-20T15:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282326#M180613</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Unless the vg is active you cannot get this info.&lt;BR /&gt;&lt;BR /&gt;If the vg is active, you can get this info using vgdisplay / lvdisplay.&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v /dev/vg_name will give the detail info on the vg and the lv names and their sizes including the disks configured into the vg.&lt;BR /&gt;&lt;BR /&gt;lvdisplay gives more detailed info about a specific lv.&lt;BR /&gt;&lt;BR /&gt;If the vg is not active, you cannot get this info. &lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 20 May 2004 15:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282326#M180613</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-05-20T15:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282327#M180614</link>
      <description>thanks for reply!&lt;BR /&gt;&lt;BR /&gt;So basically we can't get the info from the vgxx.conf file. There are lots of files in /etc/lvmconf directory. I figured out the name by looking into /dev/vgxx directory still looking for size.&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore must be reading this info from somewhere.&lt;BR /&gt;&lt;BR /&gt;can't we create mapfile from the inactive volume group?&lt;BR /&gt;&lt;BR /&gt;Please someone come with some great idea.&lt;BR /&gt;&lt;BR /&gt;waiting fro help.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 May 2004 17:42:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282327#M180614</guid>
      <dc:creator>Vivek Shrivastava_1</dc:creator>
      <dc:date>2004-05-20T17:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282328#M180615</link>
      <description>I do not think that there is any utility to read the vgXX.conf file out there as it is a binary file. &lt;BR /&gt;&lt;BR /&gt;Did you try activating the volume group ?&lt;BR /&gt;&lt;BR /&gt;vgchange -a y /dev/vg01 &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 May 2004 17:53:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282328#M180615</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2004-05-20T17:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282329#M180616</link>
      <description>You do not need to know any of the LV information to replace the disk.  When you replace the disk you just need to do a 'vgcfgrestore -n vgname /dev/dsk/c?t?d?' Then you need to do a 'vgchange -a y vgname' to reactivate the volume group.  Once you do that your VG is back to its previous state just without any of the data.  After the vgchange you can do a 'vgdisplay -v vgname' to get all of the information for that volume group.&lt;BR /&gt;&lt;BR /&gt;I'm not sure I understand exactly why you need the information right now.</description>
      <pubDate>Thu, 20 May 2004 21:11:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282329#M180616</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-05-20T21:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282330#M180617</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;there is still another way to find out the name of the logical volumes (if raw logical volumes are not used) from the /etc/fstab, where you will get the vgname as well as the logical volume name.&lt;BR /&gt;&lt;BR /&gt;with best wishes&lt;BR /&gt;naveej</description>
      <pubDate>Thu, 20 May 2004 22:04:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282330#M180617</guid>
      <dc:creator>Naveej.K.A</dc:creator>
      <dc:date>2004-05-20T22:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282331#M180618</link>
      <description>try this:&lt;BR /&gt;#vgchange -q n -a y /dev/vg01&lt;BR /&gt;#vgdisplay -v /dev/vg01&lt;BR /&gt;if the volume group can be activating by -q n,then you can find the information of logical volume</description>
      <pubDate>Thu, 20 May 2004 22:49:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282331#M180618</guid>
      <dc:creator>zx_yu</dc:creator>
      <dc:date>2004-05-20T22:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282332#M180619</link>
      <description>Hi,&lt;BR /&gt;For getting the name of the LV try your &lt;BR /&gt;/etc/fstab.&lt;BR /&gt;========================================&lt;BR /&gt;What has happened is the past&lt;BR /&gt;Tip for future:&lt;BR /&gt;Please keep the hard &amp;amp; soft copies of the following parameters.&lt;BR /&gt;bdf&lt;BR /&gt;/etc/fstab&lt;BR /&gt;/etc/passwd&lt;BR /&gt;/etc/hosts&lt;BR /&gt;/etc/group&lt;BR /&gt;vgdisplay ( of all VG's )&lt;BR /&gt;lvdisplay of all LV's &lt;BR /&gt;Please donot foget to do vgcfgbackup always or put it in the cron.&lt;BR /&gt;kernel parameters&lt;BR /&gt;&lt;BR /&gt;You can make a script to do all the above activities and redirect it to a file and keep it for future reference.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Imran &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 May 2004 23:36:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282332#M180619</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-05-20T23:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282333#M180620</link>
      <description>Over and above what the guys have told you, what I regularly do is to capture the system configuration information through System Information Reporter (SIR).  It is a good practice to do so, so you'll have something to refer to in case a disaster strikes.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ira</description>
      <pubDate>Thu, 20 May 2004 23:55:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282333#M180620</guid>
      <dc:creator>Isralyn Manalac_1</dc:creator>
      <dc:date>2004-05-20T23:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282334#M180621</link>
      <description>You can use the "-l" option to vgcfgrestore to get a listing of the VG config.  vgcfgrestore reads this information from the /etc/lvmconf/vgXX.conf file.&lt;BR /&gt;&lt;BR /&gt;JL</description>
      <pubDate>Fri, 21 May 2004 08:18:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282334#M180621</guid>
      <dc:creator>James Lynch</dc:creator>
      <dc:date>2004-05-21T08:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Recovering Lost Volume Group Definition</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282335#M180622</link>
      <description>Thanks Guys,&lt;BR /&gt;&lt;BR /&gt;I guess i will simply restore it.&lt;BR /&gt;&lt;BR /&gt;Manalac,&lt;BR /&gt;&lt;BR /&gt;Could please provide some information on "System Information Reporter (SIR)." ? like how do i run it?&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 May 2004 08:24:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recovering-lost-volume-group-definition/m-p/3282335#M180622</guid>
      <dc:creator>Vivek Shrivastava_1</dc:creator>
      <dc:date>2004-05-21T08:24:52Z</dc:date>
    </item>
  </channel>
</rss>

