Hi Community,
I'm looking more in detail into the onion disk storage layout. And I must admit....I'm really confused....
First: I'm working with on onion omega 2S+ which is given with 32MB of flash storage. If I run a df -h command, I get this:
I do not understand where I can see the total available disk space of 32MB.
Second: running a du -h -d 1 / command, will output this:
I really don't get the link between both as the df command indicates a usage of 11.6MB in /overlay and the du command indicates a size of 20.7MB for overlay
Third (and this is where it get's really difficult for me to understand): If I just dump a 2967KB text file into /root (via ssh) I get this if I run the du command:
I do not see where the additionnal 2967KB went...Moreover, the du command shows:
According to this, adding this 2,967MB file used about 5,8MB on disk...
Any explanation for this? I'm just making these trials in order to make sure my application will not run out of storage. However, I'm not able to understand this.
Thanks in advance,
MK