The only agent that thinks for itself

Autonomous Monitoring with self-learning AI built-in, operating independently across your entire stack.

Unlimited Metrics & Logs
Machine learning & MCP
5% CPU, 150MB RAM
3GB disk, >1 year retention
800+ integrations, zero config
Dashboards, alerts out of the box
> Discover Netdata Agents

Centralized metrics streaming and storage

Aggregate metrics from multiple agents into centralized Parent nodes for unified monitoring across your infrastructure.

Stream from unlimited agents
Long-term data retention
High availability clustering
Data replication & backup
Scalable architecture
Enterprise-grade security
> Learn about Parents

Fully managed cloud platform

Access your monitoring data from anywhere with our SaaS platform. No infrastructure to manage, automatic updates, and global availability.

Zero infrastructure management
99.9% uptime SLA
Global data centers
Automatic updates & patches
Enterprise SSO & RBAC
SOC2 & ISO certified
> Explore Netdata Cloud

Deploy Netdata Cloud in your infrastructure

Run the full Netdata Cloud platform on-premises for complete data sovereignty and compliance with your security policies.

Complete data sovereignty
Air-gapped deployment
Custom compliance controls
Private network integration
Dedicated support team
Kubernetes & Docker support
> Learn about Cloud On-Premises

Powerful, intuitive monitoring interface

Modern, responsive UI built for real-time troubleshooting with customizable dashboards and advanced visualization capabilities.

Real-time chart updates
Customizable dashboards
Dark & light themes
Advanced filtering & search
Responsive on all devices
Collaboration features
> Explore Netdata UI

Monitor on the go

Native iOS and Android apps bring full monitoring capabilities to your mobile device with real-time alerts and notifications.

iOS & Android apps
Push notifications
Touch-optimized interface
Offline data access
Biometric authentication
Widget support
> Download apps

The future of infrastructure observability

See our strategic direction across AI-native observability, full-stack signals, operational intelligence, and enterprise platform maturity.

AI-native observability
Full-stack signal coverage
Operational intelligence
Enterprise platform maturity
Agent releases every 6 weeks
Cloud continuous delivery
> Explore Product Roadmap

Best energy efficiency

True real-time per-second

100% automated zero config

Centralized observability

Multi-year retention

High availability built-in

Zero maintenance

Always up-to-date

Enterprise security

Complete data control

Air-gap ready

Compliance certified

Millisecond responsiveness

Infinite zoom & pan

Works on any device

Native performance

Instant alerts

Monitor anywhere

AI-native observability

Continuous delivery

Open source foundation

80% Faster Incident Resolution

AI-powered troubleshooting from detection, to root cause and blast radius identification, to reporting.

True Real-Time and Simple, even at Scale

Linearly and infinitely scalable full-stack observability, that can be deployed even mid-crisis.

90% Cost Reduction, Full Fidelity

Instead of centralizing the data, Netdata distributes the code, eliminating pipelines and complexity.

See and Map Your Entire Network

Live topology, flow analytics, and SNMP device and trap monitoring — unified with your full-stack observability.

Control Without Surrender

SOC 2 Type 2 certified with every metric kept on your infrastructure.

Integrations

800+ collectors and notification channels, auto-discovered and ready out of the box.

800+ data collectors
Auto-discovery & zero config
Cloud, infra, app protocols
Notifications out of the box
> Explore integrations
Real Results
46% Cost Reduction

Reduced monitoring costs by 46% while cutting staff overhead by 67%.

— Leonardo Antunez, Codyas

Zero Pipeline

No data shipping. No central storage costs. Query at the edge.

From Our Users
"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

No Query Language

Point-and-click troubleshooting. No PromQL, no LogQL, no learning curve.

Enterprise Ready
67% Less Staff, 46% Cost Cut

Enterprise efficiency without enterprise complexity—real ROI from day one.

— Leonardo Antunez, Codyas

SOC 2 Type 2 Certified

Zero data egress. Only metadata reaches the cloud. Your metrics stay on your infrastructure.

Full Coverage
800+ Collectors

Auto-discovered and configured. No manual setup required.

Any Notification Channel

Slack, PagerDuty, Teams, email, webhooks—all built-in.

Built for the People Who Get Paged

Because 3am alerts deserve instant answers, not hour-long hunts.

Every Industry Has Rules. We Master Them.

See how healthcare, finance, and government teams cut monitoring costs 90% while staying audit-ready.

Monitor Any Technology. Configure Nothing.

Install the agent. It already knows your stack.
From Our Users
"A Rare Unicorn"

Netdata gives more than you invest in it. A rare unicorn that obeys the Pareto rule.

— Eduard Porquet Mateu, TMB Barcelona

99% Downtime Reduction

Reduced website downtime by 99% and cloud bill by 30% using Netdata alerts.

— Falkland Islands Government

Real Savings
30% Cloud Cost Reduction

Optimized resource allocation based on Netdata alerts cut cloud spending by 30%.

— Falkland Islands Government

46% Cost Cut

Reduced monitoring staff by 67% while cutting operational costs by 46%.

— Codyas

Real Coverage
"Plugin for Everything"

Netdata has agent capacity or a plugin for everything, including Windows and Kubernetes.

— Eduard Porquet Mateu, TMB Barcelona

"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

Real Speed
Troubleshooting in 30 Seconds

From 2-3 minutes to 30 seconds—instant visibility into any node issue.

— Matthew Artist, Nodecraft

20% Downtime Reduction

20% less downtime and 40% budget optimization from out-of-the-box monitoring.

— Simon Beginn, LANCOM Systems

Pay per Node. Unlimited Everything Else.

One price per node. Unlimited metrics, logs, users, and retention. No per-GB surprises.

Free tier—forever
No metric limits or caps
Retention you control
Cancel anytime
> See pricing plans

What's Your Monitoring Really Costing You?

Most teams overpay by 40-60%. Let's find out why.

Expose hidden metric charges
Calculate tool consolidation
Customers report 30-67% savings
Results in under 60 seconds
> See what you're really paying

Your Infrastructure Is Unique. Let's Talk.

Because monitoring 10 nodes is different from monitoring 10,000.

On-prem & air-gapped deployment
Volume pricing & agreements
Architecture review for your scale
Compliance & security support
> Start a conversation

Monitoring That Sells Itself

Deploy in minutes. Impress clients in hours. Earn recurring revenue for years.

30-second live demos close deals
Zero config = zero support burden
Competitive margins & deal protection
Response in 48 hours
> Apply to partner

Per-Second Metrics at Homelab Prices

Same engine, same dashboards, same ML. Just priced for tinkerers.

Community: Free forever · 5 nodes · non-commercial
Homelab: $90/yr · unlimited nodes · fair usage
> Get the Homelab Plan

$1,000 Per Referral. Unlimited Referrals.

Your colleagues get 10% off. You get 10% commission. Everyone wins.

10% of subscriptions, up to $1,000 each
Track earnings inside Netdata Cloud
PayPal/Venmo payouts in 3-4 weeks
No caps, no complexity
> Get your referral link
Cost Proof
40% Budget Optimization

"Netdata's significant positive impact" — LANCOM Systems

Calculate Your Savings

Compare vs Datadog, Grafana, Dynatrace

Savings Proof
46% Cost Reduction

"Cut costs by 46%, staff by 67%" — Codyas

30% Cloud Bill Savings

"Reduced cloud bill by 30%" — Falkland Islands Gov

Enterprise Proof
"Better Than Combined Alternatives"

"Better observability with Netdata than combining other tools." — TMB Barcelona

Real Engineers, <24h Response

DPA, SLAs, on-prem, volume pricing

Why Partners Win
Demo Live Infrastructure

One command, 30 seconds, real data—no sandbox needed

Zero Tickets, High Margins

Auto-config + per-node pricing = predictable profit

Homelab Ready
Free Video Course

8-episode Netdata tutorial by LearnLinux.tv

76k+ GitHub Stars

3rd most starred monitoring project

Worth Recommending
Product That Delivers

Customers report 40-67% cost cuts, 99% downtime reduction

Zero Risk to Your Rep

Free tier lets them try before they buy

AI Support Assistant, Available 24/7

Nedi has access to all official documentation, source code, and resources. Ask any question about Netdata—responds in your language.

Deployment & configuration
Troubleshooting & sizing
Alerts & notifications
Evidence-based answers
> Ask Nedi now

Never Fight Fires Alone

Docs, community, and expert help—pick your path to resolution.

Learn.netdata.cloud docs
Discord, Forums, GitHub
Premium support available
> Get answers now

60 Seconds to First Dashboard

One command to install. Zero config. 850+ integrations documented.

Linux, Windows, K8s, Docker
Auto-discovers your stack
> Read our documentation

76,000+ Engineers Strong

615+ contributors. 1.5M daily downloads. One mission: simplify observability.

Per-Second. 90% Cheaper. Data Stays Home.

Side-by-side comparisons: costs, real-time granularity, and data sovereignty for every major tool.

See why teams switch from Datadog, Prometheus, Grafana, and more.

> Browse all comparisons
Edge-Native Observability, Born Open Source
Per-second visibility, ML on every metric, and data that never leaves your infrastructure.
Founded in 2016
615+ contributors worldwide
Remote-first, engineering-driven
Open source first
> Read our story
Promises We Publish—and Prove
12 principles backed by open code, independent validation, and measurable outcomes.
Open source, peer-reviewed
Zero config, instant value
Data sovereignty by design
Aligned pricing, no surprises
> See all 12 principles
Edge-Native, AI-Ready, 100% Open
76k+ stars. Full ML, AI, and automation—GPLv3+, not premium add-ons.
76,000+ GitHub stars
GPLv3+ licensed forever
ML on every metric, included
Zero vendor lock-in
> Explore our open source
Build Real-Time Observability for the World
Remote-first team shipping per-second monitoring with ML on every metric.
Remote-first, fully distributed
Open source (76k+ stars)
Challenging technical problems
Your code on millions of systems
> See open roles
Meet the Team Behind Netdata
Conferences, meetups, and tradeshows where you can see Netdata in action and talk to the engineers who build it.
Live demos and deep dives
Book 1-on-1 meetings
Talks and panel sessions
Event recaps and photos
> See all events
Talk to a Netdata Human in <24 Hours
Sales, partnerships, press, or professional services—real engineers, fast answers.
Discuss your observability needs
Pricing and volume discounts
Partnership opportunities
Media and press inquiries
> Book a conversation
Your Data. Your Rules.
On-prem data, cloud control plane, transparent terms.
Trust & Scale
76,000+ GitHub Stars

One of the most popular open-source monitoring projects

SOC 2 Type 2 Certified

Enterprise-grade security and compliance

Data Sovereignty

Your metrics stay on your infrastructure

Validated
University of Amsterdam

"Most energy-efficient monitoring solution" — ICSOC 2023, peer-reviewed

ADASTEC (Autonomous Driving)

"Doesn't miss alerts—mission-critical trust for safety software"

Community Stats
615+ Contributors

Global community improving monitoring for everyone

1.5M+ Downloads/Day

Trusted by teams worldwide

GPLv3+ Licensed

Free forever, fully open source agent

Why Join?
Remote-First

Work from anywhere, async-friendly culture

Impact at Scale

Your work helps millions of systems

$ guides / nvme / nvme-blk-update-request-io-error ▌

Operations Guides

blk_update_request: I/O error, dev nvme0n1: reading NVMe I/O errors in the kernel log

dmesg shows lines like this:

blk_update_request: I/O error, dev nvme0n1, sector 12345678

Maybe one line. Maybe thousands. Maybe interleaved with nvme nvme0: I/O 4096 QID 1 timeout, reset controller or nvme nvme0: Removing. The operational question is always the same: is this a single bad block the drive surfaced on a read, or is the device, the controller, or the PCIe link underneath it failing?

This guide covers what the kernel is actually telling you, how to classify the failure from the surrounding log lines, and which SMART and sysfs signals confirm or rule out each cause.

What this means

blk_update_request() is the block layer function that processes completed I/O. When a request finishes with a non-zero error status, the kernel logs blk_update_request: I/O error, dev <device>, sector <N>. For an NVMe device, that status came from the NVMe controller: a command completed with a failure status, and the NVMe driver translated it to EIO.

The critical point: this message is the block layer reporting a completed-but-failed command. It is a symptom, not a root cause. Three very different failures produce the same line:

  1. Media fault. The controller’s internal ECC could not recover data from a NAND page. The read of that sector fails, everything else works. This is the classic latent bad block surfacing on a read of cold data.
  2. Controller fault. The controller hung or crashed, the driver timed out and reset it, and in-flight commands completed with errors during the recovery window. You will see nvme nvme0: I/O 4096 QID 1 timeout, reset controller nearby.
  3. Transport fault or device loss. The PCIe link dropped or the device was removed (surprise removal, fatal PCIe error, power loss to the slot). CSTS reads as all-ones, the driver declares the controller down, and every in-flight I/O fails with EIO. You will see controller is down and often Removing in the log.

Newer kernels add the operation code to the message (op 0x0:(READ), op 0x1:(WRITE), and so on) along with flags and priority class. Older kernels print just the device and sector. The diagnostic logic is the same either way.

The triage decision tree:

flowchart TD
    A["blk_update_request: I/O error, dev nvme0n1"] --> B{"Same sector repeating
or scattered sectors?"} B -->|"Same sector, isolated"| C["Likely latent bad block
Check SMART media_errors"] B -->|"Scattered sectors"| D{"Reset or down messages
in dmesg?"} D -->|"timeout, reset controller"| E["Controller fault
firmware hang, thermal, PCIe"] D -->|"controller is down / Removing"| F["Transport or device loss
PCIe, power, surprise removal"] D -->|"No reset lines"| G["Check media_errors and
error log entries"] C --> H["media_errors incrementing?
TICKET and monitor"] E --> I["Check AER counters, temperature,
firmware version"] F --> J["PAGE: check controller state,
filesystem damage, physical seating"]

Common causes

CauseWhat it looks likeFirst thing to check
Latent bad block surfaced on readOne or a few errors, same sector or same small range, device otherwise healthynvme smart-log /dev/nvme0 media_errors count
Controller hang followed by resetErrors clustered around nvme nvme0: ... timeout, reset controller lines, 5-30s I/O stalldmesg for timeout and reset lines
PCIe link loss / device downcontroller is down; will reset: CSTS=0xffffffff, then EIO on all I/Ocat /sys/class/nvme/nvme0/state
Surprise removal or fatal PCIe errornvme nvme0: Removing, AER uncorrectable fatal, device node gonels /sys/class/nvme/ and AER counters
Failing NAND (active degradation)Rising error count over hours/days, critical_warning bit 2 set, spare decliningmedia_errors rate plus critical_warning bits
Unsupported command (e.g. WRITE_ZEROES firmware quirk)operation not supported error with op 0x9:(WRITE_ZEROES), no other symptomsnvme id-ctrl firmware version, known quirks

A note on the last row: some drives with buggy firmware reject WRITE_ZEROES and the block layer logs operation not supported error rather than I/O error. These are noise if the kernel has a quirk for the drive, but worth checking if the line is new after a kernel upgrade.

Quick checks

All read-only, all safe to run during an incident.

# 1. Get the full context around the errors
dmesg -T | grep -i "nvme0\|blk_update_request" | tail -50

# 2. Controller state: live, resetting, dead, or deleting
cat /sys/class/nvme/nvme0/state

# 3. SMART health: media errors, error log entries, critical warnings
nvme smart-log /dev/nvme0 | grep -i "critical_warning\|media_errors\|num_err_log_entries\|available_spare\|percentage_used\|unsafe_shutdowns"

# 4. Actual error log entries with status codes and LBAs
nvme error-log /dev/nvme0 --log-entries=16

# 5. Controller resets and removal events
dmesg | grep -i "nvme.*reset\|nvme.*timeout\|removing\|controller is down"

# 6. PCIe AER counters: transport-layer health
cat /sys/class/nvme/nvme0/device/aer_dev_correctable
cat /sys/class/nvme/nvme0/device/aer_dev_fatal
cat /sys/class/nvme/nvme0/device/aer_dev_nonfatal

# 7. Is the block device still present and consistent
lsblk | grep nvme
ls /sys/class/nvme/

The AER paths require root and may not exist if AER is disabled. lsblk can show stale entries briefly after a device vanishes; /sys/class/nvme/ is ground truth for what the kernel actually has.

How to diagnose it

Work through these in order. Each step eliminates a branch of the tree above.

1. Establish the pattern: isolated or storm. Look at timestamps and sector numbers in dmesg. One line, or a handful of lines on the same sector over hours, points at a media fault on cold data. Hundreds of lines with random sectors in a burst points at a controller or transport event.

2. Look for the lines that precede the errors. The ordering matters more than the error line itself:

  • nvme nvme0: I/O <N> QID <N> timeout, reset controller, then a burst of EIO: controller hang. In-flight commands failed during the 5-30 second reset window.
  • controller is down; will reset: CSTS=0xffffffff: the controller vanished from the driver’s perspective. This is PCIe link loss, device power loss, or hardware death, not a media problem.
  • nvme nvme0: Removing or removal after a failed reset with a negative status: the kernel has given up on the device. Everything after that is EIO to a device that no longer exists.
  • No NVMe lines at all, just the block layer error: the command completed with a failure status but the controller stayed healthy. That is the media-error signature.

3. Check controller state right now. cat /sys/class/nvme/nvme0/state. live means the device recovered or never went down. resetting for more than a few seconds means a stuck recovery. dead or deleting means the kernel has detached or is detaching it. Brief resetting during a sanitize or self-test is expected; check nvme sanitize-log /dev/nvme0 if the timing fits.

4. Interrogate SMART for the media story. If media_errors incremented by exactly the number of blk_update_request lines, and critical_warning is zero, you are likely looking at isolated cell failures the controller has already remapped or flagged. If media_errors is climbing continuously, available_spare is declining, and critical_warning bit 2 (reliability degraded) is set, the NAND is actively failing and the drive needs replacement, not investigation. If num_err_log_entries is climbing but media_errors is flat, the errors are not media errors: think firmware, driver, or command-level issues.

5. Pull the error log. nvme error-log /dev/nvme0 gives you status codes, the failing command, the namespace, and the LBA for each entry. This is how you confirm whether the failing LBAs match the sectors in dmesg. Do this early: the log is a circular buffer and high error rates overwrite the entries that explain the root cause.

6. Rule the PCIe layer in or out. Non-zero aer_dev_fatal or aer_dev_nonfatal counters, or a burst of correctable errors before the event, mean the transport was degraded. Combine that with controller is down and you have a link, connector, riser, or power problem. Check current_link_speed and current_link_width against the max values while you are there.

7. Assess blast radius. If the device went away or threw write errors, assume any mounted filesystem took damage. Check for EXT4-fs error, XFS, or Buffer I/O error lines after the NVMe errors in dmesg, and plan a filesystem check before trusting the data.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
dmesg blk_update_request linesThe symptom itself; count and sector pattern classify the eventAny occurrence; burst or repeating pattern
Controller state (/sys/class/nvme/nvme0/state)Direct availability signalAnything but live sustained over 30s
Reset and timeout lines in kernel logController hangs cause the EIO burstsAny reset in production; repeated resets mean a dying controller
media_errors rateConfirms NAND-level fault vs transport faultAny increment; accelerating rate means active degradation
num_err_log_entries rateBroader error activity than media errorsRising without media_errors: firmware or command issues
critical_warning bitsThe drive’s own assessmentBit 3 (read-only) is an outage; bit 2 plus rising media_errors is active failure
available_spare vs spare_threshRunway before the drive can no longer remap bad blocksAt or below vendor threshold
PCIe AER countersTransport-layer health invisible to SMARTAny fatal/non-fatal; sustained correctable rate
unsafe_shutdownsPower events that can masquerade as media errors on next readAny increment

Fixes

Grouped by what you found. None of these start with “reboot”.

Isolated bad block, drive otherwise healthy. A single new media error during a boot-time scan or backup that touches cold data can be a latent defect, not an emergency. Verify backups or replicas for the affected data, rewrite the affected file (or the block, if you can map sector to file) to force the controller to reallocate it, and put a trend watch on media_errors. Same-shift ticket, not a page.

Controller hang with successful reset. Check the firmware version (nvme id-ctrl /dev/nvme0 | grep -i "fr ") against known issues for that model and look for a vendor firmware update. Check whether the reset correlated with temperature (thermal shutdown) or with PCIe AER errors (link instability). A single reset can be a transient firmware glitch; repeated resets in a loop with no environmental correlation is a firmware hang pattern, and the drive or its firmware must change. If autonomous power state transitions are suspected as the trigger, disabling APST is a known mitigation on some consumer drives. On Linux that means either the boot parameter nvme_core.default_ps_max_latency_us=0 (the nvme-core module parameter that turns autonomous power state transitions off) or, at runtime, nvme set-feature /dev/nvme0 -f 0x0c --value=0 (feature 0x0c is the Autonomous Power State Transition feature).

Device down or removed. This is a page. If it is a hot-swap bay and someone pulled the drive, correlate with the maintenance window before treating it as a failure. Otherwise: reseat the drive if physically accessible, inspect the connector and slot, check AER counters for fatal errors, and check whether a power-cycle brings it back. Some BIOS configurations require a reboot to re-detect a device even after physical remediation. Plan a filesystem check for anything that was mounted on it.

Active NAND degradation. Critical warning bit 2 plus rising media_errors plus declining spare is the drive telling you it is failing. Verify redundancy (RAID, replicas, backups) first, force rewrites of at-risk cold data if your stack supports it, and replace the drive. Do not wait for it to go read-only.

Firmware quirk noise (WRITE_ZEROES). If the only symptom is operation not supported error on op 0x9:(WRITE_ZEROES) and SMART is clean, confirm the kernel carries a quirk for your drive model. Updating firmware or the kernel usually silences it. It is cosmetic, but verify before you dismiss it.

Prevention

  • Alert on the causes, not just the symptom. Kernel log matching on blk_update_request alone gives you a noisy alert with no context. Pair it with alerts on controller state changes, reset lines, and media_errors rate so the page arrives with the classification already attached.
  • Watch the rate, not the counter. media_errors, num_err_log_entries, and unsafe_shutdowns are lifetime counters. A static value of 3 from two years ago is history; a value that moved today is signal.
  • Track available_spare trajectory. Spare consumption accelerates non-linearly. The rate of change is one of the strongest leading indicators of a drive that will start throwing read errors months from now.
  • Baseline PCIe health. AER counters and link speed/width are transport signals that SMART never shows. A degraded link produces exactly the EIO storms this article is about, and it produces them with a perfectly healthy drive behind it.
  • Track firmware versions fleet-wide. Firmware hangs and command-handling quirks are version-specific. Knowing which drives run which firmware turns a fleet-wide mystery into a targeted update.

How Netdata helps

  • Netdata’s NVMe collector surfaces media_errors as an incremental rate (nvme.device_media_errors_rate), so a new bad block shows up as a spike the moment it happens, not at the next manual nvme smart-log.
  • The nvme.device_critical_warnings_state chart breaks the critical_warning bitmask into per-bit dimensions, so you can distinguish bit 2 (reliability degraded, investigate) from bit 3 (read-only, outage) instead of alerting on any nonzero value.
  • nvme.device_error_log_entries_rate tracks error log growth separately from media errors, which is the correlation that separates NAND failure from firmware or command-level problems.
  • Trending nvme.device_available_spare_perc and nvme.device_estimated_endurance_perc over weeks shows the wear trajectory that predicts future read errors, and Netdata’s ML anomaly detection flags accelerations in that trend before thresholds trip.
  • Correlating these per-second device metrics with system-level I/O latency and throughput on the same dashboard is what turns “blk_update_request in dmesg” into “controller reset at 03:14 preceded by rising latency” in one view.