Operating System - HP-UX
1835061 Members
3406 Online
110073 Solutions
New Discussion

/Var file systems is full.

 
SOLVED
Go to solution
unixguy_1
Regular Advisor

/Var file systems is full.


Hi Friends,

/var file system is full,it's showing the 94%,what are steps to be followed to free the space and pls guide me the full details to remove the unwanted files and logs and fixed as a low capacity.

iam wating for your Answer.

Thanks in Advance.
Unixguy.
8 REPLIES 8
Analyst
Trusted Contributor
Solution

Re: /Var file systems is full.

Hi Unixguy,

Sorry,
Already we have Query for the same.
plz refer it.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1281914

Thanks,
Analyst.
Ganesan R
Honored Contributor

Re: /Var file systems is full.

Hi Unixguy,

var filesytem, by the name implies, has lot of variable log files on it.

check if any crash dump directories on /var/adm/crash directory. You can remove old crash directories if you don't need.

you can backup or empty the following log files if you don't need
/var/adm/syslog/syslog.log
/var/adm/syslog/OLDsyslog.log
/var/adm/syslog/mail.log


find if any core files and remove it.

#find /var -type f -name core

find big files and move to somewhere

#find /var -size +10000 -print (more than 10MB files)
Best wishes,

Ganesh.
Ganesan R
Honored Contributor

Re: /Var file systems is full.

Hi unixguy,

You can also see how much space /var/adm/sw directory consumed? This directory will have backup of all old patches whenever we upgrade the patches.

Run the below command to commit and cleanup all old patches which is superseeded by 1 level

#cleanup -c 1
Best wishes,

Ganesh.
unixguy_1
Regular Advisor

Re: /Var file systems is full.


Hi Ganesan

<>

Iam not able understand....

what is crash dumps?

Pls let me know the full details.

Regards,
Unixguy.

V. Nyga
Honored Contributor

Re: /Var file systems is full.

Hi,

>what is crash dumps?
>Pls let me know the full details.

There will be no space here for the full details!
Please use HP-UX Technical Knowledge Base for all details, for example:
http://docs.hp.com/en/sysdmp-62001/ch01s02.html

Please also see here:
http://forums11.itrc.hp.com/service/forums/helptips.do?#28
about the member point system.
We are no HP staff member - we help here during our work or free time.
Please be so kind and honour the effort of all members here!

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Ganesan R
Honored Contributor

Re: /Var file systems is full.

Hi Unixguy,

Whenever system crash due to hardware issue or software panic, the content of the physical memory will be copied into the filesystem. So that later on we can analyse these dump files and can find what went wrong. Mostly HP may need these log files.
So you can safely remove these directories.

If you are not aware of crash dump concept go through the link suggested by Mr.Nyga. It has good explanations.
Best wishes,

Ganesh.
Gokul Chandola
Trusted Contributor

Re: /Var file systems is full.

Hi,
Please check your free space in the system, then only you can add this free space with the /var.

Or you remove unwanted FS and add this space with /var.

regards,
Gokul Chandola
There is always some scope for improvment.
unixguy_1
Regular Advisor

Re: /Var file systems is full.


Thanks Mr.Ganesan and Nyak for your wonderful guidelines.

It's resolved.

Regards,
Unixguy.