[LEDE-DEV] ext4 / no space left on device / UML

Bjørn Mork bjorn at mork.no
Fri Nov 11 06:17:17 PST 2016


Bastian Bittorf <bb at npl.de> writes:

> * Bjørn Mork <bjorn at mork.no> [11.11.2016 14:58]:
>> > in fact there is enough space, but not useable.
>> 
>> And "df -i" says?
>
> this seems not supported by the busybox applet, but
> on the host i can see this:
>
> bastian at LEDE:/home/bastian/ledebot/source$ tune2fs -l bin/targets/uml/generic/lede-uml-ext4.img
> tune2fs 1.42.13 (17-May-2015)
> Filesystem volume name:   <none>
> Last mounted on:          /
> Filesystem UUID:          57f8f4bc-abf4-655f-bf67-946fc0f9f25b
> Filesystem magic number:  0xEF53
> Filesystem revision #:    1 (dynamic)
> Filesystem features:      ext_attr resize_inode filetype extent
> sparse_super large_file uninit_bg
> Filesystem flags:         unsigned_directory_hash 
> Default mount options:    (none)
> Filesystem state:         clean
> Errors behavior:          Remount read-only
> Filesystem OS type:       Linux
> Inode count:              1024
> Block count:              4096
> Reserved block count:     0
> Free blocks:              875
> Free inodes:              0
> First block:              0
> Block size:               4096
> Fragment size:            4096
> Reserved GDT blocks:      7
> Blocks per group:         32768
> Fragments per group:      32768
> Inodes per group:         1024
> Inode blocks per group:   64
> Last mount time:          Fri Nov 11 14:43:21 2016
> Last write time:          Fri Nov 11 14:43:04 2016
> Mount count:              1
> Maximum mount count:      -1
> Last checked:             Fri Nov 11 14:43:04 2016
> Check interval:           0 (<none>)
> Lifetime writes:          652 kB
> Reserved blocks uid:      0 (user root)
> Reserved blocks gid:      0 (group root)
> First inode:              11
> Inode size:               256
> Required extra isize:     28
> Desired extra isize:      28
> Default directory hash:   tea
> Journal backup:           inode blocks
>
> can you read something interesting?

Sure. "Free inodes: 0" is not good.  And what was I suspected.  We've
all been there in the past ;)

Can you reduce the number of small files on this file system somehow?
If not, then you need to recreate it.  AFAIK there is no way to adjust
the inode count of an existing file system.



Bjørn



More information about the Lede-dev mailing list