Data not freed after remove?

Sven Eisenberg sven.eisenberg at novero.com
Wed Jun 1 04:35:09 PDT 2016


Hi MTD list

I've seen a problem on our embedded device with UBI/UBIFS. Kernel
2.6.31+UBI/UBIFS at level ~3.10.y.

In short summary what i see is:

1. Deleting a folder with a big file (680MB) in a partition of 892MB size.
2. Perform a sync.
3. Read available free space with statvfs, fails. It reports the same
value as before deletion.
4. remount partition as ro, fails. But no message in dmesg.

Is there any reason/bug known that would cause this behavior?
I know this can happen, when there i an open filedescriptor to the file.
So i verified and this is not the case for me.

Thanks in advance, Sven Eisenberg




-- 

*Sven Eisenberg*

 

novero GmbH | Meesmannstr. 103 | 44807 Bochum | Germany | Amtsgericht
Bochum | HRB 16050 | Umsatzsteueridentifikationsnummer: DE 814973142 |
Geschäftsführer: Steven E. Brown, Michael Heinz Michels, Jacobus
Gerhardus du Plessis

 

A Laird business www.lairdtech.com <http://www.lairdtech.com>



More information about the linux-mtd mailing list