How Do I Prepare PAN-OS Image Files for Upgrade When the Root Partition is Nearly Full?
34948
Created On 04/11/19 09:08 AM - Last Modified 04/11/19 17:13 PM
Question
How do I prepare PAN-OS image files for upgrade when the root partition is nearly full?
Answer
You can check the disk space by following the command below:
> show system disk-space
Filesystem Size Used Avail Use% Mounted on
/dev/md3 3.8G 2.5G 1.1G 70% /
/dev/md5 7.6G 3.9G 3.3G 55% /opt/pancfg
/dev/md6 3.8G 2.8G 883M 76% /opt/panrepo
tmpfs 2.0G 116M 1.9G 6% /dev/shm
cgroup_root 2.0G 0 2.0G 0% /cgroup
/dev/md8 198G 7.3G 181G 4% /opt/panlogs
There are four ways to prepare PAN-OS image files:
1. Download from update server (web interface)
2. Upload from client PC via the web interface
3. Upload from client PC via SCP (CLI)
4. Upload from client PC via TFTP (CLI)
If the root partition is full, options 1, 3, or 4 are recommended because option 2 uses the root partition to upload PAN-OS image files. There is a possibility that you can prepare PAN-OS image files if you avoid using the root partition. If you upload PAN-OS image file via the web interface, PAN-OS image files are stored in another partition after uploading and the root partition usage decreases.
Used partition at each case is below:
===================================
Case1: Download from update server(GUI)
<Used partition>
Download - /opt/panrepo
Store - /opt/panrepo
Case2: Upload from client PC via GUI
<Used partition>
Upload - /
Store - /opt/pancfg
Case3: Upload from client PC via SCP(CLI)
Case4: Upload from client PC via TFTP(CLI)
<Used partition>
Upload - /opt/pancfg
Store - /opt/pancfg
===================================
Additional Information
For more information, please see: How and When To Clear Disk Space on a Palo Alto Networks Device.