A voice pipeline writes one small file for every audio segment and transcript fragment. Eventually a new segment fails with “No space left on device,” while df -h still shows available gigabytes. On a filesystem with a finite inode supply, the missing resource may be a free inode for the new file.
An inode holds file metadata such as ownership, permissions and location; file contents consume blocks separately. On ext4, the number of inodes is planned when the filesystem is created. The ext4 inode documentation describes its inode tables, and the mke2fs manual explains the bytes-per-inode ratio used at creation. A workload that makes many tiny files can therefore exhaust inode entries while leaving data blocks available. The Linux open(2) manual lists ENOSPC when a path is to be created and its device has no room for the new file. That message alone does not identify which resource is exhausted.
Check the filesystem that actually contains the failing path:
df -h /srv/voice/segments
df -i /srv/voice/segments
The first command reports block capacity; the second reports inode totals, used entries and available entries. GNU Coreutils documents df -i as the inode view of the same filesystem. If the segment directory sits on a separate mount, checking / instead can hide the problem. The same path in both commands makes the comparison meaningful. Filesystem implementations differ, so treat an unavailable or unusual inode report as a prompt to identify the mount type, rather than as proof that inodes are healthy.
If available inodes are near zero, du --inodes -x -d 1 /srv/voice/segments can help locate inode-heavy directories within that tree. It traverses the tree and may be costly on a busy volume. It also says nothing about whether those files are disposable. Confirm the owner, retention rule and backup state before changing any data. If this is a recurring pattern, redesign segment storage or retention so the system does not create an unbounded number of individual files. Monitor both available bytes and available inodes on the volume that stores the voice application’s working set.

The Campfire
No commentsNobody has pulled up a log by this one yet. Be the first to say what you make of it.
Held for the desk. It appears after a look.