| Previous | Next |
| ESTALE | EREMOTEIO |
EUCLEAN
EUCLEAN is the Linux errno behind the familiar “Structure needs cleaning” message. It is most important for filesystem diagnostics: the kernel or filesystem code has detected metadata that is inconsistent enough that normal file operations should not continue as if the structure were trustworthy.
Do not treat this as a permission problem or as a cache issue. The right next step depends on the filesystem and storage stack, but it normally starts with preserving logs, stopping writes, unmounting if possible, and using the filesystem-specific checker or repair tool. Repeated deletes, renames, or application retries may make evidence worse.
Preserve before repair
- The filesystem type, mount options, block device, and kernel messages around the first failure.
- Whether storage, RAID, device-mapper, or remote block layers reported I/O errors.
- The exact path and operation that first returned
EUCLEAN. - A backup or snapshot policy before running destructive repair commands.
Red Hat filesystem repair guide · Linux errno(3) · Linux UAPI errno definitions
Looking for a different code? Search another status or error code.