<?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: /var Increasing Size in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760313#M72227</link>
    <description>Just a note about /var: 1200 to 1300 megs? Hardly seems werth the effort. /var is *THE* most widely variable (hint: /var = variable) filesystem in HP-UX and it constantly needs to be cleaned. &lt;BR /&gt;&lt;BR /&gt;/var/tmp will have junk files from apps and users, /var/adm has logfiles that grow forever, /var/adm/sw will have patch and application files, /var/spool has print jobs that never completed and /var/mail can have hundreds of megs of junk mail.&lt;BR /&gt;&lt;BR /&gt;Regularly analyze /var and have cron handle logfile trimming. To analyze the space, use:&lt;BR /&gt;&lt;BR /&gt;du -kx /var | sort -rn &amp;gt; /tmp/du.var&lt;BR /&gt;&lt;BR /&gt;Look in /tmp/du.var to see where the lrgest directories are located, then use:&lt;BR /&gt;&lt;BR /&gt;ll | sort -rnk5 | more&lt;BR /&gt;&lt;BR /&gt;to show the files sorted by size.&lt;BR /&gt;&lt;BR /&gt;Also use the cleanup command regularly (ideally, right after installing new patches and/or applications).&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 10 Jul 2002 00:42:39 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2002-07-10T00:42:39Z</dc:date>
    <item>
      <title>/var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760302#M72216</link>
      <description>I need to increase the size of the /var filesystem (/dev/vg00/lvol8) from 1200 MB to 1300 MB.  When trying to do this from LVM I get the message unable to umount /var because device is busy.  How do I get the /var filesystem umounted safely so I can increase the size.  Also, after the /var file system is mounted again will those processes that were preventing the file system from being umounted re-spawn themselves?</description>
      <pubDate>Tue, 09 Jul 2002 15:08:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760302#M72216</guid>
      <dc:creator>Jim Thrash</dc:creator>
      <dc:date>2002-07-09T15:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760303#M72217</link>
      <description>I would boot the system in single-user mode (hpux -is from ISL prompt) and then do this job. Unmounting /var while system is online will be a risky and big task.&lt;BR /&gt;&lt;BR /&gt;Once extended, check the file system with fsck commmand and mount it. Check whether everything is proper. Once all done, restart the system as normal mode.</description>
      <pubDate>Tue, 09 Jul 2002 15:12:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760303#M72217</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-07-09T15:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760304#M72218</link>
      <description>Hi Jim:&lt;BR /&gt;&lt;BR /&gt;This is the very reason you buy OnlineJFS. You could grow the LVOL and the filesystem 'on-the-fly'. Without it, the realistic answer is that you are going to have to drop to single-user. &lt;BR /&gt;&lt;BR /&gt;The answer to your second question is that some of them will but almost certainly not all. &lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jul 2002 15:13:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760304#M72218</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-07-09T15:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760305#M72219</link>
      <description>Umounting /var would NOT be possible in a multi-user mode because a lot of active processes/daemons are dependent on /var and simply cannot be killed. The only way to do this is in single-user mode unless you have OnlineJFS which allow you to increase a filesystem size on-the-fly.</description>
      <pubDate>Tue, 09 Jul 2002 15:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760305#M72219</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-07-09T15:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760306#M72220</link>
      <description>Without OnlineJFS, you need to halt the system and boot into single user mode. Then you can do the lvextend and extendfs.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Tue, 09 Jul 2002 15:13:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760306#M72220</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-07-09T15:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760307#M72221</link>
      <description>Hi Jim&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There are acutally 3 ways to do it :&lt;BR /&gt;&lt;BR /&gt;1. If online JFS is ther you can do it online.&lt;BR /&gt;2. GO to single user and then increase it .&lt;BR /&gt;3. Make a ignite recovery tape and reinstall it with more size of /var.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jul 2002 15:15:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760307#M72221</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-07-09T15:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760308#M72222</link>
      <description>If you do not have Online JFS - you will need to be in single user mode to extend the filesystem. If you go down from your current level, you will kill processes that will not restart. If you can reboot, boot to single user mode, extend the filesystem, then proceed to multiuser mode.</description>
      <pubDate>Tue, 09 Jul 2002 15:15:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760308#M72222</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2002-07-09T15:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760309#M72223</link>
      <description>Do u have online JFS on your system? If you have online JFS on your system by using the following command you can increase the size of /var file system&lt;BR /&gt;&lt;BR /&gt;#fsadm -F vxfs -b 1300M /var&lt;BR /&gt;&lt;BR /&gt;  If you don't have online JFS ,&lt;BR /&gt;&lt;BR /&gt;  Then you need to boot the system in to single user mode to increase the size of the /var file system. You can't unmount the /var file system in the multi user mode. Even if you use "fuser -ck /var " to kill the processes using /var file system it won't allow you to unmount the /var file system.&lt;BR /&gt;Rather it will just kill your login session.&lt;BR /&gt;&lt;BR /&gt;  So boot the system in single user mode&lt;BR /&gt;#lvextend -L 1300 &lt;LOGICAL volume="" name=""&gt; &lt;BR /&gt;# extendfs -F vxfs &lt;LOGICAL volume=""&gt;&lt;/LOGICAL&gt;&lt;/LOGICAL&gt;</description>
      <pubDate>Tue, 09 Jul 2002 15:18:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760309#M72223</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-07-09T15:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760310#M72224</link>
      <description>Hi&lt;BR /&gt;If you do not have Online JFS, you will have to boot system with single user to increase size of /var.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant.</description>
      <pubDate>Tue, 09 Jul 2002 16:13:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760310#M72224</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2002-07-09T16:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760311#M72225</link>
      <description>You can't unmount /var because it's busy running stuff for UNIX. When you go to "single user mode" to fix it please note there are TWO "single user modes".&lt;BR /&gt;&lt;BR /&gt;1.  There is the single user mode where you run shutdown.  &lt;BR /&gt;2.  There is the single user mode where you remove power from the computer, then interupt the boot process, then boot it up into single user mode. &lt;BR /&gt;&lt;BR /&gt;The first "single user mode" still uses /var.&lt;BR /&gt;The 2nd "single user mode" works.&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jul 2002 16:19:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760311#M72225</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2002-07-09T16:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760312#M72226</link>
      <description>1. reboot&lt;BR /&gt;2. interupt the boot process&lt;BR /&gt;3. interact with ipl&lt;BR /&gt;4. hpux -is&lt;BR /&gt;(this will boot into single user)&lt;BR /&gt;then do your lvextend -L 100 etc...etc...</description>
      <pubDate>Tue, 09 Jul 2002 18:11:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760312#M72226</guid>
      <dc:creator>Chris Fadrowski</dc:creator>
      <dc:date>2002-07-09T18:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760313#M72227</link>
      <description>Just a note about /var: 1200 to 1300 megs? Hardly seems werth the effort. /var is *THE* most widely variable (hint: /var = variable) filesystem in HP-UX and it constantly needs to be cleaned. &lt;BR /&gt;&lt;BR /&gt;/var/tmp will have junk files from apps and users, /var/adm has logfiles that grow forever, /var/adm/sw will have patch and application files, /var/spool has print jobs that never completed and /var/mail can have hundreds of megs of junk mail.&lt;BR /&gt;&lt;BR /&gt;Regularly analyze /var and have cron handle logfile trimming. To analyze the space, use:&lt;BR /&gt;&lt;BR /&gt;du -kx /var | sort -rn &amp;gt; /tmp/du.var&lt;BR /&gt;&lt;BR /&gt;Look in /tmp/du.var to see where the lrgest directories are located, then use:&lt;BR /&gt;&lt;BR /&gt;ll | sort -rnk5 | more&lt;BR /&gt;&lt;BR /&gt;to show the files sorted by size.&lt;BR /&gt;&lt;BR /&gt;Also use the cleanup command regularly (ideally, right after installing new patches and/or applications).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2002 00:42:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760313#M72227</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-07-10T00:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760314#M72228</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;see this link, beautiful document on extending /usr /var and /tmp if u don't have online JFS.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support1.itrc.hp.com/service/cki/docDisplay.do?docId=200000046785431" target="_blank"&gt;http://support1.itrc.hp.com/service/cki/docDisplay.do?docId=200000046785431&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;ravi</description>
      <pubDate>Wed, 10 Jul 2002 05:33:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760314#M72228</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2002-07-10T05:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760315#M72229</link>
      <description>The suggestions to bring the system down to single user mode, or to use Online JFS are all good.&lt;BR /&gt;&lt;BR /&gt;However, an easy way to "extend" a mounted file system is to find an appropriately large directory in your /var file system that can be moved to another volume. If necessary, create another volume that has the amount of space needed to hold the directory to be moved. Using tar or find/cpio move that directory to the new location. Finally, place a link in /var pointing to the new location, and you are all set.&lt;BR /&gt;&lt;BR /&gt;This will not require the system to be shut down or rebooted, and does not require online JFS.</description>
      <pubDate>Wed, 10 Jul 2002 17:47:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760315#M72229</guid>
      <dc:creator>Michael Lampi</dc:creator>
      <dc:date>2002-07-10T17:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760316#M72230</link>
      <description>To Michael Lampi,&lt;BR /&gt;After creating a new filesystem, mount it and use cpio to copy all the contents from old /var to new /var. Does it need to be edit in the /etc/fstab file ? &lt;BR /&gt;and how do i perform a link from old to new&lt;BR /&gt;ln -s ???</description>
      <pubDate>Tue, 31 Dec 2002 20:26:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760316#M72230</guid>
      <dc:creator>hpuxhelp</dc:creator>
      <dc:date>2002-12-31T20:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760317#M72231</link>
      <description>v7e,&lt;BR /&gt;&lt;BR /&gt;You really should start your own new thread being that the last response to this thread was July 2002.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 31 Dec 2002 20:36:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760317#M72231</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-12-31T20:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: /var Increasing Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760318#M72232</link>
      <description>Go get'm Harry!&lt;BR /&gt;&lt;BR /&gt;:-)&lt;BR /&gt;Marty</description>
      <pubDate>Tue, 31 Dec 2002 20:59:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-increasing-size/m-p/2760318#M72232</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-12-31T20:59:09Z</dc:date>
    </item>
  </channel>
</rss>

