PAN self-cleanup

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

PAN self-cleanup

L1 Bithead

Does all the partitions showing below has self cleaning Capabilities or there is a need to manually clear those files like for eg I know old downloaded software can be deleted to free some space from  panrepo partition?

 

Filesystem Size Used Avail Use% Mounted on
/dev/sda3 16G 5.7G 8.7G 40% /
/dev/sda5 16G 2.2G 13G 16% /opt/pancfg
/dev/sda6 12G 5.0G 5.8G 46% /opt/panrepo
tmpfs 7.9G 210M 7.6G 3% /dev/shm
/dev/sda8 51G 791M 48G 2% /opt/panlogs
tmpfs 12M 0 12M 0% /opt/pancfg/mgmt/lcaas/ssl/private

 

 

 

 

 

 

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

@ansmittal,

 

PAN-OS file system runs mechanism by default to clear disk-space. But in some cases, we need to manually clear disk space. 

 

/panrepo partition include all the downloaded PAN images. This can be clear manually from CLI/GUI.

/panlogs partition contains all logs and and those gets clear with cleanup mechanism.

 

You can even cleanup log files manually using below cli commands,

 

> delete debug-log ?
> cp-log      Remove cp-log at /opt/var.cp/log/pan/
> dp0-log     Remove dp0-log at /opt/var.dp0/log/pan/
> dp1-log     Remove dp1-log at /opt/var.dp1/log/pan/
> dp2-log     Remove dp2-log at /opt/var.dp2/log/pan/
> mp-global   Remove mp-global at /opt/mp-global/
> mp-log      Remove mp-log at /var/log/pan/

 

 Hope it helps!

 

Mayur

M

View solution in original post

3 REPLIES 3

Cyber Elite
Cyber Elite

@ansmittal,

 

PAN-OS file system runs mechanism by default to clear disk-space. But in some cases, we need to manually clear disk space. 

 

/panrepo partition include all the downloaded PAN images. This can be clear manually from CLI/GUI.

/panlogs partition contains all logs and and those gets clear with cleanup mechanism.

 

You can even cleanup log files manually using below cli commands,

 

> delete debug-log ?
> cp-log      Remove cp-log at /opt/var.cp/log/pan/
> dp0-log     Remove dp0-log at /opt/var.dp0/log/pan/
> dp1-log     Remove dp1-log at /opt/var.dp1/log/pan/
> dp2-log     Remove dp2-log at /opt/var.dp2/log/pan/
> mp-global   Remove mp-global at /opt/mp-global/
> mp-log      Remove mp-log at /var/log/pan/

 

 Hope it helps!

 

Mayur

M

@SutareMayur Thanks for your reply, Just wondering does the panrepo also clears up automatically,like old downloaded  software and content updates?

@ansmittal,

 

Your manual intervention is required to delete old downloaded software and content updates. (yes, /panrepo also include content updates along with software images. 😉 ). Those downloaded images are there for easy revert back to old version if required.

 

Mayur

M
  • 1 accepted solution
  • 5288 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!