<?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: Recreate Volume Group in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-volume-group/m-p/2565983#M646969</link>
    <description>&lt;BR /&gt;I believe that if you split mirror's, they still belong to the VG (its been a year since I've played with mirrors), and since the PE is a definition of the VG, you have to delete the VG and recreate it with large PE's. So, I'd backup the LV's (twice), delete the LV's, then the VG, and then do my restores.</description>
    <pubDate>Thu, 16 Aug 2001 12:24:16 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2001-08-16T12:24:16Z</dc:date>
    <item>
      <title>Recreate Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-volume-group/m-p/2565982#M646968</link>
      <description>The Physical Extents are too small for a VG.  I need to recreate the VG with a larger PE size.  All LVs are mirrored.  What is the best way to do this?  recreate a new VG, LVs and copy from existing or use lvsplit?  how do i do this?&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Aug 2001 12:16:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-volume-group/m-p/2565982#M646968</guid>
      <dc:creator>Neil Wilson_2</dc:creator>
      <dc:date>2001-08-16T12:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-volume-group/m-p/2565983#M646969</link>
      <description>&lt;BR /&gt;I believe that if you split mirror's, they still belong to the VG (its been a year since I've played with mirrors), and since the PE is a definition of the VG, you have to delete the VG and recreate it with large PE's. So, I'd backup the LV's (twice), delete the LV's, then the VG, and then do my restores.</description>
      <pubDate>Thu, 16 Aug 2001 12:24:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-volume-group/m-p/2565983#M646969</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-08-16T12:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-volume-group/m-p/2565984#M646970</link>
      <description>Hi Neil:&lt;BR /&gt;&lt;BR /&gt;I presume that you are not dealing with vg00.  If that is the case, I would look to using Ignite 'make_tape_recovery' to reinstall and due your resizing changes via the advanced filesystem options menus.&lt;BR /&gt;&lt;BR /&gt;Thus, I presume that the volume group isn't vg00.  Then, since you are going to have to bite-the-bullet and recreate the volume group to change the LVM geometry, 'lvsplit' isn't going to gain you much.  The bit map created by a split remains in existence only until a merge is completed, or until one of the logical volumes is extended, reduced, split again, or until the system is rebooted.&lt;BR /&gt;&lt;BR /&gt;I think you will want to 'lvreduce' and 'vgreduce' the volume to gain the physical disk you will use to recreate the volume group.  Then make a new volume group with a new volume group number.  Create your logical volumes, and a set of mount points.  Then using 'cpio' copy your filesystems from their current mount point to the new ones:&lt;BR /&gt;&lt;BR /&gt;# cd /old_mount_point &lt;BR /&gt;# find . | cpio -pudlmv /new_mount_point&lt;BR /&gt;&lt;BR /&gt;When done, edit /etc/fstab replacing the "old_mount_point" with the "new_mount_point" and remove the "old" ones.&lt;BR /&gt;&lt;BR /&gt;Lastly, remirror your newly created logical volumes on your newly created volume group.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 16 Aug 2001 12:34:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-volume-group/m-p/2565984#M646970</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-08-16T12:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-volume-group/m-p/2565985#M646971</link>
      <description>Hi&lt;BR /&gt;yo can use the pvmove to copy a logical Volume&lt;BR /&gt;from a disk to other if this are persisting.&lt;BR /&gt;look man page for pvmove.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;mo.</description>
      <pubDate>Fri, 17 Aug 2001 07:02:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-volume-group/m-p/2565985#M646971</guid>
      <dc:creator>AlHassani Mohamed</dc:creator>
      <dc:date>2001-08-17T07:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-volume-group/m-p/2565986#M646972</link>
      <description>Hey Neil,&lt;BR /&gt;&lt;BR /&gt;  I was wondering why U fancy destorying the entire VG and then recreating it ..&lt;BR /&gt;&lt;BR /&gt;  U can always extend it...is it not ?&lt;BR /&gt;&lt;BR /&gt;  Add a new disk..&lt;BR /&gt;&lt;BR /&gt;  # pvcreate &lt;DISK special="" file=""&gt;&lt;BR /&gt;&lt;BR /&gt;  # vgextend &lt;VGNAME&gt; &lt;DISK special="" file=""&gt;&lt;BR /&gt;&lt;BR /&gt;  This should be an easy and safe way in extending the number of PE's&lt;BR /&gt;&lt;BR /&gt;  See if this helps and assing the points :-)&lt;BR /&gt;&lt;BR /&gt;Sundar&lt;/DISK&gt;&lt;/VGNAME&gt;&lt;/DISK&gt;</description>
      <pubDate>Fri, 17 Aug 2001 08:31:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-volume-group/m-p/2565986#M646972</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2001-08-17T08:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-volume-group/m-p/2565987#M646973</link>
      <description>I do agree with JRF as this is the only way, you have to recreate the VG. I am having the same problem where my existing VG has 4GB disks and now I need to add 8GB disks to the VG of course I couldn't because the max extents 1075 with the default extent size 4MB So I recreated the VG with &lt;BR /&gt;&lt;BR /&gt;#vgcreate -p 255 -s 32 /dev/vgxx /dev/dsk/c.t.d&lt;BR /&gt;&lt;BR /&gt;This consumes some more over head but it is safe.&lt;BR /&gt;Good Luck</description>
      <pubDate>Sun, 19 Aug 2001 18:40:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-volume-group/m-p/2565987#M646973</guid>
      <dc:creator>Andrew R.</dc:creator>
      <dc:date>2001-08-19T18:40:03Z</dc:date>
    </item>
  </channel>
</rss>

