Failed to garbage collect: ENOSPC

Joakim Tjernlund joakim.tjernlund at lumentis.se
Thu Mar 11 04:59:53 EST 2004


> Only way to get out of this is to remove the log file that 
> was written to most. This file is then about 200kB in size 
> but after removal the free space of the partition grows from 
> 124kB to 2MB! Apparently there was dirty space to collect?

The JFFS2 overhead from small writes is rather big. Each write is its own node in
flash so a 124kB log file can be 2MB on flash. If you copy the log file and delete the
old file, you will free flash space.

 Jocke




More information about the linux-mtd mailing list