How To Clear Disk Space under /opt/pancfg When Panorama is Deployed in FIPS mode
1883
Created On 09/21/21 22:10 PM - Last Modified 10/23/26 20:14 PM
Objective
This article explains some of the steps/recommendations that can help reduce disk utilization under /opt/pancfg directory for a virtual panorama in FIPS mode.
Environment
- VM Panorama
- PANOS 9.0/9.1/10.0
Procedure
NOTE: When panorama is deployed in FIPS mode, that means we do not have a way to access the device from Root. Hence, we do not have the visibility to check what data is consuming the disk space under /opt/pancfg partition.
- Please ensure the system requirements meet the recommendations in the below document. Reference link:https://docs.paloaltonetworks.com/panorama/9-0/panorama-admin/set-up-panorama/set-up-the-panorama-virtual-appliance/setup-prerequisites-for-the-panorama-virtual-appliance.html
- Try deleting old software images, dynamic updates etc as documented in the below article to see if that can help free up the disk space.
Reference: https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u0000008V5bCAE - Also try to clear up the device monitoring data, please run the following commands on the panorama CLI to clear device monitoring data:
> debug mongo clear database pan_devmon instance mdb
> debug mongo clear database mon_summary instance mdb
- If none of the above options helped to reduce the disk space, we will have to spin a new VM instance.
Executing the following commands will stop themdbprocess:
> debug mongo clear database pan_devmon instance mdb Are you willing to delete the data? This operation can not be reverted (y or n) Delete data 'pan_devmon' under path: /opt/pancfg/mgmt/mongo/data Process 'mdb' executing STOP
> debug mongo clear database mon_summary instance mdb Are you willing to delete the data? This operation can not be reverted (y or n) Delete data 'mon_summary' under path: /opt/pancfg/mgmt/mongo/data
- After the database cleanup is complete, restart the
mdbprocess by running the following command:
sparveen@panorama01.swz0.service-now.com(primary-suspended)> debug software restart process mdb Process mdb was restarted by user sparveen
Verify that both the dmdb and mdb processes are running:
sparveen@panorama01.swz0.service-now.com(primary-suspended)> show system software status | match mdb
Process dmdb running (pid: 5906)
Process mdb running (pid: 12604)