<?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: How to manage volume groups &amp;amp; locgical volumes safely in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-volume-groups-amp-locgical-volumes-safely/m-p/4380660#M348569</link>
    <description>Hi Johnson &lt;BR /&gt;&lt;BR /&gt; I have follwoing questions?&lt;BR /&gt;&lt;BR /&gt;1) do we have to backup the volume groups whenever we are including physical volumes in to volume group and creating logical volumes with in that volume group.&lt;BR /&gt;&lt;BR /&gt;2) is it possible that volume group may corrupt?&lt;BR /&gt;&lt;BR /&gt;3) in what situation volume groups are get corrupted?&lt;BR /&gt;&lt;BR /&gt;4) we can restore the volume group / logical volume using "vgcfgrestore" command. but not with original data?&lt;BR /&gt;&lt;BR /&gt;5)is it possible that recovering the user data / system data if volume group / logical volumes are corrupted.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 17 Mar 2009 06:44:56 GMT</pubDate>
    <dc:creator>senthil_kumar_1</dc:creator>
    <dc:date>2009-03-17T06:44:56Z</dc:date>
    <item>
      <title>How to manage volume groups &amp; locgical volumes safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-volume-groups-amp-locgical-volumes-safely/m-p/4380657#M348566</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;  There is some volume groups (vg00, vg01) and&lt;BR /&gt;some Logical volumes (lvol1, lvol2, lvol3 ...) in my HP-UX servers.&lt;BR /&gt;&lt;BR /&gt;  I want to manage them safely.&lt;BR /&gt;&lt;BR /&gt;  and I want to know the purpose of following commands &lt;BR /&gt;&lt;BR /&gt;  1) vgcfgbackup&lt;BR /&gt;  2) vgcfgrestore&lt;BR /&gt;  3) vgexport&lt;BR /&gt;  4) vgimport&lt;BR /&gt;&lt;BR /&gt; pls explain above commands in detail with full syntax of the command.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 05:36:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-volume-groups-amp-locgical-volumes-safely/m-p/4380657#M348566</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-03-17T05:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage volume groups &amp; locgical volumes safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-volume-groups-amp-locgical-volumes-safely/m-p/4380658#M348567</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for full syntax see&lt;BR /&gt;&lt;BR /&gt;man vgcfgbackup&lt;BR /&gt;man vgcfgrestore &lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;This will explain everything.&lt;BR /&gt;&lt;BR /&gt;1) stores the VG layout&lt;BR /&gt;2) restores the layout to a certain disk&lt;BR /&gt;3) "remove" the VG configuration from the system; data will stay on the disks&lt;BR /&gt;4) import an existing VG to the system configuration</description>
      <pubDate>Tue, 17 Mar 2009 05:40:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-volume-groups-amp-locgical-volumes-safely/m-p/4380658#M348567</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-03-17T05:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage volume groups &amp; locgical volumes safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-volume-groups-amp-locgical-volumes-safely/m-p/4380659#M348568</link>
      <description>Hi Senthil Kumar,&lt;BR /&gt;&lt;BR /&gt;1) vgcfgbackup&lt;BR /&gt;&lt;BR /&gt;vgcfgbackup allows you to backup the metadata or Volume Group Descriptor Area (VGDA) of one to all volume groups to files in /etc/lvmconf. If you donâ  t give any volume groups in the command line, all of them will be backed up. This DOESNâ  T backup user/system data in logical volume(s)! To restore volume group descriptor area backups see the vgcfgrestore(8) tool. A 10 step history is backed up in /etc/lvmconf/VolumeGroupName.conf and /etc/lvmconf/VolumeGroupName.conf&lt;BR /&gt;&lt;BR /&gt;2) vgcfgrestore&lt;BR /&gt;&lt;BR /&gt;DESCRIPTION&lt;BR /&gt;vgcfgrestore restores the volume group descriptor area from backup files in /etc/lvmconf or from VGConfPath to the given initialized (see pvcreate(8) ) PhysicalVolumePath. The default backup file is /etc/lvmconf/VolumeGroupName.conf. This command DOES NOT restore data contained in logical volume(s), only the LVM configuration metadata&lt;BR /&gt;&lt;BR /&gt;3) vgexport&lt;BR /&gt;&lt;BR /&gt;DESCRIPTION&lt;BR /&gt;       vgexport allows you to make the inactive VolumeGroupName(s) unknown  to&lt;BR /&gt;       the  system.  You can then move all the Physical Volumes in that Volume&lt;BR /&gt;       Group to a different system for later  vgimport(8).   Most  LVM2  tools&lt;BR /&gt;       ignore exported Volume Groups.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4) vgimport&lt;BR /&gt;&lt;BR /&gt;vgimport allows you to make a volume group known to the system which has previously been exported (see vgexport(8) ) on this or another system&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;pls explain above commands in detail with full syntax of the command&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;please refer to man pages for above mention commands.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 05:58:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-volume-groups-amp-locgical-volumes-safely/m-p/4380659#M348568</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-03-17T05:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage volume groups &amp; locgical volumes safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-volume-groups-amp-locgical-volumes-safely/m-p/4380660#M348569</link>
      <description>Hi Johnson &lt;BR /&gt;&lt;BR /&gt; I have follwoing questions?&lt;BR /&gt;&lt;BR /&gt;1) do we have to backup the volume groups whenever we are including physical volumes in to volume group and creating logical volumes with in that volume group.&lt;BR /&gt;&lt;BR /&gt;2) is it possible that volume group may corrupt?&lt;BR /&gt;&lt;BR /&gt;3) in what situation volume groups are get corrupted?&lt;BR /&gt;&lt;BR /&gt;4) we can restore the volume group / logical volume using "vgcfgrestore" command. but not with original data?&lt;BR /&gt;&lt;BR /&gt;5)is it possible that recovering the user data / system data if volume group / logical volumes are corrupted.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 06:44:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-volume-groups-amp-locgical-volumes-safely/m-p/4380660#M348569</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-03-17T06:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage volume groups &amp; locgical volumes safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-volume-groups-amp-locgical-volumes-safely/m-p/4380661#M348570</link>
      <description>Hi Senthil,&lt;BR /&gt;&lt;BR /&gt;1) It is good practise to backup your volume group configuration when carrying out tasks such as adding/removing disks to VG, creating/removing LV's etc&lt;BR /&gt;&lt;BR /&gt;2) Yes&lt;BR /&gt;&lt;BR /&gt;3) Disk failure, incorrect disk configuaration&lt;BR /&gt;&lt;BR /&gt;4) vgcfgrestore only restores the VGDA only, it will not put back user data contained in the VG&lt;BR /&gt;&lt;BR /&gt;5) You will need to use a backup/restore tool such as dataprotector to recover user data if you have had to recreate a VG from scratch&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Richard&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 07:11:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-volume-groups-amp-locgical-volumes-safely/m-p/4380661#M348570</guid>
      <dc:creator>Richard Hepworth</dc:creator>
      <dc:date>2009-03-17T07:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage volume groups &amp; locgical volumes safely</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-volume-groups-amp-locgical-volumes-safely/m-p/4380662#M348571</link>
      <description>have follwoing questions?&lt;BR /&gt;&lt;BR /&gt;1) do we have to backup the volume groups whenever we are including physical volumes in to volume group and creating logical volumes with in that volume group.&lt;BR /&gt;&lt;BR /&gt;while creating volume Group or Logicak volume backup It will be automatically taken by the "LVM" Logical volume Manager. so we no need to backup&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2) is it possible that volume group may corrupt?&lt;BR /&gt;&lt;BR /&gt;If the (2) Question related to above .. Answer is NO.&lt;BR /&gt;&lt;BR /&gt;It depends if "volume group corrupt" you still can recover form you performing as below&lt;BR /&gt;&lt;BR /&gt;moving /etc/lvmtab to lvmtab.bk&lt;BR /&gt; &lt;BR /&gt;and try to generate a new one with vgscan -a -v command.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3) in what situation volume groups are get corrupted?&lt;BR /&gt;&lt;BR /&gt;depends in may ways,&lt;BR /&gt;&lt;BR /&gt;1. some one accidenting corruptted the /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;2. pvcrate -f /dev/rdsk/cXtxdx &lt;PERFORMING pshical="" volume="" creating="" on="" already="" volume="" groups="" exists=""&gt;&lt;/PERFORMING&gt;&lt;BR /&gt;&lt;BR /&gt;4) we can restore the volume group / logical volume using "vgcfgrestore" command. but not with original data?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Example:- for vgcfgrestore "One of my mirror disk problem after replacing the disk " &lt;BR /&gt;&lt;BR /&gt;Recover mirror&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n vg00 /dev/rdsk/c2t6d0&lt;BR /&gt;vgchange -a y vg00&lt;BR /&gt;vgsync vg00&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;5)is it possible that recovering the user data / system data if volume group / logical volumes are corrupted.&lt;BR /&gt;&lt;BR /&gt;possible . and depends on how you avoid your "Single point of failure"&lt;BR /&gt;&lt;BR /&gt;Example:-&lt;BR /&gt;&lt;BR /&gt;1. You should have RAID - level in "Storage"&lt;BR /&gt;2. You should have software mirroring,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;would encourage you "get Logical Volume manger" documentation.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 07:14:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-manage-volume-groups-amp-locgical-volumes-safely/m-p/4380662#M348571</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-03-17T07:14:39Z</dc:date>
    </item>
  </channel>
</rss>

