<?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: About vgcfgrestore in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163636#M560609</link>
    <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;Few questions. &lt;BR /&gt;&lt;BR /&gt;If the disk failed or LVM headers corrupted first you need to restore the LVM headers into the disk. Have you restored?&lt;BR /&gt;&lt;BR /&gt;This restoration just update LVM headers not file system structures. You have two options here. &lt;BR /&gt;&lt;BR /&gt;1. If all the data on the problematic disk was mirrored, you do not have to do anything; LVM automatically synchronizes the data on the disk with the other mirror copies of the data.&lt;BR /&gt;&lt;BR /&gt;2.If the disk contained any unmirrored logical volumes (or mirrored logical volumes that did not have a current copy on the system), restore the data from backup, mount the file systems&lt;BR /&gt;&lt;BR /&gt;If you are in option two, follow these steps.&lt;BR /&gt;&lt;BR /&gt;# &lt;REPLACE the="" failed="" disk=""&gt; -&amp;gt; if necessary&lt;BR /&gt;# vgcfgrestore â  n vg01 /dev/rdsk/c2t2d0&lt;BR /&gt;# vgchange â  a y vg01&lt;BR /&gt;# newfs [options] /dev/vg01/rlvol1&lt;BR /&gt;# mount /dev/vg01/lvol1 /dump&lt;BR /&gt;# &lt;RESTORE the="" file="" system="" from="" backup=""&gt;&lt;BR /&gt;&lt;BR /&gt;fsck is not going to work unless you have created the filesystem onto the disk.&lt;/RESTORE&gt;&lt;/REPLACE&gt;</description>
    <pubDate>Mon, 16 Mar 2009 11:23:48 GMT</pubDate>
    <dc:creator>Ganesan R</dc:creator>
    <dc:date>2009-03-16T11:23:48Z</dc:date>
    <item>
      <title>About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163625#M560598</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Will "vgcfgrestore -n /dev/EVA00 /dev/rdsk/c6t0d1" restore /dev/EVA00/disc4 file that was damaged by mistake?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Mon, 16 Mar 2009 08:19:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163625#M560598</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2009-03-16T08:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163626#M560599</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;No it will not restore the device file, this will restore the LVM (VolumeGroup) information to the disk.&lt;BR /&gt;&lt;BR /&gt;If the device file has been altered/removed you can use the mknod or the insf -e "hardwarpath" to recreate the device file.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 16 Mar 2009 08:31:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163626#M560599</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2009-03-16T08:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163627#M560600</link>
      <description>Hello Eric,&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore restores the LVM Physical volume header onto the target disk. This enables recovery of a lost LVM configuration but not of any data.&lt;BR /&gt;&lt;BR /&gt;J.</description>
      <pubDate>Mon, 16 Mar 2009 08:32:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163627#M560600</guid>
      <dc:creator>Jozef_Novak</dc:creator>
      <dc:date>2009-03-16T08:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163628#M560601</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore restores LVM configuration from file, no data which has to be restored by a backup. Hope you have that.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
      <pubDate>Mon, 16 Mar 2009 08:45:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163628#M560601</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2009-03-16T08:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163629#M560602</link>
      <description>The data was not really important: just archivelogs. &lt;BR /&gt;&lt;BR /&gt;What I really want is to restore the logical volume "/disc4" availability, if it is possible.&lt;BR /&gt;&lt;BR /&gt;I already executed the "insf -e -H hw-path" but fsck returns the following:&lt;BR /&gt;&lt;BR /&gt;fsck -F vxfs /dev/rdsk/c4t0d3&lt;BR /&gt;vxfs fsck: not a valid vxfs file system&lt;BR /&gt;invalid super-block&lt;BR /&gt;vxfs fsck: cannot initialize aggregate&lt;BR /&gt;file system check failure, aborting ...&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Mar 2009 10:22:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163629#M560602</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2009-03-16T10:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163630#M560603</link>
      <description>Maybe a full check "fsck -F vxfs -ofull,nolog /dev/rdsk/c4t0d3" will work?</description>
      <pubDate>Mon, 16 Mar 2009 10:29:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163630#M560603</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2009-03-16T10:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163631#M560604</link>
      <description>Hello Eric,&lt;BR /&gt;&lt;BR /&gt;the physical volume /dev/rdsk/c4t0d3 does not contain a filesystem directly, since it is configured in LVM. Get the list of logical volumes from dev/EVA00 by running:&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v dev/EVA00&lt;BR /&gt;&lt;BR /&gt;Then select the logical volume that you want to repair and run:&lt;BR /&gt;&lt;BR /&gt;# fsck -F vxfs /dev/EVA00/disc4 ,for example&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;J.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Mar 2009 10:31:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163631#M560604</guid>
      <dc:creator>Jozef_Novak</dc:creator>
      <dc:date>2009-03-16T10:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163632#M560605</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;If the LVM header has been accidently overwritten or became corrupted on the disk you can recover it from the backup file using vgcfgrestore.&lt;BR /&gt;&lt;BR /&gt;# vgcfgrestore -n vgXY /dev/rdsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;But keep in mind this before restore the headers.&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore cannot be performed on devices attached to activated volume groups. Prior to restoring a backup configuration to a disk, detach the PV from the volume group using the pvchange(1M) command, or deactivate the volume group using the vgchange(1M) command.&lt;BR /&gt;&lt;BR /&gt;So either you need to detach the pv from the VG or deactivate the VG before use vgcfgrestore on that disk.&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Mar 2009 10:38:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163632#M560605</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-03-16T10:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163633#M560606</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;"fsck -F vxfs -ofull,nolog /dev/rdsk/c4t0d3"&lt;BR /&gt;--&lt;BR /&gt;&lt;BR /&gt;Only if you have created a filesystem on the complete disk. &lt;BR /&gt;&lt;BR /&gt;# fsck -F vxfs -o full,nolog /dev/vgxx/lvoly&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 16 Mar 2009 10:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163633#M560606</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2009-03-16T10:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163634#M560607</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Full fsck did not work:&lt;BR /&gt;&lt;BR /&gt;fsck -F vxfs -y -ofull /dev/EVA00/disc4&lt;BR /&gt;vxfs fsck: OLT extent 0 has bad magic&lt;BR /&gt;read of primary OLT failed&lt;BR /&gt;vxfs fsck: OLT extent 1 has bad magic&lt;BR /&gt;read of OLT copy failed&lt;BR /&gt;vxfs fsck: no valid OLT, cannot continue&lt;BR /&gt;file system check failure, aborting ...&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Mar 2009 11:08:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163634#M560607</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2009-03-16T11:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163635#M560608</link>
      <description>Yes, c4t0d3 had only /disc4. &lt;BR /&gt;&lt;BR /&gt;The same result with -ofull,nolog:&lt;BR /&gt;&lt;BR /&gt;fsck -F vxfs -n -ofull,nolog /dev/EVA00/disc4&lt;BR /&gt;vxfs fsck: OLT extent 0 has bad magic&lt;BR /&gt;read of primary OLT failed&lt;BR /&gt;vxfs fsck: OLT extent 1 has bad magic&lt;BR /&gt;read of OLT copy failed&lt;BR /&gt;vxfs fsck: no valid OLT, cannot continue&lt;BR /&gt;&lt;BR /&gt;The use of nolog option is only relevant for clean (empty?) filesystems, right?&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Mar 2009 11:15:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163635#M560608</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2009-03-16T11:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163636#M560609</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;Few questions. &lt;BR /&gt;&lt;BR /&gt;If the disk failed or LVM headers corrupted first you need to restore the LVM headers into the disk. Have you restored?&lt;BR /&gt;&lt;BR /&gt;This restoration just update LVM headers not file system structures. You have two options here. &lt;BR /&gt;&lt;BR /&gt;1. If all the data on the problematic disk was mirrored, you do not have to do anything; LVM automatically synchronizes the data on the disk with the other mirror copies of the data.&lt;BR /&gt;&lt;BR /&gt;2.If the disk contained any unmirrored logical volumes (or mirrored logical volumes that did not have a current copy on the system), restore the data from backup, mount the file systems&lt;BR /&gt;&lt;BR /&gt;If you are in option two, follow these steps.&lt;BR /&gt;&lt;BR /&gt;# &lt;REPLACE the="" failed="" disk=""&gt; -&amp;gt; if necessary&lt;BR /&gt;# vgcfgrestore â  n vg01 /dev/rdsk/c2t2d0&lt;BR /&gt;# vgchange â  a y vg01&lt;BR /&gt;# newfs [options] /dev/vg01/rlvol1&lt;BR /&gt;# mount /dev/vg01/lvol1 /dump&lt;BR /&gt;# &lt;RESTORE the="" file="" system="" from="" backup=""&gt;&lt;BR /&gt;&lt;BR /&gt;fsck is not going to work unless you have created the filesystem onto the disk.&lt;/RESTORE&gt;&lt;/REPLACE&gt;</description>
      <pubDate>Mon, 16 Mar 2009 11:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163636#M560609</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-03-16T11:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163637#M560610</link>
      <description>Ganesan:&lt;BR /&gt;&lt;BR /&gt;I will try this tonight with the volume group inactivated (the manual says that, preferably the volume group should be made unavailable before run this command):&lt;BR /&gt;&lt;BR /&gt;#vgchange -a n /dev/EVA00&lt;BR /&gt;#vgcfgrestore -n /dev/EVA00 /dev/rdsk/c4t0d3 (this is the right raw device path name)&lt;BR /&gt;#vgchange -a y /dev/EVA00&lt;BR /&gt;#newfs ...&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Mar 2009 12:04:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163637#M560610</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2009-03-16T12:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163638#M560611</link>
      <description>"The data was not really important: just archivelogs. "&lt;BR /&gt;&lt;BR /&gt;If the disk is Ok then I would advice to recreate the FS. You need to restore the data again !!&lt;BR /&gt;&lt;BR /&gt;# newfs -F vxfs /dev/&lt;VGNAME&gt;&lt;LVNAME&gt;&lt;/LVNAME&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Mon, 16 Mar 2009 12:39:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163638#M560611</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-16T12:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: About vgcfgrestore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163639#M560612</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Ganesan' solution worked:&lt;BR /&gt;&lt;BR /&gt;#vgchange -a n /dev/EVA00&lt;BR /&gt;#vgcfgrestore -n /dev/EVA00 /dev/rdsk/c4t0d3 (this is the right raw device path name)&lt;BR /&gt;#vgchange -a y /dev/EVA00&lt;BR /&gt;#newfs -F vxfs -o largefiles /dev/EVA00/rdisc4&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Mar 2009 14:48:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-vgcfgrestore/m-p/5163639#M560612</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2009-03-16T14:48:14Z</dc:date>
    </item>
  </channel>
</rss>

