<?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: Extending a vg in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450578#M208740</link>
    <description>Hi &lt;BR /&gt;  One more this i didn't find any directory in the name of my vg inside /dev  (which iam going to extend)on the serverB.the vg is controlled by cluster .And i thnk the cluster is tested already.is itrequired to use mkdir &amp;amp; mknod</description>
    <pubDate>Mon, 27 Dec 2004 07:20:11 GMT</pubDate>
    <dc:creator>kamal_9</dc:creator>
    <dc:date>2004-12-27T07:20:11Z</dc:date>
    <item>
      <title>Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450563#M208725</link>
      <description>Hi All&lt;BR /&gt;       Wish u all a very happy christmas and newyear&lt;BR /&gt;I hav created a lun in the casa .using commandviewsdm.Now i want to extend a vg to the lun thru ioscan iam getting that lan as c20t3d4.and sfter that i want to extend the one of the lv inside that vg .Iam using 2 node cluster .and iam not having online JFS.Pls tell me wht are teh precaution that i shouls take .wht are the steps i should follow&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2004 02:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450563#M208725</guid>
      <dc:creator>kamal_9</dc:creator>
      <dc:date>2004-12-27T02:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450564#M208726</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Now i assume you want to extend an lvol ( since you mentioned you do not have olinejfs)&lt;BR /&gt;Online&lt;BR /&gt;pvcreate /dev/rdsk/c20t3d4&lt;BR /&gt;vgextend /dev/vgname /dev/dsk/c20t3d4&lt;BR /&gt;Disk is now added to volumegroup.&lt;BR /&gt;Online:&lt;BR /&gt;lvextend -L &lt;NEW size="" in="" mb=""&gt; /dev/vgname/lvol&lt;BR /&gt;&lt;BR /&gt;Offline&lt;BR /&gt;Make sure you have a good backup ( Not that you will need it...)&lt;BR /&gt;umount mountpoint&lt;BR /&gt;extendfs /dev/vgname/lvol&lt;BR /&gt;mount  /dev/vgname/lvol mountpoint&lt;BR /&gt;&lt;BR /&gt;If you only extend an lvol you do not need to distribute it to the other nodes. If you add an lvol you will.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt;PS. I would consider bying OnlineJFS since you have clustersoftware active. &lt;BR /&gt;&lt;BR /&gt;&lt;/NEW&gt;</description>
      <pubDate>Mon, 27 Dec 2004 03:00:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450564#M208726</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-12-27T03:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450565#M208727</link>
      <description>Hi &lt;BR /&gt;  Iam using Lun.One more thing iwant to specify the alternative path for the lun which iam adding to that vg.&lt;BR /&gt;For eg the same Lun is showing in ioscan as &lt;BR /&gt;System A :-&lt;BR /&gt;           c20t4d4&lt;BR /&gt;system b :-&lt;BR /&gt;           c25t8d4&lt;BR /&gt;now for eg in in systemA i will do the pvcreate /dev/rdsk/c20t4d4&lt;BR /&gt;vgextend...&lt;BR /&gt;lvextend...&lt;BR /&gt;now in systemB the path is diff .i want to specify that path has alt path .can u tell me how to do that .If iam wrong wht is the procedure to do the alt path.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2004 03:16:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450565#M208727</guid>
      <dc:creator>kamal_9</dc:creator>
      <dc:date>2004-12-27T03:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450566#M208728</link>
      <description>If you have cXtYdZ as primary path and cUtVdW as alternate path, vgextend your vg on the two path will add both primary and alternate :&lt;BR /&gt;vgextend vgXX /dev/dsk/cXtYdZ # adds primary&lt;BR /&gt;vgextend vgXX /dev/dsk/cUtVdW # adds alternate&lt;BR /&gt;The second vgextend will be automatically detected as an alternate path.&lt;BR /&gt;&lt;BR /&gt;Once this is done, do not deal with alternate anymore. Specify lvextend with only primary path. If, in some future, the primary fails, lvol will be addressed using alternate without any action needed.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2004 03:32:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450566#M208728</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-12-27T03:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450567#M208729</link>
      <description>Hi Kamal,&lt;BR /&gt;&lt;BR /&gt;I made an mistake. Since you extended the vg with a diskyou do need to distribute the vgconfig to all the nodes. &lt;BR /&gt;Steps could be:&lt;BR /&gt;&lt;BR /&gt;Node a:&lt;BR /&gt;vgextend  etc.&lt;BR /&gt;at the end:&lt;BR /&gt;&lt;BR /&gt;vgexport -p -v  -m /tmp/vgname_mapfile -f /tmp/vgname.devfile vgname&lt;BR /&gt;&lt;BR /&gt;( The -p only creates the files and does not remove the vg)&lt;BR /&gt;&lt;BR /&gt;copy those files to node B. ( rcp -p /tmp/vgname.* nodeB:/tmp)&lt;BR /&gt;On node B:&lt;BR /&gt;&lt;BR /&gt;ll /dev/vgname&lt;BR /&gt;(mind the minor number)&lt;BR /&gt;vgexport vgname &lt;BR /&gt;mkdir /dev/vgname &lt;BR /&gt;mknod /dev/vgname/group c 64 0x(number)&lt;BR /&gt;alter the device file on to c25 in the /tmp/vgname.devfile)&lt;BR /&gt;vgimport -m /tmp/*.mapfile -f *.devfile vgname&lt;BR /&gt;vgchange -a r /dev/vgname&lt;BR /&gt;vgcfgbackup /dev/vgname&lt;BR /&gt;vgchange -a n /dev/vgname&lt;BR /&gt;&lt;BR /&gt;The alternate paths can be added by &lt;BR /&gt;vgextend /dev/vgname /dev/dsk/c?t?d?&lt;BR /&gt;HPUX will know it is an alternate since the numbers it writes on the disk (pvcreate) are identical.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;mknod /dev/ngname/group&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2004 03:32:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450567#M208729</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-12-27T03:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450568#M208730</link>
      <description>Hi Kamal,&lt;BR /&gt;&lt;BR /&gt;Primary and Alternate path comes in picture only when your Server is connected to Storage box with two different link using two HBA's.&lt;BR /&gt;ON a single server you will be able to see two entries for the same LUN. One is treated as primary and other one as alternate. That particular lun can be accessed by that server through any of those PATHS. This is done to achive no single point of failure. Now using the SDM you can select that particular LUN and change alternate to primary and vice versa.&lt;BR /&gt;&lt;BR /&gt;Changing alternate PATHS to primary one distributes the load on both the HBA's equally thereby giving best performance along with redudansy and no single point of failure.&lt;BR /&gt;&lt;BR /&gt;Hope that helps,&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2004 03:38:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450568#M208730</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-12-27T03:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450569#M208731</link>
      <description>Hi all&lt;BR /&gt;      Thanks for your replay.Do i need to halt the package .if i halt the package the vg will get deactivated then i may not able to do the vgextend etc ,Or just umount the file system will do .&lt;BR /&gt;Thanks&lt;BR /&gt;Kamal</description>
      <pubDate>Mon, 27 Dec 2004 05:25:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450569#M208731</guid>
      <dc:creator>kamal_9</dc:creator>
      <dc:date>2004-12-27T05:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450570#M208732</link>
      <description>Hi Kamal,&lt;BR /&gt;Yes you will have to halt the package becuase your filesystem will be unavailable during the period.&lt;BR /&gt;&lt;BR /&gt;After halting the package do:&lt;BR /&gt;&lt;BR /&gt;1. vgchange -c n vgxx&lt;BR /&gt;2. vgchange -a y vgxx&lt;BR /&gt;&lt;BR /&gt;And then extend the vg as told earlier.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2004 05:31:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450570#M208732</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-12-27T05:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450571#M208733</link>
      <description>Hi Gideon&lt;BR /&gt;         wht is this line for .&lt;BR /&gt;alter the device file on to c25 in the /tmp/vgname.devfile)&lt;BR /&gt;Thanks&lt;BR /&gt;Kamal&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2004 05:47:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450571#M208733</guid>
      <dc:creator>kamal_9</dc:creator>
      <dc:date>2004-12-27T05:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450572#M208734</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Technically the package does not have to be halted, but since the changes are that you will not be able to umount the filesystem when the package is active to enlardge the filesystem. So Mr. Bharat solution is right.&lt;BR /&gt;If you are able to stop all processes on the lvol just an umount of the lvol is enough to enlardge it. The fuser command could be of use.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Mon, 27 Dec 2004 05:48:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450572#M208734</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-12-27T05:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450573#M208735</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The device file contains a string on server a like:&lt;BR /&gt;c20t3d4&lt;BR /&gt;&lt;BR /&gt;on server B that same disk is&lt;BR /&gt;c25t8d4&lt;BR /&gt;if i understand you correct.  &lt;BR /&gt;&lt;BR /&gt;So to do a vgimport using a device file (vgname.devfile)&lt;BR /&gt;you have to specify the same disk for server B. &lt;BR /&gt;What i ment to say is make sure the device file for LUNX on serverA is translated to the same device file for LUNX on serverB.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Mon, 27 Dec 2004 05:55:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450573#M208735</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-12-27T05:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450574#M208736</link>
      <description>Hi Kamal,&lt;BR /&gt;&lt;BR /&gt;Actually when u say :&lt;BR /&gt;System A :-&lt;BR /&gt;c20t4d4&lt;BR /&gt;system b :-&lt;BR /&gt;c25t8d4&lt;BR /&gt;&lt;BR /&gt;This has nothing to do with alternate primary path.&lt;BR /&gt;&lt;BR /&gt;Well from server A it is sitting on COntroller instance 20 and in System B on 25.&lt;BR /&gt;&lt;BR /&gt;In this case what you can do is just use vgexport -p on Server A, create map file srvA.map and then ftp this file to ServerB.&lt;BR /&gt;&lt;BR /&gt;On serverB &lt;BR /&gt;&lt;BR /&gt;vgimport -s -v -m srvA.map /dev/dsk/c25t8d4&lt;BR /&gt;&lt;BR /&gt;This will do the needful.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;Regards,</description>
      <pubDate>Mon, 27 Dec 2004 05:57:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450574#M208736</guid>
      <dc:creator>Girish_17</dc:creator>
      <dc:date>2004-12-27T05:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450575#M208737</link>
      <description>Hi,&lt;BR /&gt;In that case what you can do is:&lt;BR /&gt;&lt;BR /&gt;1. On Server A&lt;BR /&gt;# vgexport -p -s -v -m vgxx.map vgxx&lt;BR /&gt;2. ftp this vgxx.map to server B&lt;BR /&gt;3. On serverB &lt;BR /&gt;# mkdir /dev/vgxx&lt;BR /&gt;# mknod /dev/vgxx/group c 64 &lt;SAME minor="" no.="" as="" on="" servera="" for="" vgxx=""&gt;&lt;BR /&gt;# vgimport -s -v -m vgxx.map vgxx /dev/dsk/c25t8d4&lt;BR /&gt;&lt;BR /&gt;This should do the trick.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;/SAME&gt;</description>
      <pubDate>Mon, 27 Dec 2004 06:04:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450575#M208737</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-12-27T06:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450576#M208738</link>
      <description>Hi all&lt;BR /&gt;        Thanks for your replay &lt;BR /&gt;Iam attaching the file which iam going to do &lt;BR /&gt;pls correct me iam wrong &lt;BR /&gt;For Bharat&lt;BR /&gt;# vgimport -s -v -m vgxx.map vgxx /dev/dsk/c25t8d4&lt;BR /&gt;&lt;BR /&gt;if i gave like this will it import all the vginf to this particular disk or it will just add this pv to that vg .because already iam having 2 pv's in tha vg &lt;BR /&gt;or should i give like this &lt;BR /&gt;vgimport -s -v -m vgxx.map /dev/dsk/c25t2d1 /dev/c25t3d5 /dev/c25t8d4 Correct me if iam wrong &lt;BR /&gt;Thanks&lt;BR /&gt;Kamal&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2004 06:20:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450576#M208738</guid>
      <dc:creator>kamal_9</dc:creator>
      <dc:date>2004-12-27T06:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450577#M208739</link>
      <description>Hi Kamal,&lt;BR /&gt;You are absolutely correct ... i was just assuming that you only have one PV.&lt;BR /&gt;&lt;BR /&gt;# vgimport -s -v -m vgxx.map /dev/dsk/c25t2d1 /dev/c25t3d5 /dev/c25t8d4  &lt;BR /&gt;&lt;BR /&gt;vgxx on server A should have this PV's.&lt;BR /&gt;Basically you should be able to point out the same LUN's what are been used on A. Accordingly you can change the names while importing but you should be sure that these are ones attached with the said VG.&lt;BR /&gt;&lt;BR /&gt;All the best.&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2004 06:34:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450577#M208739</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-12-27T06:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450578#M208740</link>
      <description>Hi &lt;BR /&gt;  One more this i didn't find any directory in the name of my vg inside /dev  (which iam going to extend)on the serverB.the vg is controlled by cluster .And i thnk the cluster is tested already.is itrequired to use mkdir &amp;amp; mknod</description>
      <pubDate>Mon, 27 Dec 2004 07:20:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450578#M208740</guid>
      <dc:creator>kamal_9</dc:creator>
      <dc:date>2004-12-27T07:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450579#M208741</link>
      <description>Hi Kamal,&lt;BR /&gt;If it was already an part of cluster and if server B was suppose be a failover node for your package then that directory must exist. &lt;BR /&gt;Did you do "vgexport vgxx" on server B??&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2004 07:49:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450579#M208741</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-12-27T07:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450580#M208742</link>
      <description>Hi &lt;BR /&gt;  How to see that volume is under cluster control or not .it tried doing more to the pakage cntl file .in that no entries are thr for my vg which iam going to extend ,but entries r thr for other vg&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2004 08:02:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450580#M208742</guid>
      <dc:creator>kamal_9</dc:creator>
      <dc:date>2004-12-27T08:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Extending a vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450581#M208743</link>
      <description>If mount point is part of MC/SG package, mount order should be in package script and not in /etc/fstab. Package_script should be in /etc/cmcluster/package_name/package_name.sh or something like that.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2004 08:45:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-a-vg/m-p/3450581#M208743</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-12-27T08:45:23Z</dc:date>
    </item>
  </channel>
</rss>

