Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Step to use /mnt for docker storage.
The job "smoke-tests-container" of the "Test Incoming Changes" workflow was running out of disk space again. Debugging with tmate I saw that there's another 75GB disk mounted (sdb) in /mnt that's not being used. runner@fv-az975-229:~/work/cnf-certification-test/cnf-certification-test$ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 73G 73G 463M 100% / tmpfs 7.9G 172K 7.9G 1% /dev/shm tmpfs 3.2G 1.6M 3.2G 1% /run tmpfs 5.0M 0 5.0M 0% /run/lock /dev/sda15 105M 6.1M 99M 6% /boot/efi /dev/sdb1 74G 4.1G 66G 6% /mnt tmpfs 1.6G 12K 1.6G 1% /run/user/1001 runner@fv-az975-229:~/work/cnf-certification-test/cnf-certification-test$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 111.9M 1 loop /snap/lxd/24322 loop1 7:1 0 63.9M 1 loop /snap/core20/2105 loop2 7:2 0 40.4M 1 loop /snap/snapd/20671 sda 8:0 0 75G 0 disk ├─sda1 8:1 0 74.9G 0 part / ├─sda14 8:14 0 4M 0 part └─sda15 8:15 0 106M 0 part /boot/efi sdb 8:16 0 75G 0 disk └─sdb1 8:17 0 75G 0 part /mnt I've reconfigured the docker daemon to use a newly created folder /mnt/docker-storage as storage folder, so all the images (including the ones kind uses) should be stored there. With this change, before the cnf test suite starts, this is the new disk usage: runner@fv-az570-650:~/work/cnf-certification-test/cnf-certification-test$ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 73G 54G 20G 74% / tmpfs 7.9G 172K 7.9G 1% /dev/shm tmpfs 3.2G 1.6M 3.2G 1% /run tmpfs 5.0M 0 5.0M 0% /run/lock /dev/sda15 105M 6.1M 99M 6% /boot/efi /dev/sdb1 74G 23G 48G 32% /mnt tmpfs 1.6G 12K 1.6G 1% /run/user/1001 The kind cluster and its containers are now createded in /mnt, so now there's 20G of free space left in /. Added the same workaround for the "smoke-tests-local" job.
- Loading branch information