<?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: lvm in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258939#M627307</link>
    <description>No, there in no way to change the Major number of the volumegroup (online)...&lt;BR /&gt;&lt;BR /&gt;As other have said, you will need to vgexport the vg - on the node that is running the package, create a map file:&lt;BR /&gt;&lt;BR /&gt;vgexport -v -p -s -m /tmp/vgXX.map /dev/vgXX&lt;BR /&gt;where XX is the name of your volume group...&lt;BR /&gt;&lt;BR /&gt;On the other node, blow away the vg, then recreate it:&lt;BR /&gt;&lt;BR /&gt;vgexport /dev/vgXX&lt;BR /&gt;mkdir /dev/vgXX&lt;BR /&gt;mknod /dev/vgXX/group c 64 0xHH0000&lt;BR /&gt;&lt;BR /&gt;XX is the vg name, and HH is the Hex number - make it the same as the /dev/vgXX/group from the node where you created the map file.  &lt;BR /&gt;&lt;BR /&gt;Put the map file from the node running the package on the other 2 nodes...then vgimport it:&lt;BR /&gt;&lt;BR /&gt;vgimport -v -s -m /tmp/vgXX.map /dev/vgXX&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 26 Apr 2004 08:19:28 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2004-04-26T08:19:28Z</dc:date>
    <item>
      <title>lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258932#M627300</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;We have a 3 node HP7405 cluster, with online jfs.&lt;BR /&gt;&lt;BR /&gt;The problem is that we have 2 volumegroups with the same Major number (on different nodes)&lt;BR /&gt;So, we can,t switch that package to the node where the same Major numbers are used.&lt;BR /&gt;&lt;BR /&gt;Is there a way to change the Major number of the volumegroup (online)?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thx for your response!</description>
      <pubDate>Mon, 26 Apr 2004 05:19:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258932#M627300</guid>
      <dc:creator>Hans Hendriks_1</dc:creator>
      <dc:date>2004-04-26T05:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258933#M627301</link>
      <description>Hans,&lt;BR /&gt;&lt;BR /&gt;You be able to vgexport the VG, then reimport it with a different minor number:&lt;BR /&gt;&lt;BR /&gt;vgexport -s -m /tmp/vg01map /dev/vg01&lt;BR /&gt;mkdir /dev/vg01&lt;BR /&gt;mknod /dev/vg01/group c64 0x??0000 &amp;lt;&amp;lt; ??=minor number&lt;BR /&gt;vgimport -s -m /tmp/vg01map /dev/vg01&lt;BR /&gt;vgchange -a y /dev/vg01&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 26 Apr 2004 05:24:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258933#M627301</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-04-26T05:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258934#M627302</link>
      <description>Hans,&lt;BR /&gt;I am no good in cluster but I think u should be talking of changing minor number as major number denotes the class of the device which point to a device driver.&lt;BR /&gt;&lt;BR /&gt;Minor number can be changed by a vgexport / vgimport .. As u have a cluster ,logically u should be able to do it online.. Let's wait for the giants to comment on how to ?&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Mon, 26 Apr 2004 06:18:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258934#M627302</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-04-26T06:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258935#M627303</link>
      <description>Sorry!I've not understood clearly.&lt;BR /&gt;&lt;BR /&gt;You have 2VGs addressed by the same couple on different nodes. &lt;BR /&gt;Do you use nfs to export nodes? &lt;BR /&gt;Which package do you have to switch?&lt;BR /&gt;I don't know any method to do that but the right question can be: "do you _really_ need to do that"? &lt;BR /&gt;&lt;BR /&gt;Peace, R.</description>
      <pubDate>Mon, 26 Apr 2004 06:25:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258935#M627303</guid>
      <dc:creator>Roberto Polli</dc:creator>
      <dc:date>2004-04-26T06:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258936#M627304</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You cant do that online. All that you can done is to move the pkg on an other node if as I think, the third node of your cluster is a failover node for the 2 others.  &lt;BR /&gt; But due to the time taken to switch the package on an other node, il will be faster to follow the steps given by PETE. But in all case, you have to stop the package.&lt;BR /&gt;&lt;BR /&gt;Johan</description>
      <pubDate>Mon, 26 Apr 2004 06:42:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258936#M627304</guid>
      <dc:creator>Johan Lorimier</dc:creator>
      <dc:date>2004-04-26T06:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258937#M627305</link>
      <description>No you can not do this online.&lt;BR /&gt;&lt;BR /&gt;By the way, the major number is always 64 &lt;BR /&gt;&lt;BR /&gt;Note: The major number is always 64, and the hexadecimal minor number has the form 0xhh0000, where hh must be unique to the volume group you are creating.  Use the same number as you used on other node.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000068402107" target="_blank"&gt;http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000068402107&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Document description: SG: loading the correct disks into the lvmtab file on the secondary node&lt;BR /&gt;Document id: A5843182&lt;BR /&gt;&lt;BR /&gt;You could check above doc for the necessary steps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 26 Apr 2004 06:44:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258937#M627305</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-04-26T06:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258938#M627306</link>
      <description>As I originally read the question, the steps I gave you are exactly the answer you need.  Judging from your point assignment, I must have misunderstood your question.  Could you elaborate just what it is you're asking, please?  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 26 Apr 2004 06:50:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258938#M627306</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-04-26T06:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: lvm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258939#M627307</link>
      <description>No, there in no way to change the Major number of the volumegroup (online)...&lt;BR /&gt;&lt;BR /&gt;As other have said, you will need to vgexport the vg - on the node that is running the package, create a map file:&lt;BR /&gt;&lt;BR /&gt;vgexport -v -p -s -m /tmp/vgXX.map /dev/vgXX&lt;BR /&gt;where XX is the name of your volume group...&lt;BR /&gt;&lt;BR /&gt;On the other node, blow away the vg, then recreate it:&lt;BR /&gt;&lt;BR /&gt;vgexport /dev/vgXX&lt;BR /&gt;mkdir /dev/vgXX&lt;BR /&gt;mknod /dev/vgXX/group c 64 0xHH0000&lt;BR /&gt;&lt;BR /&gt;XX is the vg name, and HH is the Hex number - make it the same as the /dev/vgXX/group from the node where you created the map file.  &lt;BR /&gt;&lt;BR /&gt;Put the map file from the node running the package on the other 2 nodes...then vgimport it:&lt;BR /&gt;&lt;BR /&gt;vgimport -v -s -m /tmp/vgXX.map /dev/vgXX&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Apr 2004 08:19:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/3258939#M627307</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-04-26T08:19:28Z</dc:date>
    </item>
  </channel>
</rss>

