Technical Tip: Hard disk utilization by the FortiGate
Description
Solution
- log-disk-quota.
- wanopt storage.
The current values can be displayed by running the following commands:
The rest of the disk space is ready to be used either in more disk quota or in wanopt storage, in this case, up to 14 540MB.
A maximum disk log quota of 29 028MB can be configured which will leave only 512MB for WanOpt (29 028 + 512 = 29 540).
Note:
During troubleshooting of high CPU utilization, it is recommended to check who accesses the HDD and how often.
On v7.4.2 GA , a new command has been introduced that shows each file access attempt's PID, process name, and accessed file path:
diagnose sys iotop
<interval> Print interval in seconds (default to 5). Accept value from 5 to 3600.
diagnose sys iotop 5
PID #O #R #W #C PROCESS FILE
2012 1 1 0 1 forticron /var/run/dhcpd.pid
2025 1 0 1 1 reportd /var/log/log/root/report/60/1703839800.rpt
PID #O #R #W #C PROCESS FILE
2012 1 1 0 1 forticron /var/run/dnsproxy.pid
PID #O #R #W #C PROCESS FILE
2012 1 1 0 1 forticron /var/run/dnsproxy.pid
PID #O #R #W #C PROCESS FILE
2012 1 1 0 1 forticron /var/run/dhcpd.pid
Related articles:
Troubleshooting Tip: Disk Space utilization over 90% on the FortiGate
Troubleshooting Tip: How to clear short of flash space in FortiGate Disk partition