No space on left device

Hello,

I am newbie, I use the version buster of my BeagleBone and when I run my application on it, I get “no space on left device”

How can I fix that please ?

newbie's shouldn't be using buster.. It's still about 6 months away
from being released..

Did you try:

https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Expanding_File_System_Partition_On_A_microSD

Regards,

No, I will try that, but after I run that, The MicroSD must be usually put on the BeagleBone or I can take it off?

Huh?

It's to be "RUN" on the device..

Regards,

I mean after I run that :

cd /opt/scripts/tools/
git pull || true
sudo ./grow_partition.sh
sudo reboot

The microSD must be on the BeagleBone for running my application or it’s normally when I take it off ?

That "script" only resizes the microSD in which the BeagleBoard.org
image you install via ethcher.io/dd/etc is located.

If you have another microSD with something else installed that has the
"No space on left device" issue, it's not our problem, and it's up to
you to either fix it or get a bigger microSD..

Regards,

You mean after doing these commands

cd /opt/scripts/tools/
git pull || true
sudo ./grow_partition.sh
sudo reboot

on the microSD which having the image of BeagleBone, I can write that on my BB ?

The elinux wiki states:

https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Expanding_File_System_Partition_On_A_microSD

I get :

image.png

See the disk went from 3.3G → 3.7G

What do the directions say to do next?

Regards,

image.png

when I run df -h, I get :

image.png

image.png

What do the “Directions” : https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Expanding_File_System_Partition_On_A_microSD

Say to do immediately after running: sudo ./grow_partition.sh ???

Regards,

image.png

I run df -h after :

cd /opt/scripts/tools/
git pull || true
sudo ./grow_partition.sh
sudo reboot

image.png

Look again:

“sudo reboot”

Regards,

image.png

It’s still the same issue.

Please share this:

cat /var/log/resize.log

Regards,

image.png

That shows us, resize2fs ran and the disk is already maxed out…

PS, buster is still 6 months out…

Regards,

image.png

Now, can I write the Buster image on the BeagleBone? will it stay maximized? I need that just for 2 months.

image.png

Umm… The emmc ‘flasher’ script automatically maximizes the file partition.

Regards,

image.png