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 / zfs / zfs-replace-failed-disk ▌

Operations Guides

ZFS replacing a failed disk: zpool replace, autoreplace, and hot spares

A disk in your pool has failed or is failing. The pool shows DEGRADED in zpool status, which means redundancy is gone in that vdev group and the next failure in the same group is data loss. The pool keeps serving I/O, but you are on the clock.

This runbook covers getting a replacement disk in and resilvered: identifying the physical device correctly, choosing between manual zpool replace, autoreplace, and hot spares, what sequential resilver changes, and the extra steps a root pool needs before the new disk can boot the machine.

It assumes you understand vdev topology and pool health states. If not, see the ZFS mental model first.

Before you touch anything

Three checks determine which replacement path you take and whether it is safe to proceed.

# Full pool state, vdev tree, error counters, and scan status
zpool status -v <pool>

# Is a resilver or scrub already running?
zpool status <pool> | grep -A5 "scan:"

# Kernel view of what happened to the device
dmesg | grep -i -E "ata|sas|nvme|reset|timeout" | tail -30

Key facts to extract from zpool status -v:

  • Which device is degraded or faulted, and whether the pool still has redundancy for that vdev group. On RAIDZ1 or a two-way mirror, a second failure before the resilver completes is data loss. Treat this as same-day work.
  • The scan line. A resilver preempts a running scrub, and the two are mutually exclusive per pool. If a resilver is already running (for example, a hot spare activated), do not start a second replace against the same vdev.
  • Error counters on the remaining devices. If READ/WRITE/CKSUM counters are climbing on the surviving mirror side or other RAIDZ members, your risk during resilver is much higher than normal. Consider quiescing the workload.

Identify the physical disk by serial or GUID, not /dev name

Do not trust the /dev/sdX name in zpool status output to tell you which physical disk to pull. Device letters shift across reboots, controller rescans, and enclosure events. The letter you saw yesterday may belong to a different disk today.

Identify the device by something burned into the hardware:

# Machine-parseable status with full device paths
zpool status -p <pool>

# Map the pool device to a stable identity
ls -l /dev/disk/by-id/ | grep <device>

If the pool was created with /dev/disk/by-id/ paths (WWN or ATA serial), the path itself is the identity: match it to the serial number on the disk label or reported by smartctl -i. If the pool was created with raw /dev/sdX names, resolve the current letter to a by-id path before pulling anything, and consider converting the pool: export and reimport with zpool import -d /dev/disk/by-id so future replacements are unambiguous. See ZFS device UNAVAIL or REMOVED for the case where the disk has already fallen off the bus entirely.

For locating the disk in the chassis, use your platform’s enclosure or HBA tooling (SES slot locate LEDs, controller CLI). ZFS itself does not blink drive LEDs portably.

Decision: manual replace, autoreplace, or hot spare

flowchart TD
  A[Disk DEGRADED or FAULTED] --> B{Hot spare configured?}
  B -- yes --> C[ZED attaches spare automatically]
  C --> D[Resilver to spare runs]
  D --> E[Later: install permanent disk, zpool replace, detach spare]
  B -- no --> F{autoreplace=on and same-slot swap?}
  F -- yes --> G[ZED formats and replaces on insertion]
  F -- no --> H[Manual: zpool offline, swap disk, zpool replace]
  E --> I[zpool clear old counters]
  G --> I
  H --> I
  I --> J[Verify ONLINE, scrub]

All three paths converge on the same end state: a resilver onto the new device, then cleanup. They differ in who issues the commands and when.

Path 1: manual zpool replace

The default and the most controllable. The safe sequence for a disk that is still visible but failing:

# 1. Take the failing device offline first (stops ZFS writing to it)
zpool offline <pool> <old-device>

# 2. Physically swap the disk, then confirm the OS sees the new one
ls -l /dev/disk/by-id/

# 3. Replace, addressing the new disk by its stable by-id path
zpool replace <pool> <old-device> /dev/disk/by-id/<new-disk-id>

# 4. Watch the resilver
zpool status <pool> | grep -A5 "scan:"

Notes on the mechanics:

  • If the disk is already FAULTED or REMOVED, skip the zpool offline step. Offlining a healthy-but-suspect disk first is good practice: it stops new writes to media you no longer trust while you arrange the swap.
  • If new-device is omitted, it defaults to device, which is useful when the disk was swapped in the same slot and the device path is identical.
  • zpool replace -w waits for the resilver to complete before returning, which is handy in scripts.
  • The resilver starts immediately. During it, the pool runs at reduced redundancy and resilver I/O competes with production I/O. On large HDD pools this runs for hours to days; that window is the real risk, not the command.

Path 2: autoreplace

The autoreplace pool property (default off) tells the ZFS Event Daemon (ZED) to automatically format and replace any new device that appears in the same physical location as a device that previously belonged to the pool. Enable it deliberately:

zpool set autoreplace=on <pool>

This only works if ZED is running and healthy, and it only triggers for a same-slot swap. It does not help you replace a disk into a different slot or enclosure position.

Two caveats from the field:

  • autoreplace has had version-specific breakage. OpenZFS 0.8.x had a race where ZED brought the vdev online before the partition device existed, leaving the new disk UNAVAIL. OpenZFS 2.1.7 exposed the separate /dev/disk/by-id/ failure because ZED looked for the old device’s WWN path after the disk was swapped. That by-id bug was fixed in OpenZFS 2.2.1. For stable behavior across swaps and hosts, /dev/disk/by-vdev/ paths configured via /etc/zfs/vdev_id.conf remain the recommended layout; /dev/disk/by-path/ can also encode physical location.
  • autoreplace and hot spares are independent features. You do not need autoreplace=on for hot spares to activate.

Treat autoreplace as a convenience you verify after every drive swap, not a guarantee. After any automatic replacement, run zpool status and confirm a resilver actually started.

Path 3: hot spares

A hot spare is a disk already installed, added to the pool as a spare:

# Add a dedicated spare
zpool add <pool> spare /dev/disk/by-id/<spare-id>

When a data disk faults, ZED automatically attaches the spare to the degraded vdev (effectively a zpool attach), and a resilver onto the spare begins. No operator action is required for the pool to regain redundancy, which is the entire point: the dangerous window between failure and resilver shrinks from “whenever someone gets to the datacenter” to minutes.

Two operational facts about spares:

  • The spare is a temporary replacement. The vdev now has an extra member. To make the layout permanent, install a new disk, run zpool replace <pool> <failed-disk> <new-disk>, let that resilver finish, then zpool detach <pool> <spare-device>. Order matters: detaching the spare first fails with “resource busy” while it is an active member.
  • autoreplace is not involved in spare activation. ZED handles spares regardless of the autoreplace property.

On dRAID pools (OpenZFS 2.1+), distributed spares are built into the vdev rather than added as separate devices, and rebuilds to distributed spares use sequential resilver by default. After the permanent disk goes in, run zpool replace without -s (a healing resilver) to rebalance the distributed spare space back to available.

Sequential resilver: the -s flag

zpool replace -s requests a sequential resilver, supported for mirrors and dRAID (not raidz). Instead of walking the block pointer tree, it copies in LBA order without checksum verification, which is substantially faster on spinning disks. A scrub starts automatically after the sequential resilver completes to verify the copied data.

Use it when resilver time is your primary risk (large HDD mirrors) and you accept that verification is deferred to the post-resilver scrub. For raidz, resilver is metadata-driven and reconstructs only allocated blocks; the -s flag does not apply.

After the resilver: cleanup and verification

The resilver completing is not the end of the procedure.

  • Clear old counters. Error counters are cumulative since the last zpool clear. The old device’s READ/WRITE/CKSUM counts persist in history and will confuse the next person reading zpool status. After confirming the resilver finished clean and the root cause (failed disk, cable, controller) is addressed:
# Reset error counters after a confirmed-good replacement
zpool clear <pool>

Only clear after you have confirmed the replacement device is healthy. Clearing counters on a pool that is still accumulating errors hides an active problem.

  • Verify final state. Every vdev ONLINE, the scan line shows the resilver completed, zero new errors:
zpool status -v <pool>
  • Let the post-resilver scrub finish (automatic after sequential resilver; consider starting one manually after a healing resilver if the pool was degraded a long time). The scrub is what proves the reconstructed data is checksummed-clean.

Root pools: the disk is not just ZFS data

If the failed disk belongs to the pool the system boots from, zpool replace only handles the ZFS data partition. The new disk also needs whatever the bootloader requires:

  • The EFI System Partition (or BIOS boot partition on legacy systems) must be created on the new disk and populated. On mirrored root pools, the ESP should be mirrored or at least copied to every boot-capable disk.
  • The bootloader must be reinstalled or refreshed against the new disk. There is no universal refresh command: use the boot loader/installer runbook for the installed distribution (for example, Proxmox documents proxmox-boot-tool refresh).
  • Test bootability before you call the incident closed. A root pool that is ONLINE but has no valid bootloader on the surviving disk is a delayed outage waiting for the next reboot.

Signals to monitor during and after replacement

SignalWhy it mattersWarning sign
Resilver progress and rate (zpool status scan line)Defines the reduced-redundancy windowStalled progress, or rate far below device sequential capability
Pool and vdev state (zpool status -x, /proc/spl/kstat/zfs/<pool>/state)Confirms recovery to ONLINEStill DEGRADED with no resilver running
Per-vdev error counters (READ/WRITE/CKSUM)Surviving devices are stressed hardest during resilverCounters climbing on the remaining mirror side or RAIDZ members
Pool I/O latency (zpool iostat -l)Resilver competes with production I/OSustained latency well above baseline beyond the expected resilver impact
Rebuild queue depth (zpool iostat -q)Shows resilver I/O actually flowingFlat rebuild queue while status claims resilvering
ZED healthautoreplace and spare activation depend on itZED not running or not processing events
Scrub result after replacementVerifies reconstructed dataNon-zero repair counts on the new device

How Netdata helps

Disk replacement is where point-in-time zpool status checks fail operators: the dangerous part is the multi-hour resilver window, not the command itself.

  • Netdata tracks pool and per-vdev state continuously, so you see the DEGRADED transition the moment it happens rather than at the next manual check.
  • Per-device READ/WRITE/CKSUM counters are graphed over time, which distinguishes a one-time SATA reset from a counter that climbs steadily (the dying-disk pattern that should trigger proactive replacement before total failure).
  • During the resilver, correlating pool latency and per-vdev I/O against resilver progress tells you whether production impact is within expectation or the resilver is starving foreground I/O.
  • Alerting on DEGRADED state with no active resilver catches the failure mode where autoreplace or spare activation silently did not happen.
  • Scrub completion and repair counts after the replacement close the loop on data verification.