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!