Created on
‎09-20-2024
01:38 AM
Edited on
‎08-06-2025
07:38 AM
By
Stephen_G
Description | This article describes the case when creating a geo-location it is impossible to see that option in the policy and get this error on debug 'No space left on device'. |
Scope | FortiGate. |
Solution |
While checking to debug it getting an error like 'Failed to copy new obj file /tmp/upd5DQ7fR to /etc/geoip_db.gz, errno=28, No space left on device'.
Version: 0.00000
Solution:
Flash-format the device then re-load the image file same version and upload the config backup. Also, make sure while doing this activity to try to connect the console cable to the device and perform the activity:
Useful commands: diagnose debug reset diagnose debug application update -1 diagnose debug enable
To stop the debug, run the following commands:
diagnose debug disable diagnose debug reset
To verify the status after deleting IP Geography database:
diagnose autoupdate version
To verify the status after updating the IP Geography database:
diagnose autoupdate versions | grep -f -A6 "IP Geography DB"
Note: This issue happens on the lower-end device that has 2 GB RAM.
Before formatting the flash drive completely, test the following options:
Check if the device has any unused image in flash that is consuming memory. If there is any other image apart from primary and backup image then it can be removed. Verify this with the following command:
execute disk list execute disk format <ref-ID> <----- Reference ID can be found from the above command.
Related article: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.