Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Expand filesystem to a certain size rather than fill SD card completely
#2
Space allocation on a stock moOde image looks like below. Root file system has 892M available which is above the 512M minimum required for in-place update.


Code:
pi@moode:~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       3.9G  2.8G  892M  77% /
devtmpfs        430M     0  430M   0% /dev
tmpfs           463M     0  463M   0% /dev/shm
tmpfs           463M  7.2M  456M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           463M     0  463M   0% /sys/fs/cgroup
/dev/mmcblk0p1  253M   54M  199M  22% /boot
tmpfs            93M     0   93M   0% /run/user/1000
pi@moode:~ $

Do you know what might be taking up additional space on your image for example song files on SDCard?

Expanding to full capacity of SDCard won't impact performance. I agree that the downside of this is that backup of SDCard will be a file the size of the entire SDCard and backup/restore will take a really long time.

I'll look into command that can expand to a specific size.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Expand filesystem to a certain size rather than fill SD card completely - by Tim Curtis - 05-12-2021, 12:26 PM

Forum Jump: