Linux · Input/Output Error

Linux Error Code EIO (5)

A low-level I/O operation failed.

fatalLast verified 2026-11-08Linux man-pages: errno(3)
Quick answer

A low-level I/O operation failed.

CodeEIO (5)
ProductLinux
Company / originLinux community · International open source
CategoryOperating Systems
Platform / versionsLinux kernel 4.x and later · Architecture-dependent errno numbering
Severityfatal
Official sourceLinux man-pages: errno(3) ↗
Last verified2026-11-08

What does Linux error EIO (5) mean?

EIO (errno 5) means the kernel could not complete a read or write to the underlying device or file system. It often points to failing hardware, a disconnected network file system, or a corrupted device.

Common causes

  • The disk or storage device has bad sectors or is failing.
  • A network file system or block device disconnected.
  • The file system or device mapper layer returned an error.

How to fix it

  1. Step 1

    Back up data before running more writes.

  2. Step 2

    Check dmesg and SMART data for disk errors.

  3. Step 3

    Repair the file system or replace the failing device; remount network storage if it disconnected.

When to escalate

Before you escalate: If an errno persists after checking permissions, paths, mounts, and resource limits, collect the command, the full error, strace output around the failing syscall, and the kernel version, then contact the application or distribution maintainer.

Related codes

CodeNameWhat it means
EACCES (13)Permission DeniedThe process does not have permission to access the file or directory.
EADDRINUSE (98)Address Already in UseThe network address or port is already bound.
EBUSY (16)Device or Resource BusyThe resource is busy and cannot be used or released.
ECONNREFUSED (111)Connection RefusedThe remote host actively refused the connection.
EEXIST (17)File ExistsThe file or directory already exists.

Source & verification

This page was checked against Linux man-pages: errno(3) on 2026-11-08. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.

Open Error Codes is independent and not affiliated with Linux community. Always confirm destructive or security-sensitive steps with the official documentation.