ubifs mount size

Artem Bityutskiy dedekind at infradead.org
Mon Aug 25 11:51:37 EDT 2008


Hi,

On Thu, 2008-08-21 at 20:24 +0300, Artem Bityutskiy wrote:
> > root at tsi-sa2410:~# ubimkvol /dev/ubi1 -N root -s 55MiB
> > Volume ID 0, size 3755 LEBs (57676800 bytes, 55.0 MiB), LEB size 15360 
> > bytes (15.0 KiB), dynamic, name "root", alignment 1
> > root at tsi-sa2410:~# mount -t ubifs ubi1:root /mnt/linux2-root/
> > UBIFS: default file-system created
> > UBIFS: background thread "ubifs_bgt1_0" started, PID 930
> > UBIFS: mounted UBI device 1, volume 0, name "root"
> > UBIFS: file system size: 57292800 bytes (55950 KiB, 54 MiB, 3730 LEBs)
> > UBIFS: journal size: 2872320 bytes (2805 KiB, 2 MiB, 187 LEBs)
> > UBIFS: default compressor: LZO
> > UBIFS: media format 4, latest format 4
> > root at tsi-sa2410:~# df
> > Filesystem           1k-blocks      Used Available Use% Mounted on
> > rootfs                    8059      5284      2366  69% /
> > /dev/root                 8059      5284      2366  69% /
> > /dev/root                 8059      5284      2366  69% /dev/.static/dev
> > ubi1:root                33968         0     31204   0% /mnt/linux2-root
> 
> I've explored this a little. Currently UBIFS indeed reports 15%-20% less
> free space than it actually has, and we'll try to fix this.

We have improved UBIFS free space reporting and it should be much better
now. Please, pull master branch of the ubifs-2.6.git tree to find the
fixes.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list