Mike_S

updated

13 years ago

M

Mike_S

16 Posts

0

5797

February 26th, 2014 17:00

/var filesystem is filling up

Hello.

The /var file system is currently at 81%. Can you give me some recommendations on files that can safetly be removed.

Examples:

sake-1# ls -la /var/crash/isi_webui_d.core.gz

-rw------- 1 root daemon 71401343 Feb 8 10:17 /var/crash/isi_webui_d.core.gz

sake-1# cd /var/log/audit

sake-1# ls -altr

total 81500

-rw------- 1 root wheel 4080811 Sep 9 16:31 smb.log.9.gz

-rw------- 1 root wheel 3619885 Sep 23 18:12 smb.log.8.gz

-rw------- 1 root wheel 3908334 Oct 9 12:49 smb.log.7.gz

-rw------- 1 root wheel 4193477 Nov 14 06:46 smb.log.5.gz

-rw------- 1 root wheel 4189636 Dec 3 10:58 smb.log.4.gz

-rw------- 1 root wheel 4239383 Dec 20 22:25 smb.log.3.gz

-rw------- 1 root wheel 4263717 Jan 11 11:27 smb.log.2.gz

-rw------- 1 root wheel 4210553 Jan 29 15:42 smb.log.1.gz

-rw------- 1 root wheel 4057609 Feb 13 11:21 smb.log.0.gz

drwxr-xr-x 2 root wheel 512 Feb 13 11:21 .

drwxr-xr-x 6 root wheel 10240 Feb 26 11:02 ..

-rw------- 1 root wheel 46419604 Feb 26 11:10 smb.log

Regards,

Mike

  • chughh

    122 Posts

    4050

    1

    Posted February 26th, 2014 18:00

    Hello Mike,

    It seems smb auditing is enabled on cluster. you can move these files to /ifs/data/

    else you can create soft link for  this  directory to path under /ifs so it will not fill  var partition.

    for eg:

    ln -s /var/log/audit  /ifs/

    How to: Linux / UNIX create soft link with ln command

  • Jeffey1

    6 Operator

    •

    2755 Posts

    4050

    1

    Posted February 26th, 2014 22:00

    Hi Mike,

    The /var partition is limited to 500MB by default, you will receive the alert message when the /var partition reaches 75%, 85% or 95% of capacity. According to your requirement, I strongly suggest you refer to primus emc14000946 which provides a solution for high capacity of /var partition.  

  • Mike_S

    16 Posts

    4050

    1

    Posted February 27th, 2014 17:00

    Hi Chughh,

    Thank you so much for the help.

    Regards,

    Mike