ubifs can not be mounted rw : could not find an empty LEB
Hi,
on some of our product, when we try to mount a partition rw, we got the error :
could not find an empty LEB and mount return "No space left on device".
Mounting ro works.
The log with debug enabled is attached.
Our ubifs tree is based on b06283c7df35b5a49ab141ed38e0280821379096 : "UBIFS:
make the dbg_lock spinlock static"
Newer commit don't show potential fix for the issue.
Have you got an idea of the problem ?
Thanks
Matthieu
Quoted 4 lines · Matthieu CASTET
Hi,
on some of our product, when we try to mount a partition rw, we got the error :
could not find an empty LEB and mount return "No space left on device".
The symptoms are the same as the symptoms of the problem I recently fixed. Please, see the following 2 patches in linux-ubifs.git:
UBIFS: introduce categorized lprops counter
UBIFS: fix mounting problems after power cuts
I'll send them to Linus for 3.7 shortly.
Signature · 2 lines
Best Regards, Artem Bityutskiy
Quoted 6 lines · Artem Bityutskiy
Quoted 4 lines · Matthieu CASTET
Hi,
on some of our product, when we try to mount a partition rw, we got the error :
could not find an empty LEB and mount return "No space left on device".
Quoted 8 lines
The symptoms are the same as the symptoms of the problem I recently fixed. Please, see the following 2 patches in linux-ubifs.git:
UBIFS: introduce categorized lprops counter
UBIFS: fix mounting problems after power cutsI'll send them to Linus for 3.7 shortly.
Thanks, it solved the issue.
Quoted 3 lines · Matthieu CASTET
Quoted 2 lines
I'll send them to Linus for 3.7 shortly.
Thanks, it solved the issue.
I'm glad it helped!
Signature · 2 lines
Best Regards, Artem Bityutskiy