How to Upgrade Panorama system disk on AWS

How to Upgrade Panorama system disk on AWS

1476
Created On 04/09/25 04:40 AM - Last Modified 08/19/25 20:39 PM


Objective


  • In the newer PAN-OS versions like 11.1 or 11.2, the default system disk of 81 GB is not sufficient.
  • This document explains how to upgrade the system disk of Panorama on AWS.
  • This upgrade is supported from 11.1.5 and 11.2.5 onwards.


Environment


  • Panorama
  • PAN-OS 11.1.5 and later
  • PAN-OS 11.2.5 and later
  • AWS


Procedure


  1. Ensure to take the configuration backup of Panorama by following this KB article.
  2. Check the system disk details before the disk upgrade:
    admin@Panorama> show system disk-space

    Filesystem      Size  Used Avail Use% Mounted on
    /dev/root       7.9G  5.3G  2.3G  71% /
    none             15G   72K   15G   1% /dev
    /dev/xvda5       24G  1.7G   21G   8% /opt/pancfg
    /dev/xvda6      5.9G  2.2G  3.5G  39% /opt/panrepo
    tmpfs            15G  129M   15G   1% /dev/shm
    cgroup_root      15G     0   15G   0% /cgroup
    /dev/xvda8       32G  932M   30G   4% /opt/panlogs
    /dev/loop0       13G   32M   12G   1% /opt/mongobuffer

    admin@Panorama> show system disk-partition

    Disk /dev/xvda: 81 GiB, 86973087744 bytes, 169869312 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x0006cbe5

    Device     Boot     Start       End   Sectors  Size Id Type
    /dev/xvda1           2176   2056319   2054144 1003M 83 Linux
    /dev/xvda2        2097280  18874368  16777089    8G 83 Linux
    /dev/xvda3       18874496  35651584  16777089    8G 83 Linux
    /dev/xvda4       35651648 169869311 134217664   64G  f W95 Ext'd (LBA)
    /dev/xvda5       35651712  85983232  50331521   24G 83 Linux
    /dev/xvda6       85983360  98566144  12582785    6G 83 Linux
    /dev/xvda7       98566272 102760448   4194177    2G 83 Linux
    /dev/xvda8      102760576 169869311  67108736   32G 83 Linux

    Disk /dev/loop0: 12.7 GiB, 13581156352 bytes, 26525696 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes

 

      3. From the AWS console, create a new volume of 224GB

    • Under EC2 > Volumes > Create volume

               

 

      4.  Stop the Panorama instance and then attach this volume to the instance.

    • Under EC2 > Volumes > Select the new volume > Actions > Attach volume

               

 

     5. Start the Panorama instance, then migrate disk data from the old system disk to the new system disk. In this example, we are migrating to the newly added system disk labeled xvdbb.

    • Log in to the Panorama CLI. Migrate the disk data to the new system disk using the following command:
                    admin@Panorama> request system clone-system-disk target xvdbb  >>> Use the name displayed in Panorama instead of xvdbb. This can be found using "show system disk details"
                    Enter Y when prompted to begin the disk migration. To begin the migration, Panorama reboots and takes at least 20 minutes to complete the disk migration. During this time the Panorama web interface and CLI are unavailable.
                    Monitor the disk migration from the web Console. Continue to the next step only after Panorama displays the following message to indicate the disk migration is complete.
 
               
 
 
     6. Stop the instance and detach the old disk. 
    • Under EC2 > Volumes > Select the old volume > Actions > Detach volume.

     7. Detach the new bootable disk and attach it back to the instance.

    • Under EC2 > Volumes > Select the new volume > Actions > Detach volume.
    • Select the new volume > Actions > Attach volume with device name as /dev/xvda.

           

 

    8. Start the Panorama instance. Once it is up, check the new disk space and partition and confirm the system took the new 224 GB system disk.

admin@Panorama> show system disk-space

Filesystem      Size  Used Avail Use% Mounted on
/dev/root        16G  5.3G  9.1G  37% /
none             15G   72K   15G   1% /dev
/dev/xvda5       76G  1.8G   70G   3% /opt/pancfg
/dev/xvda6       23G  2.2G   20G  11% /opt/panrepo
tmpfs            15G  129M   15G   1% /dev/shm
cgroup_root      15G     0   15G   0% /cgroup
/dev/xvda8       91G   25G   62G  29% /opt/panlogs
/dev/loop0       36G  340M   34G   1% /opt/mongobuffer

admin@Panorama> show system disk-partition

Disk /dev/xvda: 224 GiB, 240518168576 bytes, 469762048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1cb4bc4d

Device     Boot     Start       End   Sectors   Size Id Type
/dev/xvda1             63   4016249   4016187   1.9G 83 Linux
/dev/xvda2        4016250  36033794  32017545  15.3G 83 Linux
/dev/xvda3       36033795  68051339  32017545  15.3G 83 Linux
/dev/xvda4       68051340 468857024 400805685 191.1G  f W95 Ext'd (LBA)
/dev/xvda5       68051403 228074804 160023402  76.3G 83 Linux
/dev/xvda6      228074868 276093089  48018222  22.9G 83 Linux
/dev/xvda7      276093153 276109154     16002   7.8M 83 Linux
/dev/xvda8      276109218 468857024 192747807  91.9G 83 Linux


Actions
  • Print
  • Copy Link

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