littleFS space

mrezanresat
Posts: 2
Joined: Tue Aug 03, 2021 11:29 pm

littleFS space

Postby mrezanresat » Thu Mar 24, 2022 9:01 am

Hi All,

I have some problems with littleFS.
I created a partition for littleFS with size 3M bytes.
After a certain time I faced error: No more free space 1083.

After certain checking I still have free space:
I (3501) handlelittleFS: Initializing LittelFS
I (6111) handlelittleFS: Partition size: total: 3145728, used: 3088384

Consider 2 blocks (8192) will be used from the beginning.
3145728 - 3088384 - 8192 = 49152.
1. Then I tried to write a file with size 2000 bytes but failed.
2. Read the existing file then overwrite it without delete it first (with the same size). Also failed.

Does anyone know why it happens like this? It's really weird since it still has free space, especially no 2.

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 67 guests