Storage glossary · JSON corpus · llms.txt · hesela.com

ext4-orphan-inode · shipping · also orphan inode (ext4)

Ext4 orphan inode

An ext4 orphan inode is an inode tracked so recovery can finish deletion or remove excess allocations left by an interrupted truncation or extension.

An unlinked file may remain alive while open; ext4 records recovery work so a crash does not leave its inode and blocks permanently allocated. Linked files can also need orphan tracking when truncation or extension spans journal transactions, so orphan does not mean only a file without directory entries. [1] In Linux v6.12, ext4_process_orphan uses the recovered link count: linked inodes are truncated to the recovered inode size, while zero-link inodes are released for deletion. [2] See the Hesela analysis for the relationship to journal replay. [4]

Relations

related
inode, unlink, ext4-orphan-file, read-only-mount

Limitations

Citations

  1. Linux ext4 documentation: Orphan file (v6.12) (accessed 2026-10-15)
  2. Linux v6.12: ext4 orphan inode handling (accessed 2026-10-15)
  3. Linux manual: fsync(2) (accessed 2026-10-15)
  4. Hesela: ext4 journal replay and orphan cleanup (accessed 2026-10-15)

JSON: /data/terms/ext4-orphan-inode.json