- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var is Full 98% used
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2010 05:58 AM
10-12-2010 05:58 AM
/var is Full 98% used
i have the problem, the FileSystem /var 98% used
these files are large size
/var/adm/sw/save/PHCO_39498/VEA-FILESET/opt/VRTSob/jre_ia.tar
/var/adm/sw/save_custom/PHCO_39498/jre_old.tar
/var//adm/sw/save/PHCO_39498/VEA-FILESET/opt/VRTSob/jre.tar
I can delet files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2010 06:13 AM
10-12-2010 06:13 AM
Re: /var is Full 98% used
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2010 06:16 AM
10-12-2010 06:16 AM
Re: /var is Full 98% used
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2010 06:20 AM
10-12-2010 06:20 AM
Re: /var is Full 98% used
Those particular files? Or just not as much as you wanted?
Has PHCO_39498 been superseded on your system? If not, "-c 1" won't remove them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2010 06:22 AM
10-12-2010 06:22 AM
Re: /var is Full 98% used
need free space
Anex the files in the FS /var
-rw-r--r-- 1 root other 205516800 May 16 2007 ./adm/sw/save/PHCO_39498/VEA-FILESET/opt/VRTSob/jre_ia.tar
-rw-r--r-- 1 root sys 205516800 Jan 30 2010 ./adm/sw/save_custom/PHCO_39498/jre_old.tar
-rw-r--r-- 1 root other 122828800 May 16 2007 ./adm/sw/save/PHCO_39498/VEA-FILESET/opt/VRTSob/jre.tar
-r--r--r-- 1 bin bin 54990224 Mar 26 2004 ./adm/sw/save/PHSS_35055/LANG-64ALIB/usr/lib/hpux64/librwtool_v2.a
-r--r--r-- 1 bin bin 43529790 Mar 26 2004 ./adm/sw/save/PHSS_35055/LANG-MIN/usr/lib/hpux32/librwtool_v2.a
-rw-r--r-- 1 root root 28721780 Oct 12 09:15 ./opt/perf/datafiles/logglob
-rw-r--r-- 1 root root 27931368 Oct 12 09:16 ./opt/perf/datafiles/logproc
-rwx------ 1 root root 26476867 Oct 12 09:16 ./opt/hpsmc/avc/VM00726000-1-1/log/monitorsvcd.log
-r--r--r-- 1 bin bin 22364160 Jun 13 2008 ./opt/wbem/repository.tar
-rw-r--r-- 1 root root 21648743 Oct 12 09:15 ./adm/cron/log
-rw-r--r-- 1 root root 20734388 Oct 12 09:15 ./opt/perf/datafiles/logdev
-r--r--r-- 1 bin bin 20476142 Mar 26 2004 ./adm/sw/save/PHSS_35055/LANG-64ALIB/usr/lib/hpux64/libstd_v2.a
-rw-r--r-- 1 root root 19022016 Oct 12 09:15 ./opt/perf/datafiles/logappl
-r-xr-xr-x 1 root bin 18602543 May 3 2005 ./opt/mx/opensource/hibernate-2.1.7c.zip
-r-xr-xr-x 1 root bin 17973553 Aug 1 2005 ./opt/mx/opensource/jboss-3.2.7-src.zip
-r--r--r-- 1 bin bin 17219438 Mar 26 2004 ./adm/sw/save/PHSS_35055/LANG-MIN/usr/lib/hpux32/libstd_v2.a
-rw------- 1 sfmdb users 16777216 Oct 12 01:05 ./opt/sfmdb/pgsql/pg_xlog/0000000000000029
-rw------- 1 sfmdb users 16777216 Oct 12 01:06 ./opt/sfmdb/pgsql/pg_xlog/000000000000002A
-rw------- 1 sfmdb users 16777216 Sep 28 01:05 ./opt/sfmdb/pgsql/pg_xlog/000000000000002B
-r-xr-xr-x 1 root bin 15176926 Jun 27 2006 ./opt/mx/opensource/samba-3.0.10.tar.gz
-r-xr-xr-x 1 bin bin 14101440 Jan 6 2009 ./adm/sw/save/PHSS_39821/C-KRN/usr/ccs/bin/ld
-r-xr-xr-x 1 bin bin 13695216 Feb 14 2007 ./adm/sw/save/PHSS_38258/DCE-IA64-SHLIB/usr/lib/hpux64/libdcekt.so.1
-r-xr-xr-x 1 bin bin 13519840 Feb 14 2007 ./adm/sw/save/PHSS_38258/DCE-IA64-SHLIB/usr/lib/hpux32/libdcekt.so.1
-r--r--r-- 1 bin bin 13051098 Sep 3 2003 ./adm/sw/save/PHSS_34397/LIBF90-IA64/usr/lib/hpux64/libF90_parallel.a
-rw-r--r-- 1 root sys 12766284 Jul 20 2007 ./opt/ignite/recovery/2007-07-20,16:24/flist
-r--r--r-- 1 bin bin 12005614 Sep 3 2003 ./adm/sw/save/PHSS_34397/LIBF90-IA32/usr/lib/hpux32/libF90_parallel.a
-r--r--r-- 1 bin bin 11754302 Sep 3 2003 ./adm/sw/save/PHSS_34397/LIBF90-IA64/usr/lib/hpux64/libF90.a
-r-xr-xr-x 1 bin bin 11655440 Sep 24 2008 ./adm/sw/save/PHCO_39779/VXVM-RUN/etc/vx/static.d/build/vold.o
-r-xr-xr-x 1 bin bin 11374676 Sep 3 2003 ./adm/sw/save/PHSS_30601/KWDB-RUN/usr/contrib/kwdb/lib/kwdb32.sl
-r-xr-xr-x 1 root bin 11304329 Oct 19 2006 ./opt/mx/opensource/wiseman-101706.zip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2010 06:24 AM
10-12-2010 06:24 AM
Re: /var is Full 98% used
/var/adm/sw/save/PHCO_39498/VEA-FILESET/opt/VRTSob/jre_ia.tar
/var/adm/sw/save_custom/PHCO_39498/jre_old.tar
/var//adm/sw/save/PHCO_39498/VEA-FILESET/opt/VRTSob/jre.tar
not affect the system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2010 06:27 AM
10-12-2010 06:27 AM
Re: /var is Full 98% used
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2010 06:31 AM
10-12-2010 06:31 AM
Re: /var is Full 98% used
SAPL907:/var> cleanup -c 1
### Cleanup program started at 10/12/10 09:59:15
Commit patches superseded at least 1 time(s) on 'SAPL907'.
Obtaining superseded patch information...done.
No non-committed patches superseded at least 1 time(s) are present.
All information has been logged to /var/adm/cleanup.log.
### Cleanup program completed at 10/12/10 09:59:15
SAPL907:/var>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2010 06:51 AM
10-12-2010 06:51 AM
Re: /var is Full 98% used
Yes but are you going to remember to put them back if you need to swremove that patch? (Or leave a symlink in place.)
If you know you never need to remove specific patches, like PHSS_35055, you can just commit it.
Threads about this:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=760600
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1192084
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1123927
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=209355
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=953503
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1183121
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=94494
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=106188
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2010 11:24 AM
10-12-2010 11:24 AM
Re: /var is Full 98% used
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2010 03:52 PM
10-12-2010 03:52 PM
Re: /var is Full 98% used
Before you start moving files (and possibly losing a few), analyze /var. You may find that you have a lot of space occupied by files that can be removed without affecting your system.
Run this command:
du -kx | sort -rn | head -20
You will see the occupied size of each directory, largest listed first. You may find that /var/adm or /var/spool or /var/adm/crash or /var/mail are huge and need maintenance. Large files are not always the right things to find -- locate big directories first, then sort the directory with:
lls /var/adm | sort -rnk5 | head -20
Here are some hints:
/var/adm = logfiles (not trimmed automatically)
/var/adm/crash = old crash dumps
/var/adm/syslog = system logs
/var/spool/lp/request = printer jobs
/var/spool/mail = email messages
/var/opt/perf = performance logs
/var/stm/logs = hardware diagnostic logs
All possibilities for a lot of temporary files or files that are massively large.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2010 06:23 PM
10-12-2010 06:23 PM
Re: /var is Full 98% used
-find /var -type f -size +1000000c -exec ll {} \; | sort -n -k 5
(list the files in order of size)
-du -kx | sort -rn | head -20
(look the size)
If a file is being written and you remove it from your space is not released (or a big file), is that you did not? indicated clear the file before removing it. If this is what happened will require a reboot.
btw, there must be more than just patch these files taking up space ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2010 10:54 PM
10-12-2010 10:54 PM
Re: /var is Full 98% used
If you are not sure which files u will del. then simple extend 200/300mb.(space should be there in the vg).
regards,
Ani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2010 06:03 AM
10-13-2010 06:03 AM
Re: /var is Full 98% used
if you want to be sure to move it back to the right place if you need it, you can make a tar file (in a filesystem with more space) with the absolute path. Then you can delete the files.
At the end you can gzip the tar-file.
Also as said check for more 'not really needed' files like mentioned above.
HTH
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2010 02:14 PM
10-19-2010 02:14 PM