FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
enguyen3467
Staff
Staff
Article Id 268911
Description

This article describes how to fix an issue where the error 'Cannot store config due to short of flash space!' is encountered when trying to implement Zero Touch Provision (ZTP) after joining FortiGate with FortiManager using a basic ZTP configuration.

 

Picture1.png

Scope FortiGate.
Solution
  1. Check the status of the shared flash partition:

 

diagnose sys flash list

 

enguyen3467_0-1692105084267.png

 

  1. If the shared partition indicated by the name EXDB-1.00000 appears to be full, try to format itwith the following command:

 

diagnose sys flash format

 

enguyen3467_1-1692105084272.png

 

Be aware that formatting the shared partition will require a reboot of the firewall. It is highly recommended to do so during a maintenance window.

 

  1. After a reboot, try to implement ZTP again. If the error still appears, proceed to the next step.
  2. There are cases where the flash space is not sufficient because the FortiGate may have gone through a firmware upgrade and the firewall will allocate a partition to store the previous firmware with its configuration. If that is the case, it may be necessary to format the boot device completely and load the intended image through a TFTP server. Refer to the steps in Technical Tip: Formatting and loading FortiGate firmware image.

In this scenario, physical access to the FortiGate is required to set up a TFTP server and connect the FortiGate through a console cable to intercept the boot sequence.

 

Related articles:

Technical Tip: Formatting and loading FortiGate firmware image.

Technical Tip: ZTP basic configuration and troubleshooting for a standalone FortiGate.

Technical Tip: ZTP basic configuration and troubleshooting for a HA FortiGate cluster.