[beagleboard] Re: No space on left device
If your SD is bigger than 4G try: bone$ */opt/scripts/tools/grow_partition.sh* The default images are for a 4G card. If your card is bigger you need to grow your partition for the bigger card. --Mark On Thursday, February 14, 2019 at 3:55:14 AM UTC-5, Tarmo Kuuse wrote: > > Hi Ichrak, > > On Friday, 10 August 2018 20:42:33 UTC+3, Ichrak Mansour wrote: >> >> 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 ? >> > > To diagnose the state of your disk space there are two basic tools. > > 1. To get an overview of what's going on with your storage, "df -h" tells > how big is each mounted file system and how much of it is used. > 2. To dig into specific directories, "sudo du -hs /dir" will tell you how > much storage space is used by files in directory /dir. > > You can run snippets such as this to understand what exactly is consuming > space in directory /dir "sudo find /dir -maxdepth 1 -exec du -hs {} \;" > > Anyway, do mind where your application writes data - some filesystems such > as /tmp and /var/tmp are mounted as tmpfs (i.e. ramdisks) with rather small > size. > > To have a look at installed packages and their disk usage, I have found > this command to be useful: "dpkg-query -W -f '${Installed-Size} > ${Package}\n' | sort -n" > > -- > Kind regards, > Tarmo > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/3c1e10ac-938a-4289-8bb9-b83fde13790e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: No space on left device
Hi Ichrak, On Friday, 10 August 2018 20:42:33 UTC+3, Ichrak Mansour wrote: > > 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 ? > To diagnose the state of your disk space there are two basic tools. 1. To get an overview of what's going on with your storage, "df -h" tells how big is each mounted file system and how much of it is used. 2. To dig into specific directories, "sudo du -hs /dir" will tell you how much storage space is used by files in directory /dir. You can run snippets such as this to understand what exactly is consuming space in directory /dir "sudo find /dir -maxdepth 1 -exec du -hs {} \;" Anyway, do mind where your application writes data - some filesystems such as /tmp and /var/tmp are mounted as tmpfs (i.e. ramdisks) with rather small size. To have a look at installed packages and their disk usage, I have found this command to be useful: "dpkg-query -W -f '${Installed-Size} ${Package}\n' | sort -n" -- Kind regards, Tarmo -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/f5b49abd-22da-4635-b41e-b1981765cb86%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: No space on left device
I ran into this problem. I was able to fix it by re-imaging the BeagleBone Black. https://beagleboard.org/getting-started#update The "IoT" image (without graphical desktop) is probably what you want. It uses less space, and you'll need to get used to using a terminal emulator, like PuTTY, to run everything from the command line. On Friday, August 10, 2018 at 1:42:33 PM UTC-4, Ichrak Mansour wrote: > > 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 ? > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/09ece3d7-9c83-4200-b98d-587716d02c6b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.