<?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: Restore volumes in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157125#M50406</link>
    <description>The VG devices should appear when you activate the VG:&lt;BR /&gt;&lt;BR /&gt;vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;I think the vgcfgrestore was overkill for your specific problem: if your explanation of events leading to the problem is complete, nothing has overwritten the data on the disk, just confused the mapping/order of the disks presented to the server.&lt;BR /&gt;&lt;BR /&gt;In this case, a simple "powermt check" followed by "vgscan" and "vgchange -a y" should have fixed it.&lt;BR /&gt;&lt;BR /&gt;But now your vg01 is in "exported" state for some reason. You must vgimport it first, otherwise the LVM tools will ignore the VG.&lt;BR /&gt;&lt;BR /&gt;vgimport -v vg01&lt;BR /&gt;or&lt;BR /&gt;vgimport -v -a&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;vgchange -a y&lt;BR /&gt;&lt;BR /&gt;MK</description>
    <pubDate>Mon, 16 Feb 2009 08:26:34 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2009-02-16T08:26:34Z</dc:date>
    <item>
      <title>Restore volumes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157120#M50401</link>
      <description>Dear All &lt;BR /&gt;&lt;BR /&gt;i have a RHEL AS 4.6 server , non of my volume groups appears that is configured for EMC devices , EMC said that the devices has the data, colud i use vgcfgrestore command to pvcreate the devices and restore the data on them using vgcfgrestore command.&lt;BR /&gt;&lt;BR /&gt;BR;&lt;BR /&gt;Fadia Almarei</description>
      <pubDate>Sun, 15 Feb 2009 07:49:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157120#M50401</guid>
      <dc:creator>Fadia Almarei</dc:creator>
      <dc:date>2009-02-15T07:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Restore volumes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157121#M50402</link>
      <description>I guess this is the continuation of your previous thread, but more information is needed.&lt;BR /&gt;&lt;BR /&gt;What was done just before the problem started?&lt;BR /&gt;Has someone made any changes at the EMC side? If yes, what kind of changes?&lt;BR /&gt;&lt;BR /&gt;RedHat's instructions for making the system detect SCSI/FC changes without rebooting:&lt;BR /&gt;&lt;A href="http://kbase.redhat.com/faq/docs/DOC-3942" target="_blank"&gt;http://kbase.redhat.com/faq/docs/DOC-3942&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Are the disks visible to the server (as /dev/sd* devices or whatever)? If not, the problem is elsewhere. Check the connectivity and SAN zoning, if applicable.&lt;BR /&gt;&lt;BR /&gt;How are the disks connected? SCSI? FibreChannel? What is the status of the SCSI or FC cards?&lt;BR /&gt;&lt;BR /&gt;Do you have the EMC symcli tools (or even the inq utility) installed? If yes, do they indicate the system sees the correct disks?&lt;BR /&gt;&lt;BR /&gt;Do you have EMC PowerPath installed? If so, what does "powermt display dev=all" report?&lt;BR /&gt;Does "powermt check" help? (If it does, remember to run "powermt save" after it.)&lt;BR /&gt;&lt;BR /&gt;After the low-level disks are visible, run "vgscan". If it does not find all the volume groups, run "vgscan -vvv" to get more clues about what is happening.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Sun, 15 Feb 2009 10:00:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157121#M50402</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-02-15T10:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Restore volumes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157122#M50403</link>
      <description>what i have is a DL580 server with 2 Emulex HBA card, EMC powerpath software installed on them, what we did is just do unmasking for unneeded deices and then reboot so nothing of SAN volume groups appears, what we did that we configure the devices we use the sd name rather than emcpower name in configuring our volume group, so after the unmasking and restarting we have all the devices to found as uninitialized devices , this is the case.&lt;BR /&gt;</description>
      <pubDate>Sun, 15 Feb 2009 10:08:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157122#M50403</guid>
      <dc:creator>Fadia Almarei</dc:creator>
      <dc:date>2009-02-15T10:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Restore volumes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157123#M50404</link>
      <description>In additions what does the "lvmdiskscan" returns?&lt;BR /&gt;&lt;BR /&gt;Also if you are sure about what LUN/disks are used against needed VG then do "vgimport" with the /dev/sdx device list.</description>
      <pubDate>Mon, 16 Feb 2009 00:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157123#M50404</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2009-02-16T00:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Restore volumes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157124#M50405</link>
      <description>Dear All&lt;BR /&gt;&lt;BR /&gt;i want to ask the question in another way&lt;BR /&gt;&lt;BR /&gt;i have lost my volume group vg01&lt;BR /&gt;i have information about this volume group on the /etc/lvm/backup &amp;amp;restore directories &lt;BR /&gt;and the devices i have appears as not configured&lt;BR /&gt;what i did is i ovcreate the device for vg01 to have the same UUID&lt;BR /&gt;#vgcreate --pvcreate --restorefile vg01_00035.vg --uuid UU6ZvI-4Mm3-bye8-YAOD-kvE1-1E9J-PUgWnt /dev/emcpowerj&lt;BR /&gt;then&lt;BR /&gt;#vgcfgrestore --file vg01_00035.vg vg01&lt;BR /&gt;by doing this i get backe vg01 but it does not appear on the /dev&lt;BR /&gt;another thing i need to now how to restore the lvm&lt;BR /&gt;&lt;BR /&gt;#[root@NODE-I ~]# vgdisplay -a vg01&lt;BR /&gt;vgdisplay: invalid option -- a&lt;BR /&gt;  Error during parsing of command line.&lt;BR /&gt;[root@NODE-I ~]# vgdisplay -v vg01&lt;BR /&gt;    Using volume group(s) on command line&lt;BR /&gt;    Finding volume group "vg01"&lt;BR /&gt;  Volume group vg01 is exported&lt;BR /&gt;  --- Volume group ---&lt;BR /&gt;  VG Name               vg01&lt;BR /&gt;  System ID&lt;BR /&gt;  Format                lvm2&lt;BR /&gt;  Metadata Areas        1&lt;BR /&gt;  Metadata Sequence No  36&lt;BR /&gt;  VG Access             read/write&lt;BR /&gt;  VG Status             exported/resizable&lt;BR /&gt;  MAX LV                0&lt;BR /&gt;  Cur LV                1&lt;BR /&gt;  Open LV               0&lt;BR /&gt;  Max PV                0&lt;BR /&gt;  Cur PV                1&lt;BR /&gt;  Act PV                1&lt;BR /&gt;  VG Size               99.61 GB&lt;BR /&gt;  PE Size               4.00 MB&lt;BR /&gt;  Total PE              25499&lt;BR /&gt;  Alloc PE / Size       25499 / 99.61 GB&lt;BR /&gt;  Free  PE / Size       0 / 0&lt;BR /&gt;  VG UUID               1jbe1g-pB07-h2to-qMbQ-qyHC-tVeB-JwoHmn&lt;BR /&gt;&lt;BR /&gt;  Volume group vg01 is exported&lt;BR /&gt;  --- Physical volumes ---&lt;BR /&gt;  PV Name               /dev/emcpowerj&lt;BR /&gt;  PV UUID               UU6ZvI-4Mm3-bye8-YAOD-kvE1-1E9J-PUgWnt&lt;BR /&gt;  PV Status             allocatable&lt;BR /&gt;  Total PE / Free PE    25499 / 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;kindly help , this is an urgant case</description>
      <pubDate>Mon, 16 Feb 2009 08:01:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157124#M50405</guid>
      <dc:creator>Fadia Almarei</dc:creator>
      <dc:date>2009-02-16T08:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Restore volumes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157125#M50406</link>
      <description>The VG devices should appear when you activate the VG:&lt;BR /&gt;&lt;BR /&gt;vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;I think the vgcfgrestore was overkill for your specific problem: if your explanation of events leading to the problem is complete, nothing has overwritten the data on the disk, just confused the mapping/order of the disks presented to the server.&lt;BR /&gt;&lt;BR /&gt;In this case, a simple "powermt check" followed by "vgscan" and "vgchange -a y" should have fixed it.&lt;BR /&gt;&lt;BR /&gt;But now your vg01 is in "exported" state for some reason. You must vgimport it first, otherwise the LVM tools will ignore the VG.&lt;BR /&gt;&lt;BR /&gt;vgimport -v vg01&lt;BR /&gt;or&lt;BR /&gt;vgimport -v -a&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;vgchange -a y&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Mon, 16 Feb 2009 08:26:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157125#M50406</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-02-16T08:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Restore volumes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157126#M50407</link>
      <description>thank you all&lt;BR /&gt;&lt;BR /&gt;i solve the problem in the following steps&lt;BR /&gt;1- pvcreate --restorefile /dev/lvm/archive/vg01_00035.vg --uuid UU6ZvI-4Mm3-bye8-YAOD-kvE1-1E9J-PUgWnt /dev/emcpowerj&lt;BR /&gt;2- vgcfgrestore --file /dev/lvm/archive/vg01_00035.vg vg01&lt;BR /&gt;3- vgexport vg01&lt;BR /&gt;4- vgimport vg01&lt;BR /&gt;5- vgchange â  a y vg01&lt;BR /&gt;6- mount /dev/vg01/udb /u11&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and all the partitions return with their data</description>
      <pubDate>Mon, 16 Feb 2009 10:17:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157126#M50407</guid>
      <dc:creator>Fadia Almarei</dc:creator>
      <dc:date>2009-02-16T10:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Restore volumes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157127#M50408</link>
      <description>Good to know your problem is solved. Rate the answers accordingly and i hope that would help any other users having the same issue to refer a resloved thread.</description>
      <pubDate>Mon, 16 Feb 2009 19:06:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157127#M50408</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2009-02-16T19:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Restore volumes</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157128#M50409</link>
      <description>thank you all</description>
      <pubDate>Tue, 17 Feb 2009 06:35:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restore-volumes/m-p/5157128#M50409</guid>
      <dc:creator>Fadia Almarei</dc:creator>
      <dc:date>2009-02-17T06:35:09Z</dc:date>
    </item>
  </channel>
</rss>

