PAM-UPD-0019: Network Storage for database backup does not have enough free space

book

Article ID: 192736

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM)

Issue/Introduction

The PAM database backups had been correctly running for a long time, but now, unexpectedly, PAM is showing the error:

PAM-UPD-0019: Network Storage for database backup does not have enough free space.

However, the external storage for database backups has lots of free space.
The error condition persists and the scheduled database backups are not performed since the error occurred.

Cause

PAM 3.x calculates the database size based on the disk space used in /var/lib/mysql, which normally takes about 500 Mb - 700 Mb.
Particularly, in PAM versions 3.3.x the size of this directory is bound to greatly overestimate the size of the DB backup, because it includes huge transaction logs.
In order to calculate the amount of disk required to hold a database backup, the system compares this value with the free space in the external storage for database backups.
In case the amount of free space be smaller than the disk space used in /var/lib/mysql, then the error is raised, even though the resulting database backup file sizes are about a few Mb as they are previously encrypted and compressed.

Environment

Product: Layer 7 Privileged Access Management
Version: 3.x

Resolution

In order to avoid this problem just increase the amount of free space in the external storage for database backups.