Overview

For appliance platforms, three partitions exist due to image-based upgrades. The logs are on their partition separated from the application.

For private and public cloud platforms, only one partition exists, and the logs are consequently in the root partition. Without a dedicated partition, the logs can fill up the disk space and severely impact the system's performance.

This feature implementation ensures the logs are recorded in a separate logical partition. The SBC image (qcow2, vmdk) is built with a 35 GB disk. The disk is partitioned into two lvm partitions:

  • 25 GB for root partition ( / )
  • The remaining space for the log partition (/var/log/). 

When installed on cloud OpenStack with an additional disk for logging:

  • For installation: The entire primary disk space is used by the root partition while the additional disk space is used for logging. 
  • For upgrade: The entire primary disk is used by the root partition while the additional disk space is used for logging.

A minimum of 35 GB of additional log disk size (if present) is needed for the SBC to start. The entire primary disk is used by the root partition while the additional disk is used for logging.