<?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: To recover LVM volume group, even if pvremove was executed on PVs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959639#M618276</link>
    <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;      Thanx for reading my thread. I hope it helps.&lt;BR /&gt;&lt;BR /&gt;       SEP : Just wondering one thing, though I haven't tried. I do agree you can use vgcfgrestore command because still the /etc/lvmconf/vg01.conf will be intact after removing the VG. But not too sure whether the sytem will accept the cammand for that VG, because it is no more in /etc/lvmtab right. But, any I will try steve's option. &lt;BR /&gt;&lt;BR /&gt;PS: great guys, You are giving me different scenarios to work, I started liking LVM even more. ;)</description>
    <pubDate>Tue, 14 Feb 2006 23:48:29 GMT</pubDate>
    <dc:creator>Senthil Kumar .A_1</dc:creator>
    <dc:date>2006-02-14T23:48:29Z</dc:date>
    <item>
      <title>To recover LVM volume group, even if pvremove was executed on PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959635#M618272</link>
      <description>The procedure's outlined here is purely the result for some tests I performed on a test HPUX box in my organization. I'm not too sure whether the following procedures are already in place in HP. But, this is my earnest effort in sharing the knowledge I have gained: to my HPUX peers so as to make the HPUX admins more prepared incase of some unusual situations that might be encountered in LVM parlance.&lt;BR /&gt;&lt;BR /&gt;            As a point adder â  I love LVM, Though it might be considered ,complex in implementation compared to whole disk methods and disk partition methods, that existed in so called Jurassic era ;) , I reckon its more easier to recover compared to VXVMâ  . I'm in the no process of inflicting any harm to VXVM. I love VXVM for its flexibility that it provides in the enterprise environment. I love VXVM in its own right and am a big fan of its technological capacities in the Volume management environment.&lt;BR /&gt;&lt;BR /&gt;           So let me stop bugging you with the boring introduction and get ahead with what I attempted to do, so here on it will get more technicalâ ¦ Please go through the attached DOC.</description>
      <pubDate>Tue, 14 Feb 2006 05:48:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959635#M618272</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2006-02-14T05:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: To recover LVM volume group, even if pvremove was executed on PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959636#M618273</link>
      <description>Hi,&lt;BR /&gt;The procedure looks fine. If you repeat same commands (which were used initially) you should get your data back. &lt;BR /&gt;E.g. when you create VG, ensure same PE size defined.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;TT&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Feb 2006 06:59:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959636#M618273</guid>
      <dc:creator>Thayanidhi</dc:creator>
      <dc:date>2006-02-14T06:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: To recover LVM volume group, even if pvremove was executed on PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959637#M618274</link>
      <description>Shalom senthil&lt;BR /&gt;&lt;BR /&gt;Even if you run pvremove on a physical volume, its usually possible to run vgconfigrestore on the same physical volume and recover the configuration and probably not even necessary to restore the data.&lt;BR /&gt;&lt;BR /&gt;Your outcome may vary.&lt;BR /&gt;&lt;BR /&gt;Please take the time to publish your results and issues when the testing is complete.&lt;BR /&gt;&lt;BR /&gt;Having read your document, I would expect the outcome that the document predicts. My suggestion above may be able to speed the recovery process, but I can see why you'd want to do it your way.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 14 Feb 2006 07:20:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959637#M618274</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-14T07:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: To recover LVM volume group, even if pvremove was executed on PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959638#M618275</link>
      <description>Hi SEP,&lt;BR /&gt;&lt;BR /&gt;I am not too sure LV to PE layout will be retained while doing "vgcfgrestore"?&lt;BR /&gt;In his example each LV's PE are not contiguous.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;TT</description>
      <pubDate>Tue, 14 Feb 2006 11:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959638#M618275</guid>
      <dc:creator>Thayanidhi</dc:creator>
      <dc:date>2006-02-14T11:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: To recover LVM volume group, even if pvremove was executed on PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959639#M618276</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;      Thanx for reading my thread. I hope it helps.&lt;BR /&gt;&lt;BR /&gt;       SEP : Just wondering one thing, though I haven't tried. I do agree you can use vgcfgrestore command because still the /etc/lvmconf/vg01.conf will be intact after removing the VG. But not too sure whether the sytem will accept the cammand for that VG, because it is no more in /etc/lvmtab right. But, any I will try steve's option. &lt;BR /&gt;&lt;BR /&gt;PS: great guys, You are giving me different scenarios to work, I started liking LVM even more. ;)</description>
      <pubDate>Tue, 14 Feb 2006 23:48:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959639#M618276</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2006-02-14T23:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: To recover LVM volume group, even if pvremove was executed on PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959640#M618277</link>
      <description>Hi SEP,&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;        This is the error message I got,&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -f ./vg01.conf.old /dev/rdsk/c4t0d1&lt;BR /&gt;vgcfgrestore: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;vgcfgrestore: Invalid LVMREC on Physical Volume /dev/rdsk/c4t0d1&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Feb 2006 00:30:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959640#M618277</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2006-02-15T00:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: To recover LVM volume group, even if pvremove was executed on PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959641#M618278</link>
      <description>Hi Senthil,&lt;BR /&gt;&lt;BR /&gt;The test is quite good and you are lucky to have some test servers with you. Allthough some  more precautions should be taken in the commands used for recovery. The test scenario may not work with these commands if you recover the disk in some other system reason being -&lt;BR /&gt;&lt;BR /&gt;The default PE size for different version of OS may not be same and if the vgcreate is not done having define the PE_Size, the contents might be lost. So a good choice in my opinion will be to specify the PE_Size as found in old vgdisplay output. Another option to verify the  default PE_Size will be to use vgcreate on some other unused disk and see the PE_Size.&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore will not work as the VG does not exist in the system. Also vgcfgrestore will create LVM structure on the disk as per the properties of the VG where you are putting that disk in. Again if the PE_Size and offcourse the file system layout of the old disk differes the contents will be overwritten and will not be recoverable.&lt;BR /&gt;&lt;BR /&gt;Do keep the results posted and the errors encountered?&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Wed, 15 Feb 2006 03:54:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959641#M618278</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2006-02-15T03:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: To recover LVM volume group, even if pvremove was executed on PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959642#M618279</link>
      <description>As per my understaing whole information should match with the old VG (ie PE_size as mentioned by Devendar, max PEs, max VGs, allocation policy) all these parameters must be same for both vgs only then u'll be able to recover the data if mapping is correct.</description>
      <pubDate>Wed, 15 Feb 2006 04:44:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959642#M618279</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2006-02-15T04:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: To recover LVM volume group, even if pvremove was executed on PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959643#M618280</link>
      <description>Senthil --&lt;BR /&gt;&lt;BR /&gt;That is a good looking document.  When LVM was first new to the world, there were multiple similar documents that were passed from email to email within the Response Center and within HP's internal database.&lt;BR /&gt;&lt;BR /&gt;For the most part, the focus these days has been on vgcfgrestore and other more standard tools, but it never hurts to have the brute force documented someplace handy.&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Feb 2006 04:50:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959643#M618280</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2006-02-15T04:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: To recover LVM volume group, even if pvremove was executed on PVs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959644#M618281</link>
      <description>I hope this document Helped,&lt;BR /&gt;&lt;BR /&gt;I can see from the response that, It could help in some ways in unusual situations.&lt;BR /&gt;&lt;BR /&gt;:)&lt;BR /&gt;&lt;BR /&gt;Senthil Kumar .A</description>
      <pubDate>Sun, 19 Feb 2006 23:18:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/to-recover-lvm-volume-group-even-if-pvremove-was-executed-on-pvs/m-p/4959644#M618281</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2006-02-19T23:18:19Z</dc:date>
    </item>
  </channel>
</rss>

