09-26-2023 04:05 AM
09-26-2023 05:47 AM
You can start by identifying the largest files. Run the following command as root user (i.e., "sudo su -" first):
find /var -type f -exec du -Sh {} + | sort -rh | head -n 15
09-26-2023 02:04 PM
You didn't mention it so I'm going to suggest checking System > Tools > Backup > Restore > Backup Management
Check "Firewall Management Backups" and find the last page. Select the check box and remove those backups until you get the 1st/2nd page.
Check the "Device Backups" and find the last page. Select the check box and remove those backups until you get to the 1st/2nd page.
We recently have run into an issue with our FPR 2110 where it hit over 80% and couldn't pass the check readiness portion of the upgrade process. I went in and removed old install files from 6.6.X as we are on 7.2.4. I found plenty of old files to remove and got it under 70%. The next day I ran the check readiness tool and it failed again because it went over 70%. This triggered the failure during check readiness.
I can't find large enough files to remove it and the TAC engineer thins it's a bug. Waiting to schedule a webex to find out more.
10-12-2023 06:54 AM
thanks Eric !
There were not much files but I deleted 6-7 files but still same.
10-12-2023 08:13 AM
Did you check the command I suggested on 9-26?
You could also be hitting this bug below. the link has a work around.
10-16-2023 01:36 AM
I tried 9-26 and below are the large files.
4.4G /var/opt/CSCOpx/databases/vms/vms.db
4.3G /var/opt/CSCOpx/upgrade/fmc/dbdata/7.0.1/vms.db
3.3G /var/common/core_1696168400_US-VA-IAD-FMC-01.iri.int_mariadbd_6.11468
2.0G /var/sf/updates/Cisco_Firepower_Mgmt_Center_Upgrade-7.0.5-72.sh.REL.tar
1.7G /var/common/192.168.160.203-cd6d7f40-dd4f-11ea-be2d-98ca4c71559d-troubleshoot.tar.gz
1.1G /var/lib/mysql/sfsnort/packet_log_1568897640_0.MYD
10-12-2023 02:36 PM
So we just cleaned up our issue via TAC. We went in and we ran through some commands to track down a bunch of files. Here is the output from my WebEx. I recommend opennng a webex unless your really confident/comfortable in your regex skills to parse the file for proper date formats and understand Linux/Unix commands. I don't have the mysql commands. It didn't require a reload of the device but we did restart a few of the processes so that disk space would be re-read.
"Webex summary: Disk space on /ngfw was showing 72% used. We removed older mysql directories from the device but this only regained 1% disk space. We used the command 'du -s ./* | sort -n -r | head -n 20' to drill down through the filesystem to identify what was taking up space. The directory '/ngfw/Volume/root2/ngfw/var/cisco/deploy/pkg/var/sf/lsp/active-lsp' was using the greatest amount of space, with several small 40 byte files and a large archive file which was the current lsp. We were unable to find anything else which could be deleted to free space."
10-13-2023 04:00 AM
In every instance of high disk usage issues I have seen it has been related to logrotate not being implemented correctly after upgrades. During your TAC session did the engineer check the logrotate files? @Marvin Rhoads has linked to the bug related to this issue, and I have also done a write-up on it in the link below.
https://community.cisco.com/t5/security-knowledge-base/ngfw-high-unmanaged-disk-usage/ta-p/4927059
10-13-2023 05:29 AM
There are several bugs that can cause this. As @Marius Gunnerud correctly noted, the logrotate one is the most common by far.
Another is related to Geodb files. That's why I asked to check for the largest files.
10-14-2023 12:18 AM
That was one of the first things we looked at, GeoDB files.
10-14-2023 12:18 AM
Yes, we went over that and it was working. We also have NFS syslog working.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide