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 [email protected].
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.