Skip to main content
rraymond
New Member
June 19, 2015
Question

How to clear out logs on disk

  • June 19, 2015
  • 2 replies
  • 30653 views

We have a Fortigate 100D. Our Disk usage is at 99.5% Full. The device is set to overwrite when the disk gets full, but how can I clear all the logs out to make the disk space go back to 0%. I tried using the : execute log delete-all command from the CLI and then reboot the device but that did not clear out anything. The disk space was still at 99.5%. I attached a pic of the status.

    2 replies

    democomp
    New Member
    June 19, 2015

    hi dear you can format the log desk by  this CLI

    # execute formatlogdisk

    Dinesh_FTNT
    Staff
    Staff
    June 20, 2015

    Hi dear,

    If you created vdom on the FGT, then some storage space will be allocated for each vdom. This could possibly the reason, you noticed full disk utilization.

    You can verify using the below commands.

    diag sys logdisk usage