<?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: using &amp;quot;lvresize, lvextend and lvreduce&amp;quot; in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380700#M348577</link>
    <description>&lt;BR /&gt;Hi Senthil,&lt;BR /&gt;&lt;BR /&gt;You can check below link for details for lvextend, lvreduce as follows&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90691/lvextend.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90691/lvextend.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds//&lt;BR /&gt;Taifur</description>
    <pubDate>Tue, 17 Mar 2009 07:15:51 GMT</pubDate>
    <dc:creator>Taifur</dc:creator>
    <dc:date>2009-03-17T07:15:51Z</dc:date>
    <item>
      <title>using "lvresize, lvextend and lvreduce"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380699#M348576</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;  I want more information about these commands&lt;BR /&gt;&lt;BR /&gt; 1) is "lvresize" is used to increase / decrease the Logical volume size?&lt;BR /&gt;    &lt;BR /&gt; 2) lvexted is extending the size of logical volume.&lt;BR /&gt;&lt;BR /&gt; 3) lvreduce is reducing the size of logical volume.&lt;BR /&gt;&lt;BR /&gt; 4) is it possible to reduce the size. If yes, then how much size we can reduce in a single logical volume.&lt;BR /&gt;&lt;BR /&gt; 5) do we have to excute this command "# extendfs /dev/vg00/rlvol1" whenever we are using above commands.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 07:06:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380699#M348576</guid>
      <dc:creator>senthil_kumar_1</dc:creator>
      <dc:date>2009-03-17T07:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: using "lvresize, lvextend and lvreduce"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380700#M348577</link>
      <description>&lt;BR /&gt;Hi Senthil,&lt;BR /&gt;&lt;BR /&gt;You can check below link for details for lvextend, lvreduce as follows&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90691/lvextend.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90691/lvextend.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds//&lt;BR /&gt;Taifur</description>
      <pubDate>Tue, 17 Mar 2009 07:15:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380700#M348577</guid>
      <dc:creator>Taifur</dc:creator>
      <dc:date>2009-03-17T07:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: using "lvresize, lvextend and lvreduce"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380701#M348578</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1) is "lvresize" is used to increase / decrease the Logical volume size?&lt;BR /&gt;&lt;BR /&gt;The lvresize does not exist on the HPUX platform.&lt;BR /&gt;&lt;BR /&gt;2) lvexted is extending the size of logical volume.&lt;BR /&gt;&lt;BR /&gt;Correct, there are two situations;&lt;BR /&gt;-1- if you have online JFS installed and you have license for online JFS, you can extend a lvol/filesystem online&lt;BR /&gt;-2- If you don not have online JFS installed, you need to umount the filesystem before you can extend it.&lt;BR /&gt;&lt;BR /&gt;3) lvreduce is reducing the size of logical volume.&lt;BR /&gt;&lt;BR /&gt;Correct again, same principal as above, keep in mind that if you use lvreduce you first need to defragment your filesystem.&lt;BR /&gt;&lt;BR /&gt;4) is it possible to reduce the size. If yes, then how much size we can reduce in a single logical volume.&lt;BR /&gt;&lt;BR /&gt;You can reduce the filesystem to the size currently being used in the filesystem.&lt;BR /&gt;&lt;BR /&gt;5) do we have to excute this command "# extendfs /dev/vg00/rlvol1" whenever we are using above commands.&lt;BR /&gt;&lt;BR /&gt;yes and no, the new command to change the size for the filesystem on the logical volume is fsadm, have a look at the man pages.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 17 Mar 2009 07:19:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380701#M348578</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2009-03-17T07:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: using "lvresize, lvextend and lvreduce"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380702#M348579</link>
      <description>Hi Senthil&lt;BR /&gt;&lt;BR /&gt;1) is "lvresize" is used to increase / decrease the Logical volume size?&lt;BR /&gt;&lt;BR /&gt;Ans : lvresize No Command in HP-UX &lt;BR /&gt;&lt;BR /&gt;2) lvexted is extending the size of logical volume.&lt;BR /&gt;&lt;BR /&gt;Ans : Yes, Lvextemd will extend the Logical Volume&lt;BR /&gt;&lt;BR /&gt;3) lvreduce is reducing the size of logical volume.&lt;BR /&gt;&lt;BR /&gt;Ans : Yes, Lvreduce will reduce Logical volume&lt;BR /&gt;&lt;BR /&gt;4) is it possible to reduce the size. If yes, then how much size we can reduce in a single logical volume.&lt;BR /&gt;&lt;BR /&gt;Ans : Yes, u can reduce the LV Size Depends on you how much u want to reduce&lt;BR /&gt;&lt;BR /&gt;5) do we have to excute this command "# extendfs /dev/vg00/rlvol1" whenever we are using above commands. &lt;BR /&gt;&lt;BR /&gt;Ans : extendfs if you are extending LV and not having ONLINE JFS installed, If ONLINE JFS is installed u can use fsadm&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sanjeev</description>
      <pubDate>Tue, 17 Mar 2009 07:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380702#M348579</guid>
      <dc:creator>Sharma Sanjeev</dc:creator>
      <dc:date>2009-03-17T07:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: using "lvresize, lvextend and lvreduce"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380703#M348580</link>
      <description>1)lvresize is being used in linux, not sure in hp-ux.&lt;BR /&gt;&lt;BR /&gt;2)lvextend used to increase the lv size.&lt;BR /&gt;the syntax would be;&lt;BR /&gt;&lt;BR /&gt;lvextend -l 500 /dev/vg01/lvol - Increase the number of the logical extents of a logical volume to 500&lt;BR /&gt;lvextend -L 500 /dev/vg01/lvol - Increase the logical volume size to 400 MB&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol /dev/dsk/cxtydz -  Mirror a logical volume onto a particular physical volume&lt;BR /&gt;&lt;BR /&gt;3)lvreduce used to  decrease space allocation or the number of mirror copies of logical volumes.&lt;BR /&gt;&lt;BR /&gt;the syntax is ,&lt;BR /&gt;&lt;BR /&gt;lvreduce -l 100 /dev/vg01/lvol7 - Decrease the number of the logical extents of a logical volume to 100.&lt;BR /&gt;lvreduce -m 1 /dev/vg01/lvol11  - Reduce to one mirror (that is, an original and one copy) for each logical extent of an LV.&lt;BR /&gt;&lt;BR /&gt;4)Please take a full backup o fthe filesystem before reducing.The minimum size of an LV is 0MB.&lt;BR /&gt;&lt;BR /&gt;5)After the lvextend; extendfs can be used to increase the capacity of a file system by updating the file system structure to&lt;BR /&gt;      &lt;BR /&gt;include the extra space.&lt;BR /&gt;&lt;BR /&gt;eg:-&lt;BR /&gt;&lt;BR /&gt;To increase the capacity of a file system created on a logical volume,enter,&lt;BR /&gt;          &lt;BR /&gt;umount /dev/vg00/lvol1&lt;BR /&gt;&lt;BR /&gt;lvextend -L larger_size /dev/vg00/lvol1&lt;BR /&gt;&lt;BR /&gt;extendfs -F hfs /dev/vg00/rlvol1&lt;BR /&gt;&lt;BR /&gt;mount /dev/vg00/lvol1 mount_directory</description>
      <pubDate>Tue, 17 Mar 2009 07:31:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380703#M348580</guid>
      <dc:creator>點燃</dc:creator>
      <dc:date>2009-03-17T07:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: using "lvresize, lvextend and lvreduce"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380704#M348581</link>
      <description>Hi Senthil,&lt;BR /&gt;Also have a look on this thread;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=874571" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=874571&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This is about increasing a filesystem online!</description>
      <pubDate>Tue, 17 Mar 2009 07:36:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380704#M348581</guid>
      <dc:creator>點燃</dc:creator>
      <dc:date>2009-03-17T07:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: using "lvresize, lvextend and lvreduce"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380705#M348582</link>
      <description>1) is "lvresize" is used to increase / decrease the Logical volume size?&lt;BR /&gt;&lt;BR /&gt;If I am not wrong "Its used in Linux" in HPUX "lvextend"&lt;BR /&gt;&lt;BR /&gt;2) lvexted is extending the size of logical volume.&lt;BR /&gt;&lt;BR /&gt;yes. steps to extending the logical volume &lt;BR /&gt;&lt;BR /&gt;1. check "Free space" to extend the "Logical volume" by using "vgdisplay" on which the Logical volume reside&lt;BR /&gt;&lt;BR /&gt;Free PE * PE Size = free space (MB)&lt;BR /&gt;&lt;BR /&gt;2. lvextend -L 1000 /dev/vgxx/lvolxx&lt;BR /&gt;3. fsadm -F vxfs -b 1000M /&lt;MOUNT_POINT&gt;&lt;BR /&gt;&lt;BR /&gt;if you d'not have online -Jfs " you need umount the &lt;MOUNT_POINT&gt;&lt;BR /&gt;&lt;BR /&gt;# extendfs -F vxfs /dev/vgxx/rlvolxx&lt;BR /&gt;# mount -a&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3) lvreduce is reducing the size of logical volume.&lt;BR /&gt;&lt;BR /&gt;Yes, &lt;BR /&gt;&lt;BR /&gt;you need to do "defragmetation" and than only "you can "lvreduce"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4) is it possible to reduce the size. If yes, then how much size we can reduce in a single logical volume.&lt;BR /&gt;&lt;BR /&gt;size "depends" how much you want to resize" &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/6054/LVM_Limits_White_Paper_V4.pdf" target="_blank"&gt;http://docs.hp.com/en/6054/LVM_Limits_White_Paper_V4.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;5) do we have to excute this command "# extendfs /dev/vg00/rlvol1" whenever we are using above commands.&lt;BR /&gt;&lt;BR /&gt;Check the Answer for Question (2)&lt;BR /&gt;&lt;BR /&gt;Thans,&lt;BR /&gt;Johnson&lt;/MOUNT_POINT&gt;&lt;/MOUNT_POINT&gt;</description>
      <pubDate>Tue, 17 Mar 2009 07:40:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380705#M348582</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-03-17T07:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: using "lvresize, lvextend and lvreduce"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380706#M348583</link>
      <description>Hi Senthil,&lt;BR /&gt;&lt;BR /&gt;1) is "lvresize" is used to increase / decrease the Logical volume size?&lt;BR /&gt;&lt;BR /&gt;Ans:- As above answer.&lt;BR /&gt;&lt;BR /&gt;2) lvexted is extending the size of logical volume.&lt;BR /&gt;&lt;BR /&gt;Ans:- Yes lvextend will increase lv size,and you can extend the lv online in one situation if you have online JFS on ur server,&lt;BR /&gt;&lt;BR /&gt;but befor that u have to check the free size&lt;BR /&gt;&lt;BR /&gt;enter this command,&lt;BR /&gt;#vgdisplay with vgname&lt;BR /&gt;then calculate &lt;BR /&gt;#bc&lt;BR /&gt;#PE size* free PE //size will be in mb&lt;BR /&gt;&lt;BR /&gt;lvextend -l 500 /dev/vg01/lvol &lt;BR /&gt;&lt;BR /&gt;if u r using -l it will increase the logical extents, le is a pointer in kernel to PE. &lt;BR /&gt;&lt;BR /&gt;lvextend -L 500 /dev/vg01/lvol &lt;BR /&gt;&lt;BR /&gt;-L will increse the lv size and size will be in mb, u can calculate it from this link&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://egret.net/kb__mb.htm" target="_blank"&gt;http://egret.net/kb__mb.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and after that you have to increase ur fs&lt;BR /&gt;fsadm -F vxfs -b size(in kb) mount point&lt;BR /&gt;&lt;BR /&gt;if you d'not have online JFS you need umount the filesystem &lt;BR /&gt;#unmount &lt;MOUNT point=""&gt;&lt;BR /&gt;# extendfs -F vxfs /dev/vgxx/rlvolxx&lt;BR /&gt;# mount -a&lt;BR /&gt;&lt;BR /&gt;3) lvreduce is reducing the size of logical volume.&lt;BR /&gt;&lt;BR /&gt;Ans.Yes&lt;BR /&gt;&lt;BR /&gt;4) is it possible to reduce the size. If yes, then how much size we can reduce in a single logical volume.&lt;BR /&gt;&lt;BR /&gt;Ans. According to ur fs size, u can reduce.&lt;BR /&gt;&lt;BR /&gt;5) do we have to excute this command "# extendfs /dev/vg00/rlvol1" whenever we are using above commands.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ans. If u did not have online JFS.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rahul Rai&lt;BR /&gt;&lt;BR /&gt;&lt;/MOUNT&gt;</description>
      <pubDate>Wed, 18 Mar 2009 14:48:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-quot-lvresize-lvextend-and-lvreduce-quot/m-p/4380706#M348583</guid>
      <dc:creator>Rahul Rai_1</dc:creator>
      <dc:date>2009-03-18T14:48:28Z</dc:date>
    </item>
  </channel>
</rss>

