Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

Old OS versions

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Old OS versions

L4 Transporter

I have serveral version of the OS under the device\software tab, is there first any harm to deleted old unused ones and will  I regain disk space, a usefull amount?. I want to keep more logs on the box and am looking for ways to increase the space for logging. Any suggestions will be appreciated.

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

Hi

 

clearing out old PANOS versions will clear up space in the /panrepo partition, but logs are stored in /panlogs

 

> show system disk-space 

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             3.8G  2.3G  1.3G  65% /
/dev/sda5             7.6G  4.2G  3.0G  59% /opt/pancfg
/dev/sda6             3.8G  2.9G  775M  79% /opt/panrepo
tmpfs                 1.9G  116M  1.8G   7% /dev/shm
/dev/sda8              90G   20G   65G  24% /opt/panlogs

when deleting old images it's best to check which version is installed in the 'backup' partition:

 

> debug swm status

Partition         State             Version
--------------------------------------------------------------------------------
sysroot0          PENDING-CHANGE    7.0.4
sysroot1          RUNNING-ACTIVE    7.0.3
maint             READY             7.0.1

in my example you can see i'm currently active on 7.0.3 and am awaiting upgrade to 7.0.4

 

this means both sysroot volumes are on 7.0 and so i can safely remove all 6.1 images. if your secondary sysroot is still on 6.1, you will need to keep 6.1.0 as base plus the maintenance version currently installed. 

 

the way to 'create' more space for logs is by changing log quotas so desired logs have more space and less useful logs are pruned or installing centralized logging like panorama or a syslog server which could offer virtually limitless storage capacity

 

beware changing the logdb quota on the firewall may purge the log files

 

2016-02-09_17-14-08.png

 

 

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

View solution in original post

2 REPLIES 2

Cyber Elite
Cyber Elite

Hi

 

clearing out old PANOS versions will clear up space in the /panrepo partition, but logs are stored in /panlogs

 

> show system disk-space 

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             3.8G  2.3G  1.3G  65% /
/dev/sda5             7.6G  4.2G  3.0G  59% /opt/pancfg
/dev/sda6             3.8G  2.9G  775M  79% /opt/panrepo
tmpfs                 1.9G  116M  1.8G   7% /dev/shm
/dev/sda8              90G   20G   65G  24% /opt/panlogs

when deleting old images it's best to check which version is installed in the 'backup' partition:

 

> debug swm status

Partition         State             Version
--------------------------------------------------------------------------------
sysroot0          PENDING-CHANGE    7.0.4
sysroot1          RUNNING-ACTIVE    7.0.3
maint             READY             7.0.1

in my example you can see i'm currently active on 7.0.3 and am awaiting upgrade to 7.0.4

 

this means both sysroot volumes are on 7.0 and so i can safely remove all 6.1 images. if your secondary sysroot is still on 6.1, you will need to keep 6.1.0 as base plus the maintenance version currently installed. 

 

the way to 'create' more space for logs is by changing log quotas so desired logs have more space and less useful logs are pruned or installing centralized logging like panorama or a syslog server which could offer virtually limitless storage capacity

 

beware changing the logdb quota on the firewall may purge the log files

 

2016-02-09_17-14-08.png

 

 

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

Thats what I thought but you presented it very well as always reaper

  • 1 accepted solution
  • 4381 Views
  • 2 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!