UBIFS space consumption

Artem Bityutskiy dedekind1 at gmail.com
Wed Feb 13 05:26:10 EST 2013


On Mon, 2013-02-04 at 22:59 +0530, Vikram Narayanan wrote:
> On 2/4/2013 12:33 PM, Artem Bityutskiy wrote:
> > On Fri, 2013-01-18 at 22:25 +0530, Vikram Narayanan wrote:
> >> But according to "df",  UBI volume 0 is sized 148.9 MiB. That's, 15.8
> >> MiB more in terms of consumption.
> >
> > Df is not accurate with UBIFS by design, this is covered by this FAQ
> > entry:
> >
> > http://www.linux-mtd.infradead.org/faq/ubifs.html#L_df_report
> >
> 
> Sorry, I think you've mistaken my question. I've referred the above FAQ 
> before framing this mail.
> 
> The above FAQ explains why the _free_ space shown by 'df' isn't 
> accurate. I'm concerned here about the _total_ size shown to me by df, 
> which is less than what is reported by ubinfo.

I guess dmesg output may give some clue - probably that space is spent
for the journal, orphans area, and indexing area.

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list