- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-30-2017 06:17 PM - edited 10-30-2017 06:18 PM
I have found that disk-space is getting higher which is mounted on /.
I just wonder the role of each filesystem.
I know /dev/md5 is mounted on /opt/pancfg, /dev/mp6/ is on /opt/panrepo and so on.
What is the role of / and what kind of files are there, appropraite use rate and how can i reduce the use rate?
10-31-2017 02:27 AM
The PAN-OS will clean up the filesystem automatically, when the / exceeds at 95% with the following message.
"Disk usage for / exceeds limit, 95 percent in use, cleaning filesystem"
However, the firewall will fill up the disk again and this is very annoying, especially on smaller platforms with limited space. The root / partition disk space can be reduced by these commands:
delete debug-log mp-log file *.1
delete debug-log mp-log file *.2
delete debug-log mp-log file *.3
delete debug-log mp-log file *.old
10-30-2017 09:14 PM - edited 10-31-2017 01:19 PM
I'd like to know the answer to this as well. just dealt with a similar issue not too long ago. Although my problem was with the main partition md2. We were sitting between 96-98%. With the help of support I was given commands that help brought it down to around 89%.
As far as answering what those partitions are this article may answer your question (depending on the PA model you are using.)
Go straight to page 8 and read on down. Mine is in the 5000 series so thats the only documentation I have.
10-30-2017 10:17 PM
Thank you for your reply. Could you tell me which command you used that help it down?
This is PA-5020. I can't find it in your document.
Thanks
10-31-2017 01:25 AM
the / partition holds the operating system, core files and some native log files
it is normal that there's only a few 100mb free since the largest part is taken up by the PAN-OS
if you're in the decimals, you should investigate if there may have been core files because a process crashed
reaper@myNGFW> show system files /var/cores/: total 4.0K drwxr-xr-x 2 root root 4.0K Sep 1 11:09 crashinfo /var/cores/crashinfo: total 0 /opt/panlogs/cores/: total 0 /opt/dpfs/var/cores/: total 4.0K drwxr-xr-x 2 root root 4.0K Sep 1 11:10 crashinfo /opt/dpfs/var/cores/crashinfo: total 0
10-31-2017 02:27 AM
The PAN-OS will clean up the filesystem automatically, when the / exceeds at 95% with the following message.
"Disk usage for / exceeds limit, 95 percent in use, cleaning filesystem"
However, the firewall will fill up the disk again and this is very annoying, especially on smaller platforms with limited space. The root / partition disk space can be reduced by these commands:
delete debug-log mp-log file *.1
delete debug-log mp-log file *.2
delete debug-log mp-log file *.3
delete debug-log mp-log file *.old
10-31-2017 05:49 AM
Looks like your question was answered but i'll post what I was sent anyway.
To clear space please enter the below commands:
(active)> delete debug-log mp-log file *.old
(active)> delete debug-log mp-log file *.log.4
(active)> delete debug-log mp-log file *.log.3
(active)> delete debug-log mp-log file *.log.2
(active)> delete debug-log mp-log file *.log.1
(active)> delete debug-log dp0-log file *.old
(active)> delete debug-log dp0-log file *.log.4
(active)> delete debug-log dp0-log file *.log.3
(active)> delete debug-log dp0-log file *.log.2
(active)> delete debug-log dp0-log file *.log.1
(active)> delete debug-log dp1-log file *.old
(active)> delete debug-log dp1-log file *.log.4
(active)> delete debug-log dp1-log file *.log.3
(active)> delete debug-log dp1-log file *.log.2
(active)> delete debug-log dp1-log file *.log.1
(active)> delete debug-log dp2-log file *.old
(active)> delete debug-log dp2-log file *.log.4
(active)> delete debug-log dp2-log file *.log.3
(active)> delete debug-log dp2-log file *.log.2
(active)> delete debug-log dp2-log file *.log.1
After running these commands it chopped my main partition down from 96% to 89%.
10-08-2018 05:05 PM
I am facing this issue as PAN admin from last 3 years on PA 5050 boxes. Its frustrating to manually delete these old files from cp/dp/mp everytime this issue happens. Is PAN working to automate this process ? I have seen even after 95 % usage the disk space is not cleaned up until I manually delete old files.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!