deleted but open file

A file whose last name has been removed but whose data still uses disk space because a process keeps it open.

In more detail

It is the usual reason df reports a full disk while du cannot find the space: du walks names, and this file has none. Common cause: deleting a large log while the service is still writing to it. Restarting the process, or telling it to reopen its logs, frees the space; lsof +L1 lists such files.

Related terms

Taught in

References