<?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: increase var in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932926#M111990</link>
    <description>Hi Robert:&lt;BR /&gt;&lt;BR /&gt;If you don't have OnlineJFS, then you need to shutdown your server and boot into single user mode where '/var' and '/usr' aren't mounted.&lt;BR /&gt;&lt;BR /&gt;Next, use 'lvextend' to enlarge the logical volume in which '/var' resides.  Follow that with 'extendfs' to actually increase the size of the filesystem within the logical volume.  My preference, when done, is to reboot and let the system come up normally.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Fri, 21 Mar 2003 14:51:48 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2003-03-21T14:51:48Z</dc:date>
    <item>
      <title>increase var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932923#M111987</link>
      <description>I found some free extents in vg00 and would like to increase /var. Where can I find procedures to do this? Will I be able to unmount /var and increase this without effecting the operation of the system. I dont use online jfs.</description>
      <pubDate>Fri, 21 Mar 2003 14:43:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932923#M111987</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2003-03-21T14:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: increase var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932924#M111988</link>
      <description>If you don't have OnlineJFS installed you have to umount /var. Normaly you will not be able to umount /var in MultiUser and you are not able to stop all processes on /var. To increase /var you have to boot your system into SingleUser (reboot, break bootup, boot to isl, then boot into SingleUser "hpux -is"). There /var is not mounted and you can use the normal LVM commands:&lt;BR /&gt;&lt;BR /&gt;# lvextend -L &lt;NEW_SIZE_IN_MB&gt; /dev/vg00/lvol?&lt;BR /&gt;# extendfs -F &lt;FS_TYPE&gt; /dev/vg00/rlvol?&lt;BR /&gt;# mountall&lt;BR /&gt;# bdf&lt;BR /&gt;# cd /&lt;BR /&gt;# shutdown -r 0&lt;BR /&gt;&lt;BR /&gt;Regards ...&lt;BR /&gt;Armin&lt;/FS_TYPE&gt;&lt;/NEW_SIZE_IN_MB&gt;</description>
      <pubDate>Fri, 21 Mar 2003 14:51:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932924#M111988</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2003-03-21T14:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: increase var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932925#M111989</link>
      <description>Without OnlineJFS you'll have a hard time freeing up /var since it is used by system daemons, applications, etc.&lt;BR /&gt;&lt;BR /&gt;You should shutdown -r to reboot the system, interrupt the boot process and boot into single user mode.  From there, you use lvextend and extendfs.  mount /var to check your work, and if all looks good reboot into multi-user mode.&lt;BR /&gt;&lt;BR /&gt;Cheryl&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Mar 2003 14:51:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932925#M111989</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2003-03-21T14:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: increase var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932926#M111990</link>
      <description>Hi Robert:&lt;BR /&gt;&lt;BR /&gt;If you don't have OnlineJFS, then you need to shutdown your server and boot into single user mode where '/var' and '/usr' aren't mounted.&lt;BR /&gt;&lt;BR /&gt;Next, use 'lvextend' to enlarge the logical volume in which '/var' resides.  Follow that with 'extendfs' to actually increase the size of the filesystem within the logical volume.  My preference, when done, is to reboot and let the system come up normally.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 21 Mar 2003 14:51:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932926#M111990</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-03-21T14:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: increase var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932927#M111991</link>
      <description>Because /var is going to be busy, you are going to have to shutdown and come up in single-user mode. You then can do an lvextend followed by an extendfs.&lt;BR /&gt;&lt;BR /&gt;Let's say that /var is currently 800 MB and you want to go to 900MB.&lt;BR /&gt;&lt;BR /&gt;0) Single-user mode&lt;BR /&gt;1) lvextend -L 900 /dev/vg00/lvol8&lt;BR /&gt;2) extendfs -F vxfs /dev/vg00/rlvol8&lt;BR /&gt;3) mount /var&lt;BR /&gt;&lt;BR /&gt;Man lvextend, extendfs_vxfs for details.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Mar 2003 14:52:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932927#M111991</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-03-21T14:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: increase var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932928#M111992</link>
      <description>The basick commands are:&lt;BR /&gt;lvextend -L ### /dev/vg00/lv0l8&lt;BR /&gt;-and-&lt;BR /&gt;umount /filesystem&lt;BR /&gt;extendfs /dev/vg00/lvol8&lt;BR /&gt;&lt;BR /&gt;But you'll also get into LVM maintenance mode.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lvextend -L ### /dev/vg00/lv0l8  (* you can lvextend before rebooting *)&lt;BR /&gt;&lt;BR /&gt;reboot&lt;BR /&gt;interrupt boot&lt;BR /&gt;bo pri&lt;BR /&gt;interact with IPL&lt;BR /&gt;ISL&amp;gt;hpux -lm -is&lt;BR /&gt;vgchange -a y vg00&lt;BR /&gt;vgdisplay&lt;BR /&gt;lvdisplay&lt;BR /&gt;extendfs /dev/vg00/lvol8 (* when ready *)&lt;BR /&gt;mount /usr&lt;BR /&gt;mount /var&lt;BR /&gt;bdf&lt;BR /&gt;Happy?&lt;BR /&gt;Then reboot at this point.  DON'T use 'init 3' to come up or you'll corrupt the O/S.&lt;BR /&gt;reboot</description>
      <pubDate>Fri, 21 Mar 2003 14:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932928#M111992</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-03-21T14:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: increase var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932929#M111993</link>
      <description>You will have to get into single user mode by rebooting the box,&lt;BR /&gt;interrupting the boot process, &lt;BR /&gt;entering &lt;BR /&gt;boot pri ISL &lt;BR /&gt;from the menu prompt,&lt;BR /&gt;interact with ipl- yes&lt;BR /&gt;type &lt;BR /&gt;hpux -is &lt;BR /&gt;from the ISL prompt.&lt;BR /&gt;&lt;BR /&gt;cat /etc/fstab&lt;BR /&gt;to see what number the filesytem is is.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;# /sbin/lvdisplay /dev/vg00/lvol8 &lt;BR /&gt;This will return the size in MB that /var currently is.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# /sbin/lvextend -L &lt;NEW_SIZE_IN_MB&gt; /dev/vg00/lvol8&lt;BR /&gt;&lt;BR /&gt;/var is vxfs but this can be checked by doing the&lt;BR /&gt;following&lt;BR /&gt;# /sbin/fstyp /dev/vg00/lvol8&lt;BR /&gt;Note the return value.&lt;BR /&gt;&lt;BR /&gt;#/sbin/extendfs -F &lt;RETURN_VALUE_FROM_FSTYP&gt; /dev/vg00/rlvol8&lt;BR /&gt;&lt;BR /&gt;shutdown -ry 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/RETURN_VALUE_FROM_FSTYP&gt;&lt;/NEW_SIZE_IN_MB&gt;</description>
      <pubDate>Fri, 21 Mar 2003 14:53:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932929#M111993</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2003-03-21T14:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: increase var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932930#M111994</link>
      <description>Hi Robert,&lt;BR /&gt;&lt;BR /&gt;Without OnlineJFS, you won't be able to extend /var without unmounting it, which is pretty much impossible on a running system.  You'll have to shutdown the box and come up in single user mode, extend /var, and then reboot.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Mar 2003 14:55:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932930#M111994</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-03-21T14:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: increase var</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932931#M111995</link>
      <description>You might want to note, that he CAN do the lvextend at init 3, he just won't be able to unmount /var to do the extendfs without going to single user mode.&lt;BR /&gt;&lt;BR /&gt;This at least will reduce the down time.&lt;BR /&gt;&lt;BR /&gt;Jon&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Mar 2003 07:05:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/increase-var/m-p/2932931#M111995</guid>
      <dc:creator>Jon Finley</dc:creator>
      <dc:date>2003-03-22T07:05:11Z</dc:date>
    </item>
  </channel>
</rss>

