MariaDB update fills up /usr partition

wtptrs

Verified User
Joined
Jul 13, 2015
Messages
329
MariaDB Custombuild upgrades on some of our older servers are failing because of a 10GB (actually 9.2GB) /usr partition which is too small for the upgrade. As these are not yet LVM partitioned and /usr is not the last partition, they're pretty hard to enlarge.

At the moment some 3.5GB is available on the /usr partition and MariaDB uses about 2.3GB. The issue is that during the upgrade, the new MariaDB version gets 1) downloaded (2GB+ .tar.gz) and unzipped (2GB+ folder) in the /usr partition, so for a short moment, both the old version, new version and .tar.gz file are present in the /usr partition, taking up more than 3.5GB.

Is there an easy way to make Custombuild download the new version to a custom folder on another partition and unzip it to the /usr partition?
 
are you makesure that come from mariadb.*. .tar.gz ?

look like you enable " mysql_force_compile ", try disabled it.

when you need upgrade mysql/mariadb, DA has ability backup all database
and with this function you can change backup folder with variable name " mysql_backup_dir "

if you not have enougth space to create backup,
try change " mysql_backup_dir " config.
 
Back
Top