<?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: Recover old Volume Group in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314381#M339850</link>
    <description>Hi Tonatiuh,&lt;BR /&gt;&lt;BR /&gt;Either export the vg from /etc/lvmtab or recreate the /etc/lvmtab file&lt;BR /&gt;&lt;BR /&gt;1.Export the /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;  #strings /etc/lvmtab --&amp;gt; note down the imported vgname.&lt;BR /&gt;  #vgexport -v /dev/vgname&lt;BR /&gt;&lt;BR /&gt;2. Recreate the lvmtab file.&lt;BR /&gt;&lt;BR /&gt;  #mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;  #vgscan -av&lt;BR /&gt;&lt;BR /&gt; This will remove the entry from lvmtab. Now you can create pvcreate on that disk.</description>
    <pubDate>Thu, 27 Nov 2008 15:59:09 GMT</pubDate>
    <dc:creator>Ganesan R</dc:creator>
    <dc:date>2008-11-27T15:59:09Z</dc:date>
    <item>
      <title>Recover old Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314369#M339838</link>
      <description>HP-UX 11.11.&lt;BR /&gt;&lt;BR /&gt;2 disks in my system. One volume group, one in each disk. I reinstalled OS using only the disk 1.&lt;BR /&gt;&lt;BR /&gt;How can I recover my old volume group (with its logical volumes) still existing in the disk 2?</description>
      <pubDate>Thu, 27 Nov 2008 13:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314369#M339838</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2008-11-27T13:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Recover old Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314370#M339839</link>
      <description>&lt;BR /&gt; Hi Tonatiuh,&lt;BR /&gt;&lt;BR /&gt;   I thing this is not possible,becuase if u r going to add a new disk,it will be automatically formated,&lt;BR /&gt;&lt;BR /&gt;so you are not able to recover the VG.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Unixguy.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314370#M339839</guid>
      <dc:creator>unixguy_1</dc:creator>
      <dc:date>2008-11-27T13:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Recover old Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314371#M339840</link>
      <description>Unless disk 2 contains a second copy of an OS, which has correct knowledge of the VG-configuration of disk 1, you cannot recover your VG.&lt;BR /&gt;&lt;BR /&gt;And even if you recover your VG, you will need a backup to restore the data.</description>
      <pubDate>Thu, 27 Nov 2008 13:21:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314371#M339840</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2008-11-27T13:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Recover old Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314372#M339841</link>
      <description>yes, it's still there.&lt;BR /&gt;&lt;BR /&gt;You have 2 options, import the vg with the names of the lvols or with the default name lvols&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;with name of lvols:&lt;BR /&gt;&lt;BR /&gt;Do you still have a map from the vg?&lt;BR /&gt;&lt;BR /&gt;or a cfg2html, somewhere where you can look at the names of the lvols?&lt;BR /&gt;&lt;BR /&gt;if you have you can import with:&lt;BR /&gt;vgimport -m vgmapfile /dev/vgname /dev/dsk/disk&lt;BR /&gt;&lt;BR /&gt;if not you have to import:&lt;BR /&gt;vgimport /dev/vgname /dev/dsk/disk&lt;BR /&gt;&lt;BR /&gt;and the names of the lvols will be lvol1,lvol2,etc&lt;BR /&gt;&lt;BR /&gt;Just mount them to guess what where their names, and change then with a mv&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:22:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314372#M339841</guid>
      <dc:creator>likid0</dc:creator>
      <dc:date>2008-11-27T13:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Recover old Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314373#M339842</link>
      <description>If i understand this:&lt;BR /&gt;&lt;BR /&gt;2 disks in my system. One volume group, one in each disk. I reinstalled OS using only the disk 1.&lt;BR /&gt;&lt;BR /&gt;It means you had to independent VG's, 1 in each disk, then it is posible to get your data from the disk that doesn't have the os&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:24:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314373#M339842</guid>
      <dc:creator>likid0</dc:creator>
      <dc:date>2008-11-27T13:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Recover old Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314374#M339843</link>
      <description>&lt;BR /&gt; Hi,&lt;BR /&gt;&lt;BR /&gt;  yes Orange adm is correct,&lt;BR /&gt;&lt;BR /&gt;if u have a map file for that VG,&lt;BR /&gt;it will be going recover it.&lt;BR /&gt;&lt;BR /&gt;use the below mentioned commands&lt;BR /&gt;&lt;BR /&gt;#vgimport -s -p -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;the above mentioned commands is going to recover a VG.&lt;BR /&gt;&lt;BR /&gt;but if u don't have it's not possible to do it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Unixguy.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:27:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314374#M339843</guid>
      <dc:creator>unixguy_1</dc:creator>
      <dc:date>2008-11-27T13:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Recover old Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314375#M339844</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can recover the volume group with the help of vgimport command&lt;BR /&gt;&lt;BR /&gt;Just issue the below commands.&lt;BR /&gt;&lt;BR /&gt;#mkdir /dev/vgnew&lt;BR /&gt;#mknod /dev/vgnew/group c 64 0x030000&lt;BR /&gt;#vgimport /dev/vgnew &lt;DISK device=""&gt;&lt;BR /&gt;#vgimport /dev/vgnew /dev/dsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;#vgchange -a y /dev/vgnew&lt;BR /&gt;#vgdisplay -v /dev/vgnew&lt;BR /&gt;&lt;BR /&gt;It will list the available logical volumes&lt;BR /&gt;&lt;BR /&gt;Mount the logical volumes and access the data.&lt;/DISK&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:28:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314375#M339844</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2008-11-27T13:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Recover old Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314376#M339845</link>
      <description>If I understood your query,&lt;BR /&gt;&lt;BR /&gt;Yes you can recover it using the map files, if exists.&lt;BR /&gt;&lt;BR /&gt;After exporting/importing.&lt;BR /&gt;go for vgscan command.&lt;BR /&gt;there is possibilities to get the configurations back.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:32:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314376#M339845</guid>
      <dc:creator>Analyst</dc:creator>
      <dc:date>2008-11-27T13:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Recover old Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314377#M339846</link>
      <description>I already have tried importing the vg and does not work.&lt;BR /&gt;&lt;BR /&gt;Any other idea?</description>
      <pubDate>Thu, 27 Nov 2008 14:58:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314377#M339846</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2008-11-27T14:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Recover old Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314378#M339847</link>
      <description>Hi Tonatiuh,&lt;BR /&gt;&lt;BR /&gt;Post the error you received when you try to import. That will help us to provide more solutions..&lt;BR /&gt;&lt;BR /&gt;Other than vgimport, I don't think anyway you can import the data.</description>
      <pubDate>Thu, 27 Nov 2008 15:08:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314378#M339847</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2008-11-27T15:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Recover old Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314379#M339848</link>
      <description>Due to the failed tries (and my schedule), my need has changed.&lt;BR /&gt;&lt;BR /&gt;I want to be able to create a new filesystem in that disk 1, but it shows me an error, I think because the importing filed.&lt;BR /&gt;&lt;BR /&gt;pvcreate: The physical volume "/dev/dsk/c2t2d0" in the "/etc/lvmtab" file.&lt;BR /&gt;&lt;BR /&gt;Any secure idea aboout it?</description>
      <pubDate>Thu, 27 Nov 2008 15:09:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314379#M339848</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2008-11-27T15:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Recover old Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314380#M339849</link>
      <description>The correct error text whtn I try to create a new lvol in disk 1:&lt;BR /&gt;&lt;BR /&gt;pvcreate: The physical volume "/dev/dsk/c2t2d0" is already recorded in the "/etc/lvmtab" file.</description>
      <pubDate>Thu, 27 Nov 2008 15:10:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314380#M339849</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2008-11-27T15:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Recover old Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314381#M339850</link>
      <description>Hi Tonatiuh,&lt;BR /&gt;&lt;BR /&gt;Either export the vg from /etc/lvmtab or recreate the /etc/lvmtab file&lt;BR /&gt;&lt;BR /&gt;1.Export the /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;  #strings /etc/lvmtab --&amp;gt; note down the imported vgname.&lt;BR /&gt;  #vgexport -v /dev/vgname&lt;BR /&gt;&lt;BR /&gt;2. Recreate the lvmtab file.&lt;BR /&gt;&lt;BR /&gt;  #mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;  #vgscan -av&lt;BR /&gt;&lt;BR /&gt; This will remove the entry from lvmtab. Now you can create pvcreate on that disk.</description>
      <pubDate>Thu, 27 Nov 2008 15:59:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314381#M339850</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2008-11-27T15:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Recover old Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314382#M339851</link>
      <description>Thank you Ganesan R.</description>
      <pubDate>Thu, 27 Nov 2008 16:55:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-old-volume-group/m-p/4314382#M339851</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2008-11-27T16:55:53Z</dc:date>
    </item>
  </channel>
</rss>

