03-24-2023 08:29 AM
Greetings,
I ran readiness check before the upgrade 6.6.4 to 7.0.5 on FTD Firepower 2130. I got error message:
"SCRIPT NAME: 000_start/410_check_disk_space.sh
RECOVERY MESSAGE: Not enough disk space available in /ngfw(Filesystem:/dev/sda4) to perform the upgrade.(Current available disk space: 62239752KB. Minimum required disk space: 116535669KB)."
Verify the disk, I see it have 65GB available but it is still not enough. /dev/sda4 xfs 136G 72G 65G 53% /ngfw
I found the folder "db" has 51GB.
root@dc2-bos-fw-1:/ngfw/Volume/root2/ngfw/var/cisco/deploy# du -sh *
51G db
root@dc2-bos-fw-1:/ngfw/Volume/root2/ngfw/var/cisco/deploy/db# du -sh * | sort -rh | head -5
235M 81604412217
222M 81604428579
182M 81604379708
174M 38654983044
174M 38654978829
Could you advise if I can delete files in this folder ?
Thanks in advance,
Long
Solved! Go to Solution.
03-24-2023 09:50 AM
If the db folder is the one taking up too much disk space, do not directly delete any files there.
Instead, open a TAC case and have them verify that's the only feasible place where too much space is being used. If they confirm that, it may be necessary to rebuild the database which must be done with TAC guidance using some scripts.
Failure to do so according to these steps may result in corrupting the server altogether leaving you with an unusable system.
03-24-2023 09:50 AM
If the db folder is the one taking up too much disk space, do not directly delete any files there.
Instead, open a TAC case and have them verify that's the only feasible place where too much space is being used. If they confirm that, it may be necessary to rebuild the database which must be done with TAC guidance using some scripts.
Failure to do so according to these steps may result in corrupting the server altogether leaving you with an unusable system.
03-28-2023 10:32 AM
Sorry for my late reply. I created ticket to Cisco but still waiting for a WebEx session. I will update here if have any update from the TAC. Marvin, Appreciate your input!!!
03-31-2023 08:15 AM
I clean up old folders in this path /ngfw/Volume/root2/ngfw/var/cisco/deploy/db# , it fixed the issue.
Notice, I got same issue on 2 FP1140, I did the same and now all 3 FP passed the readiness check, no issue.
Thank again Marvin for helping us.
01-22-2024 01:18 PM
I have this problem
root@PSFMCPRD0100:/var/log# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 3.7G 1.7G 1.8G 49% /
none 16G 0 16G 0% /dev
/dev/sda1 87M 16M 65M 20% /boot
/dev/sda7 238G 167G 60G 74% /Volume
none 16G 128K 16G 1% /dev/shm
tmpfs 16G 0 16G 0% /sys/fs/cgroup
tmpfs 16G 0 16G 0% /sys/fs/cgroup/pm
root@PSFMCPRD0100:/var/log# cd /Volume
root@PSFMCPRD0100:/Volume#
root@PSFMCPRD0100:/Volume#
root@PSFMCPRD0100:/Volume#
root@PSFMCPRD0100:/Volume# ls
7.2.4-169 home lib lost+found
root@PSFMCPRD0100:/Volume# du -sh * | sort -rh | head -5
^C
root@PSFMCPRD0100:/Volume# du -sh * | sort -rh
^C
root@PSFMCPRD0100:/Volume# du -sh *
50G 7.2.4-169
456K home
112G lib
16K lost+found
root@PSFMCPRD0100:/Volume# ^
01-23-2024 07:49 AM
@jorge.olivera check for large files by running the following (as root user):
find /Volume -type f -exec du -Sh {} + | sort -rh | head -n 15
Please share the output.
05-03-2024 04:55 AM
Hello,
I also encountered the same problem. Which files did you delete from the directory you mentioned? Will it cause a problem if I delete the files in this output?
root@OTFW2:/ngfw/Volume/root2/ngfw/var/cisco/deploy# du -sh *
52M 300647710824-manual-rollback-policy-bundle.tgz
94M 335007492661-manual-rollback-files
4.0K NAPOverride.lua
8.0K cache
93M current-policy-bundle.tgz
1.3M db
7.7M deploy.stats
433M export-cache
6.9G pkg
12K progressmsg.txt
4.0K rulescache
74M running-sandbox.tgz
61M sandbox
0 skip_snort_validate
20K tmp
root@OTFW2:/ngfw/Volume/root2/ngfw/var/cisco/deploy# ls -la
total 230856
drwxr-xr-x 10 www www 4096 May 2 22:08 .
drwxr-xr-x 6 root root 4096 Jul 21 2023 ..
-rw-r--r-- 1 root root 54054900 Dec 16 14:46 300647710824-manual-rollback-policy-bundle.tgz
drwxr-xr-x 4 root root 4096 May 2 22:04 335007492661-manual-rollback-files
-rw-r--r-- 1 root root 184 Dec 17 11:00 NAPOverride.lua
drwxr-xr-x 2 root root 4096 Dec 17 11:53 cache
-rw-r--r-- 1 root root 97137985 May 2 22:04 current-policy-bundle.tgz
drwxr-xr-x 3 www www 4096 May 2 22:08 db
-rw-r--r-- 1 root root 7984736 May 2 22:08 deploy.stats
drwxr-xr-x 14 root root 4096 May 2 22:04 export-cache
drwxr-xr-x 3 www www 4096 Jan 1 2014 pkg
-rw-r--r-- 1 root root 9084 May 2 22:08 progressmsg.txt
drwxr-xr-x 2 root root 4096 May 2 22:05 rulescache
-rw-r--r-- 1 root root 77147673 May 2 22:08 running-sandbox.tgz
drwxr-xr-x 3 www root 4096 May 2 22:04 sandbox
-rw-r--r-- 1 root root 0 Apr 29 15:05 skip_snort_validate
drwxr-xr-x 3 www www 4096 May 2 22:08 tmp
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