<?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: Resizing LVMS in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/resizing-lvms/m-p/3333441#M189470</link>
    <description>John,&lt;BR /&gt;  I think you need to use "lvreduce" for reducing filesystem size, Also we can specify size in MB for fsadm&lt;BR /&gt;i.e. for resizing a filesystem to 500MB you can use&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b 500m &lt;MOUNT point=""&gt;&lt;BR /&gt;&lt;BR /&gt;-Raj&lt;/MOUNT&gt;</description>
    <pubDate>Mon, 19 Jul 2004 12:09:50 GMT</pubDate>
    <dc:creator>RAJESH GANGADHARAN</dc:creator>
    <dc:date>2004-07-19T12:09:50Z</dc:date>
    <item>
      <title>Resizing LVMS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resizing-lvms/m-p/3333437#M189466</link>
      <description>HI,&lt;BR /&gt;  I am having single disk with VXFS file system&lt;BR /&gt;  &lt;BR /&gt;   Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     516096  181104  332408   35% /&lt;BR /&gt;/dev/vg00/lvol1     311296   95408  214264   31% /stand&lt;BR /&gt;/dev/vg00/lvol8    4710400   91544 4582816    2% /var&lt;BR /&gt;/dev/vg00/lvol7    4194304 2029160 2148272   49% /usr&lt;BR /&gt;/dev/vg00/lvol4    2097152   30536 2050544    1% /tmp&lt;BR /&gt;/dev/vg00/lvol6    4194304 2901856 1282384   69% /opt&lt;BR /&gt;/dev/vg00/lvol9    5120000 1202041 3673098   25% /data1&lt;BR /&gt;/dev/vg00/lvol5    9011200   64488 8876872    1% /home&lt;BR /&gt;&lt;BR /&gt;I want to increase the size of /opt and reduce the size of /home&lt;BR /&gt;Please tell me how should I proceed and the easiest way to do the same.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;amit</description>
      <pubDate>Fri, 16 Jul 2004 05:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resizing-lvms/m-p/3333437#M189466</guid>
      <dc:creator>Amit Dixit_2</dc:creator>
      <dc:date>2004-07-16T05:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing LVMS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resizing-lvms/m-p/3333438#M189467</link>
      <description>If you have online JFS installed on your machine, you can do that online.&lt;BR /&gt;&lt;BR /&gt;swlist|grep -i JFS&lt;BR /&gt;&lt;BR /&gt;If you doo not have Online JFS installed, you will have to go to single user mode to do this. This is required because, in run level 3, there will be lot of processes accessing the /home and /opt.&lt;BR /&gt;&lt;BR /&gt;Once you are in single user mode, do as follows.&lt;BR /&gt;&lt;BR /&gt;umount /home&lt;BR /&gt;umount /opt&lt;BR /&gt;&lt;BR /&gt;lvextend -L "new_size_inMB" /dev/vg00/lvolx&lt;BR /&gt;extendfs -F vxfs /dev/vg00/lvolx&lt;BR /&gt;Mount and check the new sizes.&lt;BR /&gt;&lt;BR /&gt;Reboot&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 16 Jul 2004 06:26:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resizing-lvms/m-p/3333438#M189467</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-07-16T06:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing LVMS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resizing-lvms/m-p/3333439#M189468</link>
      <description>If you do no have On Line JFS you should:&lt;BR /&gt;&lt;BR /&gt;1) backup /home and /opt&lt;BR /&gt;&lt;BR /&gt;2) umount /home and /opt (you need to kill some process to umount /opt)&lt;BR /&gt;&lt;BR /&gt;3) lvremove /dev/vg00/lvol5 (home)&lt;BR /&gt;4) lvcreate -L "newsmallersize"  -n lvol5 vg00&lt;BR /&gt;&lt;BR /&gt;5) newfs  /dev/vg00/5lvol5&lt;BR /&gt;&lt;BR /&gt;6) lvextend -L "newlargersize" /dev/vg00/lvol6&lt;BR /&gt;&lt;BR /&gt;7) extendfs /dev/vg00/lvol6&lt;BR /&gt;&lt;BR /&gt;8) mount -a&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Francesco</description>
      <pubDate>Fri, 16 Jul 2004 06:33:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resizing-lvms/m-p/3333439#M189468</guid>
      <dc:creator>Francesco Campalastri</dc:creator>
      <dc:date>2004-07-16T06:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing LVMS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resizing-lvms/m-p/3333440#M189469</link>
      <description>If you have OnLine JFS, it is very ease to do, and you can do it without unmounting filesystems.&lt;BR /&gt;&lt;BR /&gt;To increase the file system:&lt;BR /&gt;&lt;BR /&gt;lvextend -L lv-size-in-MB /dev/vg00/lvol6&lt;BR /&gt;fsadm -b $((MB*1024)) /opt&lt;BR /&gt;&lt;BR /&gt;To reduce the file system:&lt;BR /&gt;&lt;BR /&gt;fsadm -b $((MB*1024)) /home&lt;BR /&gt;lvextend -L lv-size-in-MB  /dev/vg00/lvol5&lt;BR /&gt;&lt;BR /&gt;Note that when you use fsadm to shring a filesystem, you will receive a warning if any of the blocks are located in outside the new range, but fsadm will move these blocks.  So you won't loose data.  But, you should still backup the filesystems just in case.</description>
      <pubDate>Fri, 16 Jul 2004 09:45:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resizing-lvms/m-p/3333440#M189469</guid>
      <dc:creator>john kingsley</dc:creator>
      <dc:date>2004-07-16T09:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing LVMS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resizing-lvms/m-p/3333441#M189470</link>
      <description>John,&lt;BR /&gt;  I think you need to use "lvreduce" for reducing filesystem size, Also we can specify size in MB for fsadm&lt;BR /&gt;i.e. for resizing a filesystem to 500MB you can use&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b 500m &lt;MOUNT point=""&gt;&lt;BR /&gt;&lt;BR /&gt;-Raj&lt;/MOUNT&gt;</description>
      <pubDate>Mon, 19 Jul 2004 12:09:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resizing-lvms/m-p/3333441#M189470</guid>
      <dc:creator>RAJESH GANGADHARAN</dc:creator>
      <dc:date>2004-07-19T12:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Resizing LVMS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/resizing-lvms/m-p/3333442#M189471</link>
      <description>I would do the reduce on /home first so you know exactly what amount of space you have left.&lt;BR /&gt;&lt;BR /&gt;Also, I would take a look at your other filesystems incase you need to increase them as well.. &lt;BR /&gt;&lt;BR /&gt;Especially IF you will have to go to single user mode to do this..&lt;BR /&gt;&lt;BR /&gt;So long as you backup /home you can merely resize it as the last poster mentioned with Fsadm... that is if you have OnlineJFS loaded and licensed...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;One housekeeping thing... I would try to move /home and /data1 off the vg00. It will save you some headaches later if your App ever goes haywire and then it wont be at risk of harming vg00.&lt;BR /&gt;&lt;BR /&gt;I even go so far as to have /tmp on a different LVOL</description>
      <pubDate>Mon, 19 Jul 2004 13:53:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/resizing-lvms/m-p/3333442#M189471</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-07-19T13:53:15Z</dc:date>
    </item>
  </channel>
</rss>

