Fresh Odroid C4 install without space

Hi there,

I have dietpi running on 6 SBCs, everything is fine and I’m happy. Except for the Odroid C4. I flashed the dietpi image onto my C4 emmc with 16 GB of capacity. But as soon as I try to install anything (k3s in my case), I run out of space.

df -h
gives me this:

Filesystem      Size  Used Avail Use% Mounted on
udev            1.9G     0  1.9G   0% /dev
tmpfs           372M   38M  334M  11% /run
/dev/mmcblk0p2  740M  622M  104M  86% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           4.0M     0  4.0M   0% /sys/fs/cgroup
tmpfs           1.9G     0  1.9G   0% /tmp
tmpfs            50M   12K   50M   1% /var/log
/dev/mmcblk0p1  256M   24M  232M  10% /boot

fdisk /dev/mmcblk0
the “p” gives me this:

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        2048   526335   524288  256M  e W95 FAT16 (LBA)
/dev/mmcblk0p2      526336 30576639 30050304 14.3G 83 Linux

du -ah / | sort -n -r | head -n 20

gives me this:

du: cannot access '/sys/kernel/slab/:t-0000512/cgroup/kmalloc-512(96186:k3s.service)': No such file or directory
du: cannot access '/proc/169232/task/169232/fd/4': No such file or directory
du: cannot access '/proc/169232/task/169232/fdinfo/4': No such file or directory
du: cannot access '/proc/169232/fd/3': No such file or directory
du: cannot access '/proc/169232/fdinfo/3': No such file or directory
1020K	/lib/firmware/iwlwifi-cc-a0-46.ucode
1020K	/lib/firmware/iwlwifi-7265D-29.ucode
1012K	/usr/lib/aarch64-linux-gnu/perl-base/auto
1012K	/lib/firmware/iwlwifi-3168-29.ucode
1008K	/lib/firmware/mediatek/mt8183
1008K	/lib/firmware/iwlwifi-7265D-22.ucode
1004K	/lib/firmware/mediatek/mt8183/scp.img
1004K	/lib/firmware/iwlwifi-3168-22.ucode
1004K	/boot/.Spotlight-V100
996K	/lib/modules/4.9.241-arm64/kernel/drivers/amlogic/media_modules/stream_input
992K	/boot/.Spotlight-V100/Store-V2
988K	/boot/.Spotlight-V100/Store-V2/92CE5AE4-3655-47AB-92CC-4FCA81DC43B3
976K	/usr/share/doc/dpkg/changelog.gz
968K	/lib/modules/4.9.241-arm64/kernel/fs/nfs/nfsv4.ko
964K	/lib/firmware/ath11k/IPQ8074/hw2.0/q6_fw.b04
956K	/usr/share/info
952K	/usr/share/man/man5
952K	/usr/share/locale/fi
952K	/lib/modules/4.9.241-arm64/kernel/net/ipv4
944K	/usr/share/locale/fi/LC_MESSAGES

I don’t get it. Where’s the space? Why is 86% of / used already ?

Thank you so much for any help!

Hi,

we are aware on this issue that the root partition did not get extended correctly https://github.com/MichaIng/DietPi/issues/5278

Therefore we created a brand new image https://dietpi.com/downloads/images/DietPi_OdroidC4-ARMv8-Bullseye.7z

if you find time, you could give it a try.

Thanks, downloaded, firing up etcher. Let’s see :slight_smile:

let us know how it is going

Thanks for the lightning fast reply!

It’s working now, cheers!

df -h
gives me:

Filesystem      Size  Used Avail Use% Mounted on
udev            1.5G     0  1.5G   0% /dev
tmpfs           382M  5.4M  377M   2% /run
/dev/mmcblk1p1   15G  585M   14G   5% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           1.9G     0  1.9G   0% /tmp
tmpfs            50M   48K   50M   1% /var/log

Now about 5% are used out of the box. Great!

Set up a few things and now have the c4 running as one of my k3s nodes.

Solved!

Now I can screw the stackable cluster plates back on :slight_smile:

Great. Good to know it is working now. :sunglasses:

If you find time, could you try audio, onboard 3.5mm jack and HDMI? I guess, similar than with Odroid N2, it won’t work OOTB, but then we may be able to get it running with the same configurations we do on Odroid N2. Just let us know, when you find time to try.