show system disk-space

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

show system disk-space

L4 Transporter

Is this information still correct for 7.1.16 , I am trying to plan my upgrdae from 7.1.16 to some version of 8 and trying to make sure I have enough space on the disk to do it

 

/dev/md6             - PAN-OS Image repository.(Device/Software)

/dev/md2             - Service related logs.

/dev/md8 -          - Allocated for PAN logs.

/dev/md5            - Pan-OS configuration.

 

 

 

18 REPLIES 18

Cyber Elite
Cyber Elite

hi @jdprovine

 

This is true for the operating system so this file structure will likely remain identical for ever and ever and ever 😉

 

only way this would ever change this,  is if we do something dramatic like release a new platform and then only that plaform will have a different structure

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

Hey @reaper

The reason I ask is because I had support login and free some disk-space and some time ago either your or bpry sent me that information describing what the different sections of the drive related too.  So I am trying to make enough space so that I can comfortably upgrade to some version of 8. So I asked him if the section he cleaned up had anything to do with the upgrade of the OS and based on the information I was given it shouldn't, Which was mainly this /dev/md2, which I was told is the service related logs.  I thought what matter for disk space concerning the OS upgrade was this /dev/md5 (Pan-OS configuration) and this /dev/md6 (PAN-OS Image repository) So I thought I would double check. I am not always certain that the TAC techs can understand me

@jdprovine,

dev/md2 can be important depending on what upgrade you are doing and whether or not you have to do a log conversion; which on this particular update everything will be updated due to PAN-OS 8 using a new format. 

@BPry @reaper

This is what my diskspace is today

 

Filesystem Size Used Avail Use% Mounted on
/dev/md2 3.8G 2.9G 762M 80% /
/dev/md5 7.6G 3.6G 3.6G 50% /opt/pancfg
/dev/md6 3.8G 2.8G 830M 78% /opt/panrepo
tmpfs 2.0G 116M 1.9G 6% /dev/shm
cgroup_root 2.0G 0 2.0G 0% /cgroup
/dev/md8 198G 116G 72G 62% /opt/panlogs

 

This /dev/md2 has already gone from 78% to 80%

I have not yet discided what level of 8 to go to or when to upgrade, I am just doing the prep work

I highly recommend 8.0.10

 

80% on / is actually very good

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


@jdprovine wrote:

Hey @reaper

The reason I ask is because I had support login and free some disk-space and some time ago either your or bpry sent me that information describing what the different sections of the drive related too.  So I am trying to make enough space so that I can comfortably upgrade to some version of 8. So I asked him if the section he cleaned up had anything to do with the upgrade of the OS and based on the information I was given it shouldn't, Which was mainly this /dev/md2, which I was told is the service related logs.  I thought what matter for disk space concerning the OS upgrade was this /dev/md5 (Pan-OS configuration) and this /dev/md6 (PAN-OS Image repository) So I thought I would double check. I am not always certain that the TAC techs can understand me


-your /md2 is where the operating system lives, all the OS related files are kept there

the OS also stores it's most personal log files in that partition, which is why it tends to grow larger over time (get more full)

It's important that at least a little bit of space is left for your Operating System to do things: if md2 is 100% full an upgrade will fail because the OS does not have any more wiggle room to do anything

 

 

-when you go and install a new version, you may see that your system is going to mount md3 (this is the second 'sysvol'). Once the install is complete, and the system is rebooted, you will only see md3 and md2 will have been set dormant

 

 

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

@reaper

how come it went fomr 78 to 80% in less than 12 hours

@reaper

So is this information wrong?

 

/dev/md6             - PAN-OS Image repository.(Device/Software)

/dev/md2             - Service related logs.

/dev/md8 -          - Allocated for PAN logs.

/dev/md5            - Pan-OS configuration.


@jdprovine wrote:

@reaper

how come it went fomr 78 to 80% in less than 12 hours


It's a small disk (1.9gigabytes), nothing to worry about.

 

@jdprovine wrote:

@reaper

So is this information wrong?

 

/dev/md6             - PAN-OS Image repository.(Device/Software)

/dev/md2             - Service related logs.

/dev/md8 -          - Allocated for PAN logs.

/dev/md5            - Pan-OS configuration.

md2 is OperatingSystem and it's logs ('daemon' logs)

md5 is config, reports and content updates

md6 is the 'image repository' where software packages are kept before they get installed, or until deleted

md8 is the firewall LogDatabase

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

@reaper

So my information was wrong for md2

not wrong, incomplete 😉

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

@reaper

md2 is back up to 83% and will probably be back to 88% in a week, so any ideas why and if this can be slowed down?

They will continue to increase steadily throughout operation of the device. There really isn’t a way to slow the growth of dameon logs on the device. For the most part they’ll manage themselves unless you’ve enabled certain debug options.

@BPry @reaper

So how to I make sure I have enough diskspace to upgrade to a version of 8 in the future?

  • 6173 Views
  • 18 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!