<?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 modify volume group in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-volume-group/m-p/2800904#M637299</link>
    <description>we are having 3 volume groups and each having 1 physical disk and logical volumes.&lt;BR /&gt;Can we move physical disk from one volume group to another volume group and merge the moved disk with existing disk to create new volume group. Does doing this will destroy data and logical volumes in the disk.&lt;BR /&gt;Thanks</description>
    <pubDate>Fri, 06 Sep 2002 02:13:47 GMT</pubDate>
    <dc:creator>Geeta Singh</dc:creator>
    <dc:date>2002-09-06T02:13:47Z</dc:date>
    <item>
      <title>modify volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-volume-group/m-p/2800904#M637299</link>
      <description>we are having 3 volume groups and each having 1 physical disk and logical volumes.&lt;BR /&gt;Can we move physical disk from one volume group to another volume group and merge the moved disk with existing disk to create new volume group. Does doing this will destroy data and logical volumes in the disk.&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 06 Sep 2002 02:13:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-volume-group/m-p/2800904#M637299</guid>
      <dc:creator>Geeta Singh</dc:creator>
      <dc:date>2002-09-06T02:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: modify volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-volume-group/m-p/2800905#M637300</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I can't think of any way to do it.  You'll probably have to backup all three volume groups to tape, delete them, create a new volume group made up of the three disks, create new logical volumes and filesystems, and then restore the data from tape.  You might get by with just backing up and deleting two of the volume groups, vgextend'ing the two disks from the deleted vg's into the first vg, createing the LVs and FSs that were nuked, and then restoring them from tape.&lt;BR /&gt;&lt;BR /&gt;I'm just curious, but why do you need to merge them into one volume group?&lt;BR /&gt;&lt;BR /&gt;Here is a link to a similar question here on the forum:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8fd035067c18d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8fd035067c18d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Sep 2002 02:21:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-volume-group/m-p/2800905#M637300</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-09-06T02:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: modify volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-volume-group/m-p/2800906#M637301</link>
      <description>It is not possible to merge the volume group. The closest you get to moving extents are within the same VG, whereby you can move extents from one PV to another using pvmove. But of course this is not possible and not what you want. If you have another unused spare disk, what you can do is vgextend one of your VG (say vg01), then create the exact logical volumes as you see in vg02 (say you want to move everything in vg02 to vg01). Then cpio the data from vg02's LVs to vg01's LVs. That will free up the disk in vg02. After deleting vg02, you can vgextend vg01 again with that disk and do the same (ie the LVs creation and cpio) for the next VG (assuming vg03).If you don't have a spare disk to play with, then you would need to backup the data (either to tape or to another temporary NFS mounted FS).</description>
      <pubDate>Fri, 06 Sep 2002 02:47:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-volume-group/m-p/2800906#M637301</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-09-06T02:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: modify volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-volume-group/m-p/2800907#M637302</link>
      <description>Hi Geeta&lt;BR /&gt;&lt;BR /&gt;Well the issue is to move one disk from one volume group and merge it to other w/o destroying the data , this is not possible bcoz the same will be done using pvcreate which will erase the header informations , however we had a set of disks which were accidently put inot to a new volume group using pvcreate -f , the old data never shoed up but when we restored the disks back to the orignal volume group we saw the old data .&lt;BR /&gt;The answer is no.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Fri, 06 Sep 2002 03:10:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-volume-group/m-p/2800907#M637302</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-09-06T03:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: modify volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-volume-group/m-p/2800908#M637303</link>
      <description>Hi Geeta,&lt;BR /&gt;&lt;BR /&gt;You can transfer your data from one volume group to the other using PVMOVE.&lt;BR /&gt;&lt;BR /&gt;pvmove /opt /dev/dsk/c0t0d0&lt;BR /&gt;&lt;BR /&gt;Then you may delete the volume group that you don't need. This will make the disk free (the one from where you moved the data over to the other disk).&lt;BR /&gt;&lt;BR /&gt;Add the new disk into the new volume group.&lt;BR /&gt;&lt;BR /&gt;But you would need space in the first volume group that you would be moving data into from another volume group.&lt;BR /&gt;&lt;BR /&gt;Don't forget to assign points if the answers suit you. !!!!</description>
      <pubDate>Tue, 10 Sep 2002 20:21:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-volume-group/m-p/2800908#M637303</guid>
      <dc:creator>Anil Sedha</dc:creator>
      <dc:date>2002-09-10T20:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: modify volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modify-volume-group/m-p/2800909#M637304</link>
      <description>pvmove can only be used on physical volumes in the same volume group. If you want to combine volume groups, you will have to back them up to tape and create a new volume group with the old physical volumes.&lt;BR /&gt;&lt;BR /&gt;You may try doing a export with a mapfile on each volume group and merge the mapfiles and try to import all the physical disks into one new volume group. I don't think this will work because the volume group information is stored on the physical disks. You may also need to recreate /etc/lvmtab. It's worth a try.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Tue, 10 Sep 2002 20:33:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modify-volume-group/m-p/2800909#M637304</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-09-10T20:33:06Z</dc:date>
    </item>
  </channel>
</rss>

