Nazaudy, a spark in your curious mind

var folder is full on FreeNAS Linux - PRTG Reporting

This morning we came to our office to discover the error message var folder is full on FreeNAS Linux - PRTG Reporting was flagging on our HP MSA 1000, to which we connect by using a FreeNAS box and iSCSI card

var folder is full on FreeNAS Linux - PRTG Reporting

Digging into the error, shows that the "var" folder on our FreeNAS is full, with less than 1% of space free

MAS 1000 PRTG Sensors

The "var" folder contain the repository for the temporary files, therefore it is not unusual that this folder gets full. We logon to our FreeNAS and issue the following command to double check the issue (of course, always double check!)

df -h

FreeNAS df command result

 There are other commands that you can use to verify the space on the "var" folder, like for example:

df -hi /var

FreeNAS var in PRTG reporting

Or for example the following command too:

du -sch * | sort -h

Output of file in var folder is full on FreeNAS Linux - PRTG Reporting

 

Empty the var folder

In any case, to empty the var folder, just issue this command

rm *

Folder rm

Then run this other popular command to see the contents of the var folder, now cleared

ls -l

ls command output

 

If you liked this article about var folder is full on FreeNAS Linux - PRTG Reporting, please see this other article of interest:

PRTG System Health sensor reported as down in Cisco switches https://www.nazaudy.com/prtg-system-health-sensor-reported-as-down-in-cisco-switches

 

London, 12 October 2017

 

References

PRTG Paessler https://www.paessler.com/prtg

 

Comments powered by CComment