Skip to contentSkip to conversation

ubifs can not be mounted rw : could not find an empty LEB

DISCUSSION Matthieu CASTET 2 participants 4 messages Nov 6, 2012 – Nov 16, 2012 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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
#2 lore raw
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 cuts

I'll send them to Linus for 3.7 shortly.

Thanks, it solved the issue.

#3 lore raw
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