<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942457#M709840</link>
    <description>If SG is down (EVERYTHING)&lt;BR /&gt;&lt;BR /&gt;vgchange -a y sharedvg&lt;BR /&gt;&lt;BR /&gt;REMEMBER, you will be doing this outside of SG, so if you fix the problem you will need to stop package processes, unmount filesystems &amp;amp; de-activate sharedvg (possibly remove shared memory segments if left lying 'round !!!) Before starting SG again.&lt;BR /&gt;&lt;BR /&gt;Tim</description>
    <pubDate>Wed, 02 Apr 2003 21:10:26 GMT</pubDate>
    <dc:creator>Tim D Fulford</dc:creator>
    <dc:date>2003-04-02T21:10:26Z</dc:date>
    <item>
      <title>Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942448#M709831</link>
      <description>Hi, &lt;BR /&gt;I have a 2 node cluster running MC/SG &amp;amp; HP11i.&lt;BR /&gt;&lt;BR /&gt;I have problems with export/import of VGs.&lt;BR /&gt;&lt;BR /&gt;I created a volume group /dev/sharedvg. It was activated on Node1. Now using LVM commands, I distributed to node2. Now I deactivated on Node1. Now when I try to activate on Node2 , i got the error:&lt;BR /&gt;   vgchange: Activation mode requested for the volume group "/dev/sharedvg" conflicts with configured mode.&lt;BR /&gt;&lt;BR /&gt;Now, again i come to Node1 and try to activate. I get the same error as above. &lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards, &lt;BR /&gt;Karthik Narayanan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Apr 2003 20:51:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942448#M709831</guid>
      <dc:creator>Karthik Narayanan_4</dc:creator>
      <dc:date>2003-04-02T20:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942449#M709832</link>
      <description>Hi Karthik,&lt;BR /&gt;&lt;BR /&gt;If it is already part of serviceguard, the preferred mode of activation is 'vgchange -a e' so that you don't change the VG configuration.&lt;BR /&gt;&lt;BR /&gt;Now if you just created the volume group, I don't see any reason why it would give this error.&lt;BR /&gt;&lt;BR /&gt;See if the following helps you,&lt;BR /&gt;&lt;BR /&gt;On the primary node&lt;BR /&gt;&lt;BR /&gt;#vgchange -a n /dev/sharedvg&lt;BR /&gt;#vgchange -c n /dev/sharedvg&lt;BR /&gt;&lt;BR /&gt;Then on the secondary noe&lt;BR /&gt;&lt;BR /&gt;#vgchange -a y /dev/sharedvg&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 02 Apr 2003 20:55:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942449#M709832</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-04-02T20:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942450#M709833</link>
      <description>Hi Karthik,&lt;BR /&gt;&lt;BR /&gt;How are you activating it?&lt;BR /&gt;&lt;BR /&gt;Use&lt;BR /&gt;&lt;BR /&gt;vgchange -a e /dev/vg_name&lt;BR /&gt;&lt;BR /&gt;e in this case means exclusive.&lt;BR /&gt;The other thing to be aware of is the cluster bit. If this VG will be used by MC/SG you'll need to do the following&lt;BR /&gt;&lt;BR /&gt;vgchange -c y /dev/vg_name&lt;BR /&gt;&lt;BR /&gt;To make the VG cluster-aware.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 02 Apr 2003 20:57:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942450#M709833</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-04-02T20:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942451#M709834</link>
      <description>I've seen this message in two states&lt;BR /&gt;&lt;BR /&gt;1 - SG up and running and I typed&lt;BR /&gt;# vgchange -a y sharedvg&lt;BR /&gt;This is wrong, it should be&lt;BR /&gt;# vgchange -a e sharedvg&lt;BR /&gt;&lt;BR /&gt;2 - SG was down (cluster, node, package.. EVERYTHING).  I typed&lt;BR /&gt;# vgchange -a y sharedvg&lt;BR /&gt;As SG is disabled, cmcld is not running hence, I should have typed&lt;BR /&gt;# vgchange -a y sharedvg&lt;BR /&gt;&lt;BR /&gt;You probably needed to do 1) but 2) is useful to know if you are in trouble &amp;amp; want to start the cluster services "manually" WITHOUT ServiceGuard.&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 02 Apr 2003 21:00:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942451#M709834</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-04-02T21:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942452#M709835</link>
      <description>OOOPS 2 should read&lt;BR /&gt;# vgchange -a e sharedvg&lt;BR /&gt;wrong...&lt;BR /&gt;# vgchange -a y sharedvg&lt;BR /&gt;&lt;BR /&gt;sorry for the confusion</description>
      <pubDate>Wed, 02 Apr 2003 21:02:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942452#M709835</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-04-02T21:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942453#M709836</link>
      <description>I do not have SG running. Everything is down.</description>
      <pubDate>Wed, 02 Apr 2003 21:04:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942453#M709836</guid>
      <dc:creator>Karthik Narayanan_4</dc:creator>
      <dc:date>2003-04-02T21:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942454#M709837</link>
      <description>I want a re-call answer option!!!....  Here is what I meant to write&lt;BR /&gt;&lt;BR /&gt;I've seen this message in two states &lt;BR /&gt;&lt;BR /&gt;1 - SG up and running and I typed &lt;BR /&gt;# vgchange -a y sharedvg &lt;BR /&gt;This is wrong, it should be &lt;BR /&gt;# vgchange -a e sharedvg &lt;BR /&gt;&lt;BR /&gt;2 - SG was DOWN (cluster, node &amp;amp; package.. EVERYTHING). I typed &lt;BR /&gt;# vgchange -a e sharedvg &lt;BR /&gt;As SG is disabled, cmcld is not able to communicate with other nodes in cluster hence, I should have typed &lt;BR /&gt;# vgchange -a y sharedvg &lt;BR /&gt;&lt;BR /&gt;You probably needed to do 1) but 2) is useful to know if you are in trouble &amp;amp; want to start the cluster services "manually" WITHOUT ServiceGuard. &lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 02 Apr 2003 21:06:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942454#M709837</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-04-02T21:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942455#M709838</link>
      <description>Now, I blew off everything on the disk.&lt;BR /&gt;vgexport /dev/sharedvg&lt;BR /&gt;&lt;BR /&gt;Cluster is DOWN.&lt;BR /&gt;Now on node1, I create physical vol&lt;BR /&gt;pvcreate -f /dev/rdsk/c4t9d0&lt;BR /&gt;&lt;BR /&gt;Now on node1, I create VG, LV, Filesystems using SAM.&lt;BR /&gt;All is fine, everything is mounted. &lt;BR /&gt;Now i deactivate on node1, by&lt;BR /&gt;vgchange -a n /dev/sharedvgNEW&lt;BR /&gt;&lt;BR /&gt;Gets deactivated.&lt;BR /&gt;Now, I try to activate again on node1 by&lt;BR /&gt;vgchange -a y /dev/sharedvgNEW. &lt;BR /&gt;I get error message as put on the previous post by me.&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Apr 2003 21:07:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942455#M709838</guid>
      <dc:creator>Karthik Narayanan_4</dc:creator>
      <dc:date>2003-04-02T21:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942456#M709839</link>
      <description>If SG is down (EVERYTHING)&lt;BR /&gt;&lt;BR /&gt;vgchange -a y sharedvg&lt;BR /&gt;&lt;BR /&gt;REMEMBER, you will be doing this outside of SG, so if you fix the problem you will need to stop package processes, unmount filesystems &amp;amp; de-activate sharedvg (possibly remove shared memory segments if left lying 'round !!!)&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 02 Apr 2003 21:09:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942456#M709839</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-04-02T21:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942457#M709840</link>
      <description>If SG is down (EVERYTHING)&lt;BR /&gt;&lt;BR /&gt;vgchange -a y sharedvg&lt;BR /&gt;&lt;BR /&gt;REMEMBER, you will be doing this outside of SG, so if you fix the problem you will need to stop package processes, unmount filesystems &amp;amp; de-activate sharedvg (possibly remove shared memory segments if left lying 'round !!!) Before starting SG again.&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 02 Apr 2003 21:10:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942457#M709840</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-04-02T21:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942458#M709841</link>
      <description>Try &lt;BR /&gt;&lt;BR /&gt;vgchange -c n /dev/sharedvg to deactivate &lt;BR /&gt;&lt;BR /&gt;vgchange -c y /dev/sharedvg to activate the VG.&lt;BR /&gt;&lt;BR /&gt;Do not use -a option.&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Wed, 02 Apr 2003 21:11:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942458#M709841</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-04-02T21:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942459#M709842</link>
      <description>SAM!!! The answer is right there.&lt;BR /&gt;&lt;BR /&gt;Try creating it manually and see.&lt;BR /&gt;&lt;BR /&gt;1. mkdir /dev/sharedvg&lt;BR /&gt;2. mknod /dev/sharedvg/group c 64 0x050000&lt;BR /&gt;3. vgcreate /dev/sharedvg /dev/dsk/c4t9d0&lt;BR /&gt;4. vgchange -a n sharedvg (deactivate)&lt;BR /&gt;5. vgchange -a y sharedvg (activate)&lt;BR /&gt;&lt;BR /&gt;Export/import it on the secondary node and do the same excersize.&lt;BR /&gt;&lt;BR /&gt;I do not use SAM almost for everything.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Apr 2003 21:14:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942459#M709842</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-04-02T21:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942460#M709843</link>
      <description>Appologies for the multiple replies...&lt;BR /&gt;&lt;BR /&gt;Unless I've misunderstood you, I think you've just deleted all your data!!!&lt;BR /&gt;&lt;BR /&gt;sharedvg should be available to BOTH node1 &amp;amp; node2 simultanously (though only one will be able to use it at any one point).&lt;BR /&gt;&lt;BR /&gt;If you have sharedvg on node1 correctly &amp;amp; you want get node2 to see it&lt;BR /&gt;&lt;BR /&gt;on node1&lt;BR /&gt;# vgexport -m /tmp/sharedvg.map -s -p -v sharedvg&lt;BR /&gt;# rcp /tmp/sharedvg.map node2:/tmp&lt;BR /&gt;&lt;BR /&gt;on node2&lt;BR /&gt;# mkdir /dev/sharedvg&lt;BR /&gt;# mknod /dev/sharedvg/group c 64 0x??0000&lt;BR /&gt;# vgimport -m /tmp/sharedvg.map -s -v sharedvg&lt;BR /&gt;&lt;BR /&gt;Check node2 is fine&lt;BR /&gt;# vgchange -a r sharedvg (read-only)&lt;BR /&gt;# vgdisplay -v sharedvg&lt;BR /&gt;# vgdisplay -a n sharedvg&lt;BR /&gt;&lt;BR /&gt;NOTE NO pvcreate, this splats the header of your disk effectiely deleting ALL the data on it!!!&lt;BR /&gt;&lt;BR /&gt;Quick 101 on LVM...&lt;BR /&gt;LVM writes itself into the VGRA &amp;amp; VGDB on the disks, the DISKS KNOW what volume group it belongs to &amp;amp; what logical volumes (nameless) it has, what size each LV &amp;amp; how many disks in VG. The LV names &amp;amp; VG names are translated from numbers on disk into names via HP-UX/LVM/Kernel (e.g. 64 0x000001 is /dev/vg00/lvol1, and can be viewed by ls -l /dev/vg00!!).&lt;BR /&gt;&lt;BR /&gt;pvcreate deletes this data held on the disk and hence the data is now unavailable.&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 02 Apr 2003 21:26:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942460#M709843</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-04-02T21:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942461#M709844</link>
      <description>Hi Friends, &lt;BR /&gt;Thanks for your help. Everything seems to work now.. &lt;BR /&gt;I really dont have anything on the VG. Thats why I did pvcreate. &lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;NK&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Apr 2003 21:49:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/volume-group/m-p/2942461#M709844</guid>
      <dc:creator>Karthik Narayanan_4</dc:creator>
      <dc:date>2003-04-02T21:49:00Z</dc:date>
    </item>
  </channel>
</rss>

