How to Check System Disk Space Partition Breakdown and lower the disk partition

How to Check System Disk Space Partition Breakdown and lower the disk partition

21512
Created On 03/04/22 18:47 PM - Last Modified 07/22/26 07:00 AM


Question


What do the different disk partitions mean in show system disk-space, and how can I clear disk space if a partition gets full?

> show system disk-space
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       3.8G  3.2G  438M  89% /
none            2.5G   56K  2.5G   1% /dev
/dev/mmcblk0p5   12G  7.4G  3.5G  69% /opt/pancfg
/dev/mmcblk0p6  3.8G  2.1G  1.6G  58% /opt/panrepo
tmpfs           2.5G  357M  2.2G  15% /dev/shm
cgroup_root     2.5G     0  2.5G   0% /cgroup
/dev/mmcblk0p8  4.7G  2.7G  1.8G  62% /opt/panlogs
/dev/loop0      111M  5.6M  100M   6% /opt/panlogs/wildfire/tmpfile


 



Environment


  • All Palo Alto Networks Firewalls

  • All PAN-OS Versions



Answer


> show system disk-space
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       3.8G  3.2G  438M  89% / ---------> system root partition
none            2.5G   56K  2.5G   1% /dev
/dev/mmcblk0p5   12G  7.4G  3.5G  69% /opt/pancfg ---------> PAN config partition 
/dev/mmcblk0p6  3.8G  2.1G  1.6G  58% /opt/panrepo ---------> PAN OS repository partition
tmpfs           2.5G  357M  2.2G  15% /dev/shm
cgroup_root     2.5G     0  2.5G   0% /cgroup
/dev/mmcblk0p8  4.7G  2.7G  1.8G  62% /opt/panlogs ---------> PAN Log related partition
/dev/loop0      111M  5.6M  100M   6% /opt/panlogs/wildfire/tmpfile
  • / : system root partition :
    • If usage exceeds 90%, run this CLI command to clean up system temporary files:

      Plaintext
      debug software disk-usage cleanup deep threshold 90
  • /opt/pancfg : pan config partition 
    • Delete old or unused saved configuration snapshots.

    • Delete downloaded software images and old dynamic update content that are no longer needed.

    • (PAN-OS 10.2 or higher) Check specific folder usage with the CLI command:

  • > show system pancfg-directory-usage

    14G     /opt/pancfg
    13G     /opt/pancfg/mgmt
    5.1G    /opt/pancfg/mgmt/sw-images
    4.2G    /opt/pancfg/mgmt/updates
    1.7G    /opt/pancfg/mgmt/updates/oldcontent
    1.5G    /opt/pancfg/mgmt/updates/curcontent
    1.2G    /opt/pancfg/mgmt/uploaded/sw-images

    ...

  • /opt/panrepo: PAN OS repository partition 
    • Delete older downloaded PAN-OS images from Device > Software.
  • /opt/panlogs : pan log related partition
    • Reduce the log storage quota under Device > Setup > Management > Logging and Reporting Settings.

    • Alternatively, clear old log files via CLI or let the firewall automatically overwrite older logs as needed.



Additional Information




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u0000004NS7CAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language