Actions when projects cannot be archived due to lack of disk space
Introduction
It might happen that you report an issue involving projects that cannot be archived in the XTM Cloud UI. The most frequent cause of this issue is that there is not enough disk space on your server.
Specifics
This issue might be caused by insufficient free space on your backups drive, where archived projects are stored, because it is completely full.
You can easily check your disk space usage by running the following command: df -h. It shows the amount of total, free and used disk space on all mounted partitions and drives, which can be helpful when determining what is causing a slowdown at any time. Keeping enough free space on a disk is crucial, to keep the system running smoothly. For example, having a full root partition "/" can destabilize the whole operating system.
This is a sample output:
Filesystem Size Used Avail Use% Mounted on
devtmpfs 63G 0 63G 0% /dev
tmpfs 63G 236K 63G 1% /dev/shm
tmpfs 63G 4.1G 59G 7% /run
tmpfs 63G 0 63G 0% /sys/fs/cgroup
/dev/md2 79G 26G 49G 35% /
/dev/md0 2.0G 339M 1.6G 18% /boot
tmpfs 13G 0 13G 0% /run/user/1001
/dev/drbd1 726G 540G 186G 75% /mnt/xtmdata
/dev/drbd2 1.9T 1.9T 20K 100% /backups
tmpfs 13G 0 13G 0% /run/user/1002
In this particular example case, you would need to pay attention to the /backups directory:
/dev/drbd2 1.9T 1.9T 20K 100% /backups
Make sure that you clean up this drive, either by deleting some archived projects or by moving them to external storage.
IMPORTANT!
Keep in mind that, after big cleanups, a quick XTM Cloud restart might be needed, to clear up the memory, as the server is Linux-based.