<?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: splitting mirror for new VG in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535649#M368769</link>
    <description>Thanks for the responses.&lt;BR /&gt;   &lt;BR /&gt;    But i can't use vgchgid as it is HPUX 11.11.  &lt;BR /&gt;&lt;BR /&gt;@Wim, you are right. as vgreduce will impact the VGRA of the disks, so they can't be exported.&lt;BR /&gt;  but can i try by having a map file (in preview mode) of vg_data VG and then try importing new VG on those disks. &lt;BR /&gt;&lt;BR /&gt;# vgimport -m &lt;MAPFILE&gt; /dev/vg_data1 &lt;DISK1&gt; &lt;DISK2&gt;&lt;BR /&gt;&lt;BR /&gt;Please suggest.&lt;/DISK2&gt;&lt;/DISK1&gt;&lt;/MAPFILE&gt;</description>
    <pubDate>Wed, 18 Nov 2009 16:10:49 GMT</pubDate>
    <dc:creator>Vishu</dc:creator>
    <dc:date>2009-11-18T16:10:49Z</dc:date>
    <item>
      <title>splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535641#M368761</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  i have one VG vg_data having 4 disks (2 + 2(mirrored)). i want to use the 2*mirrored disk in a new VG vg_data1, but want the same data of vg_data VG. Please provide the procedure.&lt;BR /&gt;&lt;BR /&gt;I thought of following. Plz suggest on it.&lt;BR /&gt;&lt;BR /&gt;1. split all LVs with lvsplit command so that there remain no mirror LV.&lt;BR /&gt;2. vgreduce both disks out of vg_data.&lt;BR /&gt;3. Create new vg vg_data1.&lt;BR /&gt;3. Import those disk in new VG with vgimport command as&lt;BR /&gt;&lt;BR /&gt;# vgimport /dev/vg_data1 &lt;DISK1&gt; &lt;DISK2&gt;&lt;/DISK2&gt;&lt;/DISK1&gt;</description>
      <pubDate>Tue, 17 Nov 2009 22:02:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535641#M368761</guid>
      <dc:creator>Vishu</dc:creator>
      <dc:date>2009-11-17T22:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535642#M368762</link>
      <description>When using lvsplit&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3921-60631/lvsplit.1M.html" target="_blank"&gt;http://docs.hp.com/en/B3921-60631/lvsplit.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;LVs are still part of the VG.&lt;BR /&gt;&lt;BR /&gt;Is this a problem?</description>
      <pubDate>Tue, 17 Nov 2009 22:13:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535642#M368762</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-11-17T22:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535643#M368763</link>
      <description>yes, they are. but i want to use those disks in a new VG. so i think they should not be a part of other VG anymore. &lt;BR /&gt;&lt;BR /&gt;   please suggest, or if you have some good steps of yours, please provide.</description>
      <pubDate>Tue, 17 Nov 2009 22:45:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535643#M368763</guid>
      <dc:creator>Vishu</dc:creator>
      <dc:date>2009-11-17T22:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535644#M368764</link>
      <description>any help in it?</description>
      <pubDate>Wed, 18 Nov 2009 14:01:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535644#M368764</guid>
      <dc:creator>Vishu</dc:creator>
      <dc:date>2009-11-18T14:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535645#M368765</link>
      <description>hey guys, &lt;BR /&gt;&lt;BR /&gt;   I have to perform this activity today. any help would be highly appreciated.</description>
      <pubDate>Wed, 18 Nov 2009 15:18:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535645#M368765</guid>
      <dc:creator>Vishu</dc:creator>
      <dc:date>2009-11-18T15:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535646#M368766</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Honestly , I didnt testet this.&lt;BR /&gt;&lt;BR /&gt;I belive at the time of step 4 you may face some errror because of same vgid you are importing .&lt;BR /&gt;&lt;BR /&gt;If am right then you can use vgchgid command to change &lt;BR /&gt;&lt;BR /&gt;#vgchgid /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d1 /dev/rdsk/c0t0d2&lt;BR /&gt;&lt;BR /&gt;then you can do vgimport procedure.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please let me know if it works :)&lt;BR /&gt;&lt;BR /&gt;Aneesh</description>
      <pubDate>Wed, 18 Nov 2009 15:32:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535646#M368766</guid>
      <dc:creator>Aneesh Mohan</dc:creator>
      <dc:date>2009-11-18T15:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535647#M368767</link>
      <description>I think you will just have to try.&lt;BR /&gt;&lt;BR /&gt;It is not documented (not to my knowledge) what exactly happens with vgreduce.&lt;BR /&gt;If the disk information is not touched, you could try to import them as a new (but incomplete) volumegroup.&lt;BR /&gt;If vgreduce erases necessary information on the disks, you will be stuck.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Nov 2009 15:32:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535647#M368767</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2009-11-18T15:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535648#M368768</link>
      <description>Hi,&lt;BR /&gt;look at chapter: Splitting a Volume Group&lt;BR /&gt;in doc:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-6576/ch03s03.html#vgsplit" target="_blank"&gt;http://docs.hp.com/en/5992-6576/ch03s03.html#vgsplit&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Nov 2009 15:36:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535648#M368768</guid>
      <dc:creator>Slawomir Gora</dc:creator>
      <dc:date>2009-11-18T15:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535649#M368769</link>
      <description>Thanks for the responses.&lt;BR /&gt;   &lt;BR /&gt;    But i can't use vgchgid as it is HPUX 11.11.  &lt;BR /&gt;&lt;BR /&gt;@Wim, you are right. as vgreduce will impact the VGRA of the disks, so they can't be exported.&lt;BR /&gt;  but can i try by having a map file (in preview mode) of vg_data VG and then try importing new VG on those disks. &lt;BR /&gt;&lt;BR /&gt;# vgimport -m &lt;MAPFILE&gt; /dev/vg_data1 &lt;DISK1&gt; &lt;DISK2&gt;&lt;BR /&gt;&lt;BR /&gt;Please suggest.&lt;/DISK2&gt;&lt;/DISK1&gt;&lt;/MAPFILE&gt;</description>
      <pubDate>Wed, 18 Nov 2009 16:10:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535649#M368769</guid>
      <dc:creator>Vishu</dc:creator>
      <dc:date>2009-11-18T16:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535650#M368770</link>
      <description>see my solution is to use lvsplit and no vgsplit and it is available in hpux 11.11&lt;BR /&gt;&lt;BR /&gt;I would like to add few more additional things ...&lt;BR /&gt;&lt;BR /&gt;a) may need to  -f option while vgimport.&lt;BR /&gt;&lt;BR /&gt;b) you may need to clean "b" lvol(split lvol) on primary vg using lvremove&lt;BR /&gt;&lt;BR /&gt;c) you may need to clean source lvol on new vg using lvremove.&lt;BR /&gt;&lt;BR /&gt;d) then you can use vgreduce -f primaryvg &amp;amp; vgreduce -f newvg&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Aneesh</description>
      <pubDate>Wed, 18 Nov 2009 16:25:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535650#M368770</guid>
      <dc:creator>Aneesh Mohan</dc:creator>
      <dc:date>2009-11-18T16:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535651#M368771</link>
      <description>one thing I forgot to mention is please ignore your second step that is vgreduce ...&lt;BR /&gt;&lt;BR /&gt;Aneesh&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Nov 2009 16:31:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535651#M368771</guid>
      <dc:creator>Aneesh Mohan</dc:creator>
      <dc:date>2009-11-18T16:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535652#M368772</link>
      <description>see..&lt;BR /&gt;&lt;BR /&gt;1) split all LVs with lvsplit command so that there remain no mirror LV.&lt;BR /&gt;&lt;BR /&gt;2) vgchgid the "b" lvol disks&lt;BR /&gt;&lt;BR /&gt;3) Import the secondary disks in new vg with -f option&lt;BR /&gt;&lt;BR /&gt;4) use lvremove to remove "b" lvols from source vg&lt;BR /&gt;&lt;BR /&gt;5) use lvremove to remove  source lvols from newvg&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Aneesh</description>
      <pubDate>Wed, 18 Nov 2009 16:34:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535652#M368772</guid>
      <dc:creator>Aneesh Mohan</dc:creator>
      <dc:date>2009-11-18T16:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535653#M368773</link>
      <description># lvcreate -n sooraj -l 2 vg00&lt;BR /&gt;Logical volume "/dev/vg00/sooraj" has been successfully created with&lt;BR /&gt;character device "/dev/vg00/rsooraj".&lt;BR /&gt;Logical volume "/dev/vg00/sooraj" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf&lt;BR /&gt;[rx76-1p0]/&lt;BR /&gt;# newfs -Fvxfs /dev/vg00/sooraj&lt;BR /&gt;vxfs newfs: /dev/vg00/sooraj is not a character device&lt;BR /&gt;[rx76-1p0]/&lt;BR /&gt;# newfs -Fvxfs /dev/vg00/rsooraj&lt;BR /&gt;    version 5 layout&lt;BR /&gt;    16384 sectors, 16384 blocks of size 1024, log size 1024 blocks&lt;BR /&gt;    unlimited inodes, largefiles not supported&lt;BR /&gt;    16384 data blocks, 15288 free data blocks&lt;BR /&gt;    1 allocation units of 32768 blocks, 32768 data blocks&lt;BR /&gt;    last allocation unit has 16384 data blocks&lt;BR /&gt;&lt;BR /&gt;[rx76-1p0]/&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f  /dev/rdsk/c3t6d0&lt;BR /&gt;&lt;BR /&gt;Physical volume "/dev/rdsk/c3t6d0" has been successfully created.&lt;BR /&gt;&lt;BR /&gt;# vgextend vg00 /dev/dsk/c3t6d0&lt;BR /&gt;vgextend: Warning: Max_PE_per_PV for the volume group (4238) too small for this PV (4341).&lt;BR /&gt;         Using only 4238 PEs from this physical volume.&lt;BR /&gt;Volume group "vg00" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf&lt;BR /&gt;&lt;BR /&gt;# lvextend -m 1 /dev/vg00/sooraj /dev/dsk/c3t6d0&lt;BR /&gt;The newly allocated mirrors are now being synchronized. This operation will&lt;BR /&gt;take some time. Please wait ....&lt;BR /&gt;Logical volume "/dev/vg00/sooraj" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf&lt;BR /&gt;[rx76-1p0]/&lt;BR /&gt;&lt;BR /&gt;# lvsplit /dev/vg00/sooraj&lt;BR /&gt;Logical volume "/dev/vg00/soorajb" has been successfully created with&lt;BR /&gt;character device "/dev/vg00/rsoorajb".&lt;BR /&gt;Logical volume "/dev/vg00/sooraj" has been successfully split.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf&lt;BR /&gt;[rx76-1p0]/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# vgchgid -f /dev/rdsk/c3t6d0&lt;BR /&gt;vgchgid: disk "/dev/rdsk/c3t6d0" is already in vg "/dev/vg00".&lt;BR /&gt;[rx76-1p0]/&lt;BR /&gt;&lt;BR /&gt;Here here it gives an error .....</description>
      <pubDate>Wed, 18 Nov 2009 17:23:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535653#M368773</guid>
      <dc:creator>SoorajCleris</dc:creator>
      <dc:date>2009-11-18T17:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535654#M368774</link>
      <description>&amp;gt;&amp;gt;&amp;gt;# vgchgid -f /dev/rdsk/c3t6d0&lt;BR /&gt;vgchgid: disk "/dev/rdsk/c3t6d0" is already in vg "/dev/vg00".&lt;BR /&gt;&lt;BR /&gt;Oops dealing with vg00 ...&lt;BR /&gt;&lt;BR /&gt;You need to export the orginal volume group ,then only it will allow to do vgchgid.&lt;BR /&gt;&lt;BR /&gt;Using single user mode you can do it ,after seperating the things you can import both the volume groups using -f option.&lt;BR /&gt;&lt;BR /&gt;Aneesh&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Nov 2009 17:48:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535654#M368774</guid>
      <dc:creator>Aneesh Mohan</dc:creator>
      <dc:date>2009-11-18T17:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: splitting mirror for new VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535655#M368775</link>
      <description>excatly .. thats what I wanted to tell you ... :)&lt;BR /&gt;Thank you</description>
      <pubDate>Thu, 19 Nov 2009 03:01:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitting-mirror-for-new-vg/m-p/4535655#M368775</guid>
      <dc:creator>SoorajCleris</dc:creator>
      <dc:date>2009-11-19T03:01:14Z</dc:date>
    </item>
  </channel>
</rss>

