<?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: The /var filesystem is full in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337586#M492913</link>
    <description>Hi Deborah,&lt;BR /&gt;&lt;BR /&gt;you should accomplish it in single user mode and other guys already said enough about steps.&lt;BR /&gt;The only one thing that I would suggest you to check if under /var/adm/crash there are old crash files. If they are old then you can remove it and I think it would free a lot of space.&lt;BR /&gt;&lt;BR /&gt;Just a thought....&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
    <pubDate>Wed, 21 Jul 2004 10:23:16 GMT</pubDate>
    <dc:creator>Fabio Ettore</dc:creator>
    <dc:date>2004-07-21T10:23:16Z</dc:date>
    <item>
      <title>The /var filesystem is full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337578#M492905</link>
      <description>How can I extend the /var filesystem (HP-UX 10.20)?  I tried extending it through sam, but was unsuccessful.  The following processes are attached:  syslogd, swagentd, cron, ptydaemon, vuegreet, lpsched, vtdaemon, ARMServer, etc.  I am a part-time administrator, PLEASE HELP!!&lt;BR /&gt;&lt;BR /&gt;THANKS</description>
      <pubDate>Wed, 21 Jul 2004 10:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337578#M492905</guid>
      <dc:creator>Deborah J. Johnson</dc:creator>
      <dc:date>2004-07-21T10:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: The /var filesystem is full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337579#M492906</link>
      <description>You need to get /var unmounted and the only way to accomplish that is to go into single user mode.  Reboot the machine with the "shutdown -r -y 0" command.  When it starts to come back up you'll receive a prompt that says you have 10 seconds to interrup the boot process by striking any key.  Do so.  Then enter "hpux -is" at the ISL prompt to boot into single user mode.  Do a "mount -a" to get all the file systems mounted.  The do a "umount /var" and run your lvextend and extendfs commands (syntax is available in the man pages for each - go to the Examples section).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 21 Jul 2004 10:11:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337579#M492906</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-07-21T10:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: The /var filesystem is full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337580#M492907</link>
      <description>Rather than extending it see if there are any things you can get rid of.&lt;BR /&gt;&lt;BR /&gt;Check the size of the following files:&lt;BR /&gt;&lt;BR /&gt;/var/adm/btmp&lt;BR /&gt;/var/adm/sulog&lt;BR /&gt;/var/adm/wtmp&lt;BR /&gt;/var/adm/cron/log&lt;BR /&gt;/var/adm/lp/log&lt;BR /&gt;/var/adm/syslog/mail.log&lt;BR /&gt;/var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;DO NOT delete any of these files: null them thus:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;but make sure you check the syslog first to make sure there's nothing you need to know about.&lt;BR /&gt;&lt;BR /&gt;If you really are squeezed for space, you could set up a separate filesystem hanging of /var in its own logical volume: e.g. /var/adm/crash (which it's always a good idea to have in its own lvol anyway).&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Wed, 21 Jul 2004 10:12:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337580#M492907</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-07-21T10:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: The /var filesystem is full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337581#M492908</link>
      <description>You should also take a look at what is taking up all the room.  Use "du -sk /var/* |sort -n" to give you a listing of the largest directories under /var.  Then repeat the process under each of the largest directories to narrow down what is occupying all the space.  There may be something you can get rid of rather than enlarging /var.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 21 Jul 2004 10:13:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337581#M492908</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-07-21T10:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: The /var filesystem is full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337582#M492909</link>
      <description>You can not do this online. If you have OnlineJFS product, you can. This is licensed product.&lt;BR /&gt;&lt;BR /&gt;In your case, start by looking at who is using the space.&lt;BR /&gt;&lt;BR /&gt;cd /var&lt;BR /&gt;du -sk *|sort -nr&lt;BR /&gt;&lt;BR /&gt;The files that are not required can be deleted. In case you have to extend it, then reboot the system, interrupt the boot process, interact with ISL and boot into single user mode.&lt;BR /&gt;&lt;BR /&gt;Once on single user mode,&lt;BR /&gt;lvextend -L "new_size_in_MB" /dev/vg00/lvolxx&lt;BR /&gt;extendfs /dev/vg00/lvolx&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 21 Jul 2004 10:13:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337582#M492909</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-07-21T10:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: The /var filesystem is full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337583#M492910</link>
      <description>If you have OnlineJFS(if that was offered on 10.20) you can extend it on the fly. All you need is space.&lt;BR /&gt;&lt;BR /&gt;I'm doubting you have this, so here is a procedure, though its an 11.x procedure, it will probably work.&lt;BR /&gt;&lt;BR /&gt;AT console&lt;BR /&gt;&lt;BR /&gt;Boot box&lt;BR /&gt;&lt;BR /&gt;Interupt at the 10 second prompt&lt;BR /&gt;&lt;BR /&gt;hpux -is&lt;BR /&gt;&lt;BR /&gt;N Do not Interact with the ISL/IPL&lt;BR /&gt;&lt;BR /&gt;You are now in single use mode as root.&lt;BR /&gt;&lt;BR /&gt;You now need to run the following commands:&lt;BR /&gt;&lt;BR /&gt;lvextend -L &lt;SIZE in="" meg=""&gt; &lt;LVOL_NAME&gt; &lt;DISK location=""&gt; &lt;BR /&gt;extendfs character device name for the logical volume&lt;BR /&gt;&lt;BR /&gt;Then&lt;BR /&gt;&lt;BR /&gt;shutdown -ry now&lt;BR /&gt;&lt;BR /&gt;Then you are done.&lt;BR /&gt;&lt;BR /&gt;There is no sam in single user mode, but before you start you should do the following:&lt;BR /&gt;&lt;BR /&gt;Figure out the name of the block and character devices for the logical volume you wish to extend(sam or lvdisplay) &lt;BR /&gt;&lt;BR /&gt;Find the same information for the disk you will be using new space on(pvdisplay or sam)&lt;BR /&gt;&lt;BR /&gt;Find out the full path of the commands you want to use, because you won't have a PATH or environment in single user mode.&lt;BR /&gt;&lt;BR /&gt;whence command &lt;BR /&gt;&lt;BR /&gt;whence extendfs&lt;BR /&gt;whence lvextend&lt;BR /&gt;&lt;BR /&gt;Do your homework prior to booting to single user mode and assuming you have disk space you can do the whole thing in under a half an hour.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;/DISK&gt;&lt;/LVOL_NAME&gt;&lt;/SIZE&gt;</description>
      <pubDate>Wed, 21 Jul 2004 10:13:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337583#M492910</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-07-21T10:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: The /var filesystem is full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337584#M492911</link>
      <description>Pete has the way, but you might want to find out why it's full...&lt;BR /&gt;&lt;BR /&gt;cd /var&lt;BR /&gt;du -sk * |sort -n&lt;BR /&gt;&lt;BR /&gt;That will help you determine whre it is full...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jul 2004 10:14:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337584#M492911</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-07-21T10:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: The /var filesystem is full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337585#M492912</link>
      <description>Your first task is to determine if you have any available free space in the volume group which I assume is /dev/vg00.&lt;BR /&gt;&lt;BR /&gt;Do a vgdisplay -v /dev/vg00 and note the PE Size and and "Free PE" values listed. The sum of the  product of PE_SIZE and Free PE's will give you the amount of free space.&lt;BR /&gt;&lt;BR /&gt;Your first task should probably be to find any files that you might be able to safely remove. Look in /var/tmp and /var/mail. &lt;BR /&gt;&lt;BR /&gt;You should also do a swlist | grep -i "JFS"&lt;BR /&gt;&lt;BR /&gt;If you hace OnlineJFS then you should be able to expand the filesyste in place otherwise you are going to have to knock down to single user and extend the LVOL and filesystem using commands.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jul 2004 10:15:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337585#M492912</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-07-21T10:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: The /var filesystem is full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337586#M492913</link>
      <description>Hi Deborah,&lt;BR /&gt;&lt;BR /&gt;you should accomplish it in single user mode and other guys already said enough about steps.&lt;BR /&gt;The only one thing that I would suggest you to check if under /var/adm/crash there are old crash files. If they are old then you can remove it and I think it would free a lot of space.&lt;BR /&gt;&lt;BR /&gt;Just a thought....&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
      <pubDate>Wed, 21 Jul 2004 10:23:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337586#M492913</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2004-07-21T10:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: The /var filesystem is full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337587#M492914</link>
      <description>ANother good place to look is often /var/adm/sw where all the patches are located can take up a lot of space.  If you added patch bundles recently and everything is stable, do a "cleanup -c 1" and you'll commit all patches beyond going back one level which is usually good for most situations.</description>
      <pubDate>Wed, 21 Jul 2004 12:27:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337587#M492914</guid>
      <dc:creator>Bernie Vande Griend</dc:creator>
      <dc:date>2004-07-21T12:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: The /var filesystem is full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337588#M492915</link>
      <description>My problem has been resolved.  Thanks to all that responded!!!!</description>
      <pubDate>Wed, 21 Jul 2004 15:08:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/3337588#M492915</guid>
      <dc:creator>Deborah J. Johnson</dc:creator>
      <dc:date>2004-07-21T15:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: The /var filesystem is full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/7032756#M492916</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;I'm trying the cleanup -c1 and it's hung for more than a day.&amp;nbsp; syslog is not being written to (it is 0 in size).&lt;/P&gt;&lt;P&gt;Also, uptime is hanging, and I can't ssh into the server unless I interupt the hang with a ctrl-c.&lt;/P&gt;&lt;P&gt;Can you think of any reason why these are hanging?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tariq&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 12:16:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/the-var-filesystem-is-full/m-p/7032756#M492916</guid>
      <dc:creator>tazhasan</dc:creator>
      <dc:date>2019-01-29T12:16:10Z</dc:date>
    </item>
  </channel>
</rss>

