Message d’erreur « L’utilisation du disque pour /opt/pancfg dépasse la limite » affiché après la mise à niveau vers la version 10.2.x
94073
Created On 11/15/22 21:33 PM - Last Modified 01/31/23 00:16 AM
Symptom
- Partition /opt/pancfg très utilisée.
- Impossible de télécharger de nouvelles images de contenu ou impossible de se connecter à l’interface utilisateur Web, etc.
- Les journaux système signalent une utilisation élevée du disque telle que « L’utilisation du disque pour /opt/pancfg dépasse la limite »
admin@Panorama> show system disk-space
Filesystem Size Used Avail Use% Mounted on
/dev/root 7.9G 5.5G 2.1G 74% /
none 32G 116K 32G 1% /dev
/dev/sda5 24G 21G 2.1G 91% /opt/pancfg
/dev/sda6 5.8G 1.5G 4.1G 27% /opt/panrepo
....(output omitted)....
- Mongo DB utilise un espace énorme;
admin@Panorama> show system pancfg-directory-usage
12G /opt/pancfg/mgmt
12G /opt/pancfg
8.6G /opt/pancfg/mgmt/mongo/data
8.6G /opt/pancfg/mgmt/mongo
1.6G /opt/pancfg/mgmt/deploy/sw-images
....(output omitted)...
Environment
- Quelconque Panorama
- PAN-OS 10.2.x
Resolution
- Pour optimiser et nettoyer la partition /opt/pancfg, utilisez la nouvelle commande suivante.
>debug pancfg-directory-usage set optimize-database-usage
- Exemple de Avant et après la commande donnée ci-dessous.
admin@Panorama> show system pancfg-directory-usage 12G /opt/pancfg/mgmt 12G /opt/pancfg 8.6G /opt/pancfg/mgmt/mongo/data 8.6G /opt/pancfg/mgmt/mongo 1.6G /opt/pancfg/mgmt/deploy/sw-images ....(output omitted)... admin@Panorama> debug pancfg-directory-usage set optimize-database-usage Transfered mdb to storage engine: wired-tiger admin@Panorama> show system pancfg-directory-usage 3.5G /opt/pancfg/mgmt 3.5G /opt/pancfg 1.6G /opt/pancfg/mgmt/deploy/sw-images 1.6G /opt/pancfg/mgmt/deploy 1.2G /opt/pancfg/mgmt/updates 722M /opt/pancfg/mgmt/updates/curcontent 406M /opt/pancfg/mgmt/updates/oldcontent 302M /opt/pancfg/mgmt/mongo/data 302M /opt/pancfg/mgmt/mongo 275M /opt/pancfg/mgmt/content-images 72M /opt/pancfg/mgmt/content-preview
- Si le problème persiste, ouvrez un dossier de support.