<?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: vg extend in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708437#M668151</link>
    <description>Hi Seenivasan,&lt;BR /&gt;&lt;BR /&gt;  Please note; Vgexport and vgimport is applicable only if a new pv is used (as suggested by RK above).&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jayakrishnan G Naik</description>
    <pubDate>Wed, 03 Nov 2010 05:17:39 GMT</pubDate>
    <dc:creator>Jayakrishnan G Naik</dc:creator>
    <dc:date>2010-11-03T05:17:39Z</dc:date>
    <item>
      <title>vg extend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708433#M668147</link>
      <description>Dear team,&lt;BR /&gt;&lt;BR /&gt;our server is running with mc/sg.the shared lv is going to full so i need to extend the lv in the servers.how can i extend the lv in cluster?where i need to enter the lv details in sg?could you any one help me?</description>
      <pubDate>Wed, 03 Nov 2010 04:38:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708433#M668147</guid>
      <dc:creator>seenivasan</dc:creator>
      <dc:date>2010-11-03T04:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: vg extend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708434#M668148</link>
      <description>Hello Seenivasan,&lt;BR /&gt;&lt;BR /&gt;If you have space in that VG, you can simply do a lvextend followed by fsadm (OnlineJFS) on active node. That is all. Nothing is required to be done on other nodes.&lt;BR /&gt;&lt;BR /&gt;If onlineJfs is not present then you have to unmount the file system (downtime).&lt;BR /&gt;&lt;BR /&gt;Regds..</description>
      <pubDate>Wed, 03 Nov 2010 05:09:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708434#M668148</guid>
      <dc:creator>R.K. #</dc:creator>
      <dc:date>2010-11-03T05:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: vg extend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708435#M668149</link>
      <description>Well without Online JFS, you will have to unmount the file system(s), so down time is a must! &lt;BR /&gt;&lt;BR /&gt;So, you need to do something like: &lt;BR /&gt;1) cmhaltpkg &lt;PKG_NAME&gt; &lt;BR /&gt;2) vgchange -a e &lt;VG_NAME&gt; &lt;BR /&gt;3) lvextend (to the size you want) &lt;LVOLNAME&gt; &lt;BR /&gt;4) extendfs &lt;LVOLNAME&gt; &lt;BR /&gt;5) mount &lt;LVOLNAME&gt; &lt;/LVOLNAME&gt; &lt;BR /&gt;6) Use bdf to check the file sstem is now the size you need &lt;BR /&gt;7) umount &lt;/LVOLNAME&gt; &lt;BR /&gt;8) vgchange -a n &lt;VG_NAME&gt; &lt;BR /&gt;9) cmrunpkg &lt;PKG_NAME&gt; &lt;BR /&gt;10) cmmodpkg -e &lt;PKG_NAME&gt; &lt;BR /&gt;&lt;BR /&gt;Please assign points each of us.&lt;BR /&gt;Regards,&lt;BR /&gt;Ani&lt;/PKG_NAME&gt;&lt;/PKG_NAME&gt;&lt;/VG_NAME&gt;&lt;/LVOLNAME&gt;&lt;/VG_NAME&gt;&lt;/PKG_NAME&gt;</description>
      <pubDate>Wed, 03 Nov 2010 05:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708435#M668149</guid>
      <dc:creator>ani007</dc:creator>
      <dc:date>2010-11-03T05:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: vg extend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708436#M668150</link>
      <description>Hi Seenivasan&lt;BR /&gt;&lt;BR /&gt;Step 1) If there are no enough free extends, you need to get a new pv  (disk or lun from the storage- depending on your env)Once PV is available then do the following steps . If you have enough space in your vg Start with step 2.&lt;BR /&gt;&lt;BR /&gt;# pvcrerate /dev/rdsk/cxtxdx (New PV)&lt;BR /&gt;&lt;BR /&gt;# vgextend vgname /dev/dsk/cxtxdx&lt;BR /&gt;&lt;BR /&gt;# vgdisplay vgname &lt;BR /&gt;to see the added free extends.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Step 2) Please check whether you have enough free extends in your vg. If available you can direcly use lvextend to extend the filesystems.  &lt;BR /&gt;&lt;BR /&gt;# vgdisplay vgname&lt;BR /&gt;&lt;BR /&gt;# lvextend -L XXXXM  /dev/vgname/lvname&lt;BR /&gt;XXXXM stands for the size in Mb&lt;BR /&gt;&lt;BR /&gt;Step 3) Further steps depend o the availability of online JFS. If online jfs not available follow the steps below. If online JFS is available skip to step 4 :&lt;BR /&gt;&lt;BR /&gt;unmount the filesystem ( may need the related application to be shutdown first.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# umount /app&lt;BR /&gt;&lt;BR /&gt;# extendfs  /dev/vgname/lvname&lt;BR /&gt;&lt;BR /&gt;# mount /dev/vgname/lvname  /app.&lt;BR /&gt;&lt;BR /&gt;Step 4) If online JFS is available skip the above step "3", then follow the steps below.&lt;BR /&gt;&lt;BR /&gt;# fsadm -F vxfs -b XXXXM /mnt_point &lt;BR /&gt;&lt;BR /&gt;XXXXm stands for the size in MB and using the M/G is a must while using -b , if not used it will take the value as Kb (default)&lt;BR /&gt;&lt;BR /&gt;Step 5) Once the filesystem is extended, vg changes should be replicated to other cluster node.&lt;BR /&gt;&lt;BR /&gt;Create the map file in preview mode&lt;BR /&gt;&lt;BR /&gt;vgexport -p -v -s -m vgname.map /dev/vgname&lt;BR /&gt;&lt;BR /&gt;Step 6) copy it to the other node. you may need to remove and recreate the vg information on the other node where the vg is inactive.&lt;BR /&gt;&lt;BR /&gt;# scp vgname.map user@clusternode2:/tmp&lt;BR /&gt;&lt;BR /&gt;on other node&lt;BR /&gt;# vgexport /dev/vgname&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vgname; mknode /dev/vgname/group c 64 0x0X0000 &lt;BR /&gt;( 0X0000: use the same minor number as in the other cluster node)&lt;BR /&gt;&lt;BR /&gt;# vgimport -v -s -m /tmp/vgname.map /dev/vgname&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jayakrishnan G Naik</description>
      <pubDate>Wed, 03 Nov 2010 05:12:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708436#M668150</guid>
      <dc:creator>Jayakrishnan G Naik</dc:creator>
      <dc:date>2010-11-03T05:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: vg extend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708437#M668151</link>
      <description>Hi Seenivasan,&lt;BR /&gt;&lt;BR /&gt;  Please note; Vgexport and vgimport is applicable only if a new pv is used (as suggested by RK above).&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jayakrishnan G Naik</description>
      <pubDate>Wed, 03 Nov 2010 05:17:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708437#M668151</guid>
      <dc:creator>Jayakrishnan G Naik</dc:creator>
      <dc:date>2010-11-03T05:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: vg extend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708438#M668152</link>
      <description>Dear ,&lt;BR /&gt;&lt;BR /&gt;we need to add the any entries in the cluster conf file or some where else?</description>
      <pubDate>Wed, 03 Nov 2010 06:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708438#M668152</guid>
      <dc:creator>seenivasan</dc:creator>
      <dc:date>2010-11-03T06:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: vg extend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708439#M668153</link>
      <description>Hi&lt;BR /&gt;  &lt;BR /&gt;   Nothing to add/modify cluster config files.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jayakrishnan G Naik&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Nov 2010 06:25:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708439#M668153</guid>
      <dc:creator>Jayakrishnan G Naik</dc:creator>
      <dc:date>2010-11-03T06:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: vg extend</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708440#M668154</link>
      <description>As far as Serviceguard is concerned, the only references to volume groups and logical volumes are in the cluster ASCII configuration file (VG only), and the package configuration file (modular format) or package control script (legacy format) (VG and LV), however none of these files reference specific disks in volume groups.  &lt;BR /&gt;&lt;BR /&gt;Adding or removing a disk in an LVM volume group changes /etc/lvmtab on one node, but does not update other nodes.  For this reason, you must vgexport and vgimport the VG on the other nodes manually.&lt;BR /&gt;&lt;BR /&gt;Growing or shrinking a logical volume only changes the LVM metadata on-disk and does not affect any LVM files in a file system.  &lt;BR /&gt;&lt;BR /&gt;Growing a file system only changes the VxFS file system metadata on-disk.</description>
      <pubDate>Thu, 04 Nov 2010 11:15:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-extend/m-p/4708440#M668154</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2010-11-04T11:15:21Z</dc:date>
    </item>
  </channel>
</rss>

