Im having trouble with my ext4 filesystem. Im using this with NFS to make it available to remote machines. Now its showing a mysterious "No space left on device" error when im trying to mkdir $name but noting seems to help. If i move or cp files (Size doesnt matter) this error doesnt show up.
I checked available space (over 400G) I checked inodes (only 12% used) I did a fsck and repaired errors. I reindexed the filesystem with fsck -D and after that wasnt helpful i disabled dir_index completely. Like in this Post suggests.
Maybe the fact, that this error only shows up on a few directories is helpful. Does ext4 has a max directory depth or something?
sudo lsof / | grep -i deletedto investigate possible process still using those files.