Forum Discussion

san_239682's avatar
san_239682
Icon for Nimbostratus rankNimbostratus
Apr 12, 2016

011d0004: Disk partition var has only 15% free

Hello

 

I am getting error message on my LTM device as 011d0004: Disk partition var has only 15% free. Can anyone give suggestion about what files and how can I remove from var to free up the space.

 

Thanks in advance.

 

2 Replies

  • For starters, have a look at your UCS backup file sizes and how many you are storing locally on the box. These can bloat for instance if old EPSEC packages are not deleted after upgrades of APM, ideally they should be stored offbox. You can also get a quick feel for the largest directories by using the command below.

    du -k -x --max-depth=2 /var | sort -n

    If needed you can drill down with

    find
    command to investigate specific file sizes…

    cheers

  • Hello Friend,

    You can use the find command to locate old maintenance-related files and safely delete if you no longer need them. For example, to locate the 20 largest files on the system, you would use the following command syntax:

    find  

     -xdev -type f -exec du {} \; | sort -rn | head -20

    In your case the directory would be

    /var
    . This command will list you top 20 huge files in /var directory. Review the files and delete it using rm commands.

    -Jinshu