umbrel icon indicating copy to clipboard operation
umbrel copied to clipboard

Enable large_dir feature on ext4 partitions

Open johnpc opened this issue 1 year ago • 1 comments

See https://community.umbrel.com/t/no-space-left-on-device-when-device-has-1tb-available/19947

I am using jellyfin, which offers an intro skipper plugin. The plugin writes many files to ~/umbrel/app-data/jellyfin/config/data/data/introskipper/chromaprints/

For large libraries, it creates more files than are allowed in a single directory on a ext4 partition.

I was able to work around this by enabling large_dir feature:

sudo tune2fs -O large_dir /dev/nvme0n1p4

However, it would have saved a lot of headaches if this feature were enabled when I originally formatted the drive following instructions here: https://github.com/getumbrel/umbrel/wiki/Install-umbrelOS-on-x86-Systems

johnpc avatar Nov 14 '24 03:11 johnpc

This is still relevant, getting this while using Plex with UmbrelOS 1.5 Beta 2 on Umbrel Home.

Oct 11 13:34:36 umbrel kernel: EXT4-fs warning (device nvme0n1p4): ext4_dx_add_entry:2554: Directory (ino: 361496) index full, reach max htree level :2
Oct 11 13:34:36 umbrel kernel: EXT4-fs warning (device nvme0n1p4): ext4_dx_add_entry:2558: Large directory feature is not enabled on this filesystem

retrry avatar Oct 11 '25 13:10 retrry