Skip to main content

Solving Storage Space Issues on Aetina Evaluation System

Use a 32 GB or larger card

We recommend using at least a 32 GB microSD card with the Aetina Evaluation System, because the onboard storage is limited.

Check available space

First, check how much space is left on the host:

df -h /home/firefly/.cache/axelera/data
Filesystem      Size  Used Avail Use% Mounted on
/dev/root 14G 11G 2.2G 84% /

Clear the data cache

List what is in the Axelera data cache:

ls -l /home/firefly/.cache/axelera/data
total 8
drwxrwxr-x 7 firefly firefly 4096 Mar 3 19:37 coco
drwxrwxr-x 2 firefly firefly 4096 Mar 5 14:16 ImageNet

Then remove it:

rm -rf /home/firefly/.cache/axelera/data
What this removes

This only clears downloaded datasets and cached artifacts. The SDK re-downloads what it needs the next time you run a pipeline.

Move the cache to the SD card

Find your SD card mount point. In this example it is /axelera (partition mmcblk1p1):

lsblk -f
NAME         FSTYPE FSVER LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
mmcblk0
├─mmcblk0p1
├─mmcblk0p2
├─mmcblk0p3
├─mmcblk0p4
├─mmcblk0p5
├─mmcblk0p6 ext4 1.0 Ubuntu22.04 070cba99-920e-4eba-b0fd-a99d4164a59a 5.1G 59% /
├─mmcblk0p7 ext2 1.0 oem c39e9152-a87a-4610-8c1e-6a6661b32978
└─mmcblk0p8 ext2 1.0 38159d3a-b068-4bcf-bc4d-a710ed99dad3 5.7G 55% /userdata
mmcblk0boot0
mmcblk0boot1
mmcblk1
└─mmcblk1p1 ext4 1.0 axelera 17063eae-12a6-4d8b-a4dd-8f9ebdbf3921 204G 7% /axelera
zram0

Create a directory for the data on the SD card:

mkdir -p /axelera/axelera_data

Point the cache folder to the new location with a symlink:

ln -s /axelera/axelera_data /home/firefly/.cache/axelera/data

Verify the symlink:

ls -l /home/firefly/.cache/axelera/data
lrwxrwxrwx 1 firefly firefly 21 Mar  5 14:49 /home/firefly/.cache/axelera/data -> /axelera/axelera_data