<?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: Volume Group Change. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797011#M637129</link>
    <description>The steps remain essentially the same. &lt;BR /&gt;&lt;BR /&gt;At some point, you need to make the VG cluster-aware by issueing a vgchange -c y /dev/vgxx and in your package control scripts what is shown above an vgchange -a y should be changed to vgchange -a e. Man vgchange for details.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 30 Aug 2002 12:51:18 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2002-08-30T12:51:18Z</dc:date>
    <item>
      <title>Volume Group Change.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797005#M637123</link>
      <description>Hi Team:&lt;BR /&gt;&lt;BR /&gt;I need to sync up two machines in terms of volume group. This is what i have on Machine A&lt;BR /&gt;bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     204800   37025  157313   19% /&lt;BR /&gt;/dev/vg00/lvol1     199381   55677  123765   31% /stand&lt;BR /&gt;/dev/vg00/lvol7    4194304  673015 3304073   17% /var&lt;BR /&gt;/dev/vg00/lvcrash  4194304   16840 3916380    0% /var/adm/crash&lt;BR /&gt;/dev/vg00/lvol6    2097152  698067 1311670   35% /usr&lt;BR /&gt;/dev/vg00/lvol5    1048576   48713  937476    5% /tmp&lt;BR /&gt;/dev/vg00/lvol4    4194304  501416 3462127   13% /opt&lt;BR /&gt;/dev/vg02/lvhome   10485760  217572 9947338    2% /home&lt;BR /&gt;/dev/vg04/lvdepot  2097152    1614 1964574    0% /depot&lt;BR /&gt;/dev/vg05/lvnet    2097152  223247 1758338   11% /usr/net&lt;BR /&gt;/dev/vg05/lvdata   2097152  368559 1620748   19% /usr/data&lt;BR /&gt;&lt;BR /&gt;Machine B&lt;BR /&gt;bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     204800   37929  156505   20% /&lt;BR /&gt;/dev/vg00/lvol1     199381   56383  123059   31% /stand&lt;BR /&gt;/dev/vg00/lvol7    4194304  659465 3314510   17% /var&lt;BR /&gt;/dev/vg00/lvcrash  4194304    2129 3930172    0% /var/adm/crash&lt;BR /&gt;/dev/vg00/lvol6    2097152 1381446  671108   67% /usr&lt;BR /&gt;/dev/vg00/lvol5    1048576   38769  946898    4% /tmp&lt;BR /&gt;/dev/vg00/lvol4    4194304  484146 3478357   12% /opt&lt;BR /&gt;/dev/vg02/lvhome   10485760  188574 9975956    2% /home&lt;BR /&gt;/dev/vg04/lvdepot  2097152    1616 1964571    0% /depot&lt;BR /&gt;/dev/vg01/lvnet    2097152  221769 1758260   11% /usr/net&lt;BR /&gt;/dev/vg01/lvdata   2097152  383033 1607098   19% /usr/data&lt;BR /&gt;I want Machine A to syncup with Machine B and i need vg05 to be renamed as vg01 on Machine A. Please advise me on the steps.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ben J</description>
      <pubDate>Thu, 29 Aug 2002 17:39:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797005#M637123</guid>
      <dc:creator>ben_43</dc:creator>
      <dc:date>2002-08-29T17:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group Change.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797006#M637124</link>
      <description>Hi Ben:&lt;BR /&gt;&lt;BR /&gt;On machine-A:&lt;BR /&gt;&lt;BR /&gt;# umount /dev/vg05/lvnet&lt;BR /&gt;# umount /dev/vg05/lvdata&lt;BR /&gt;# vgchange -a n /dev/vg05&lt;BR /&gt;# vgexport -m /tmp/vg05map /dev/vg05&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;# vgimport -m /tmp/vg05map /dev/dsk/cXtYdZ ...&lt;BR /&gt;# vgchange -a y /dev/vg01&lt;BR /&gt;# mount -a&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Aug 2002 17:50:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797006#M637124</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-08-29T17:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group Change.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797007#M637125</link>
      <description>On machine A ..&lt;BR /&gt;&lt;BR /&gt;# cd /&lt;BR /&gt;# vgdisplay -v vg05&lt;BR /&gt;==&amp;gt; Take note of all the PV-paths (say for example they are c2t1d0 and c4t1d0)&lt;BR /&gt;# umount /usr/net&lt;BR /&gt;# umount /usr/data&lt;BR /&gt;==&amp;gt; Umount the directories.&lt;BR /&gt;# vgchange -a n /dev/vg05&lt;BR /&gt;==&amp;gt; De-activate the VG.&lt;BR /&gt;# vgexport -m mapfile /dev/vg05&lt;BR /&gt;==&amp;gt; Remove VG entry fr lvmtab and all its devices files.&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;==&amp;gt; Create the driver for vg01.&lt;BR /&gt;# vgimport -m mapfile /dev/vg01 /dev/dsk/c2t1d0 /dev/dsk/c4t1d0&lt;BR /&gt;# vgchange -a y /dev/vg01&lt;BR /&gt;# vgcfgbackup /dev/vg01&lt;BR /&gt;# vi /etc/fstab&lt;BR /&gt;==&amp;gt; Edit and change "vg05" to "vg01"&lt;BR /&gt;# mount -a&lt;BR /&gt;===&amp;gt; Mount the FS.&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Aug 2002 17:51:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797007#M637125</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-08-29T17:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group Change.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797008#M637126</link>
      <description>I don't know how many disks comprise vg01 / vg05, so here's a slight improvement on JRF's method:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# vgexport -s -m /tmp/vg05map /dev/vg05&lt;BR /&gt;&lt;BR /&gt;# vgimport -s -m /tmp/vg05map &lt;BR /&gt;Adding the '-s' option to vgexport / vgimport modifies your map file so that you don't have to specify the disks that are part of the VG.  It adds a VGID number at the top of the mapfile when you do vgexport.  When you do the vgimport it reads that VGID number and looks for all disks that belong to that VG.&lt;BR /&gt;&lt;BR /&gt;It works very well.  Use JRF's steps, but add the -s as in my examples above.</description>
      <pubDate>Thu, 29 Aug 2002 17:56:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797008#M637126</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-08-29T17:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group Change.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797009#M637127</link>
      <description>Thanks. That was quick. But i forgot to mention that in Both the machines /usr/net and /usr/data are controlled by MC/SG. For Machine A vg05 is controlled by Service Guard. Will that take any additional steps OR would the same steps apply? Env. 11.0&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ben J</description>
      <pubDate>Thu, 29 Aug 2002 17:58:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797009#M637127</guid>
      <dc:creator>ben_43</dc:creator>
      <dc:date>2002-08-29T17:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group Change.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797010#M637128</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt; Will JRF's and sk's method would still work considering vg05 is managed by Service Guard on Machine A??&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ben J</description>
      <pubDate>Fri, 30 Aug 2002 12:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797010#M637128</guid>
      <dc:creator>ben_43</dc:creator>
      <dc:date>2002-08-30T12:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group Change.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797011#M637129</link>
      <description>The steps remain essentially the same. &lt;BR /&gt;&lt;BR /&gt;At some point, you need to make the VG cluster-aware by issueing a vgchange -c y /dev/vgxx and in your package control scripts what is shown above an vgchange -a y should be changed to vgchange -a e. Man vgchange for details.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Aug 2002 12:51:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797011#M637129</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-08-30T12:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group Change.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797012#M637130</link>
      <description>one little thing.  If the machines are V-Class, you have to have the same number of alternate paths for physical volumes for both.  The vgimport -s might not give it to you.  It didn't for ME.  One box has 2 paths to a physical disk.  The 2nd box (via vgimport) has 4 paths to the physical disk.  As a result, MC/Service Guard will FAIL.&lt;BR /&gt;&lt;BR /&gt;Another little thing that's probably obvious.  When running your "mknod" command have the hex number be the same on both the main node and alternate nodes.  &lt;BR /&gt;&lt;BR /&gt;steve</description>
      <pubDate>Fri, 30 Aug 2002 12:55:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797012#M637130</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2002-08-30T12:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group Change.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797013#M637131</link>
      <description>Thanks Clay and Steve!!! My Box is Nclass. Would it still apply?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ben J</description>
      <pubDate>Fri, 30 Aug 2002 13:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797013#M637131</guid>
      <dc:creator>ben_43</dc:creator>
      <dc:date>2002-08-30T13:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group Change.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797014#M637132</link>
      <description>I don't know.  I'm just starting if MC/Service Guard myself.  I just wanted to warned you because I got burned on this on my last "maintenance day."</description>
      <pubDate>Fri, 30 Aug 2002 13:14:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group-change/m-p/2797014#M637132</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2002-08-30T13:14:33Z</dc:date>
    </item>
  </channel>
</rss>

