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 / lvm / lvm-how-it-works-in-production ▌

Operations Guides

How LVM actually works in production: a mental model for operators

Most LVM incidents are caused by operators holding the wrong mental model: thinking of LVM as “partitioning with extra steps” rather than what it actually is, a userspace management layer that programs the kernel’s device-mapper subsystem. Once you internalize that, the confusing behaviors stop being confusing. A full thin pool freezing every process in D-state, a snapshot silently invalidating, an lvs command hanging during the exact incident you need it for: all of these follow directly from the architecture.

This article builds that model. It is not a tutorial on pvcreate flags. It is the model you want in your head before you debug a storage incident at 3 a.m.

The short version: LVM does not store data and it does not move data. It maintains mapping tables, on disk and in kernel memory, that translate I/O on virtual block devices into I/O on physical extents. Almost every LVM failure mode is a failure of those tables, the space they allocate from, or the metadata that describes them.

What it is and why it matters

LVM sits between your physical block devices and your filesystems. Its job is indirection: carve physical storage into fixed-size chunks, pool those chunks, and hand out virtual block devices whose blocks are mapped onto the pool. That indirection buys you online resize, snapshots, thin provisioning, striping and mirroring, and data migration between disks without downtime.

The cost is a second layer of capacity and a second layer of state that most teams under-monitor. df tells you about filesystems. LVM tells you about the pool underneath them. These are independent failure domains: a thin pool can be 100% full and freezing all writes while df shows 50% usage, because the filesystem’s space is virtual and the pool’s space is physical.

How it works: the three layers

LVM organizes storage into three layers, and every LVM command you run manipulates one of them.

Physical Volumes (PVs) are raw block devices: disks, partitions, SAN LUNs, md RAID arrays, multipath devices, NVMe namespaces. pvcreate stamps the device with a metadata header and divides the usable space into physical extents (PEs), fixed-size chunks that default to 4 MiB. The metadata area at the start of the PV (the Volume Group Descriptor Area, VGDA) contains the PV’s UUID, its extent map, and the complete description of every LV in the VG. Each PV in a VG holds a copy of the VG metadata.

Volume Groups (VGs) are pools. A VG aggregates the PEs from one or more PVs into a single allocatable namespace and is the unit of administration: it defines the PE size and the set of contributing PVs. Because metadata is replicated across all member PVs and must stay consistent, a crash during a metadata update or bad blocks in a PV’s metadata area can make an entire VG unreadable. Every metadata change increments a sequence number, and that sequence number is your audit trail: a disagreement between PVs tells you one of them missed an update.

Logical Volumes (LVs) are virtual block devices carved from VG capacity, exposed as /dev/VG/LV, which are symlinks into /dev/mapper/. Each LV is, at its core, a segment map: “blocks 0 through N of this LV correspond to PEs X through Y on PV Z.” LV types include:

  • Linear: simple extent mapping, contiguous or not. Zero I/O overhead, pure remapping.
  • Striped: extents spread across multiple PVs for parallelism.
  • Mirror/RAID: dm-mirror or dm-raid (which uses the kernel md infrastructure) for redundancy.
  • Thin-provisioned: overcommitted allocation from a shared thin pool.
  • Snapshot: copy-on-write point-in-time copies, traditional or thin.
  • Cache: dm-cache or dm-writecache layering a fast device in front of a slow one.
flowchart TD
  subgraph kernel["Kernel"]
    DM["device-mapper
mapping tables in memory"] end APP["Filesystems / applications"] -->|I/O on /dev/VG/LV| DM DM -->|extent map| LV["Logical Volumes
virtual block devices"] LV -->|allocated from| VG["Volume Group
pool of 4 MiB extents"] VG -->|aggregates| PV1["PV: /dev/sdb"] VG -->|aggregates| PV2["PV: /dev/sdc"] VGDA["VGDA metadata
start of each PV"] -.->|describes| VG PV1 -.->|holds copy| VGDA PV2 -.->|holds copy| VGDA

Device-mapper: the kernel machinery

This is the part most operators skip, and the part that matters most during an incident.

LVM is userspace tooling. The actual work is done by the kernel’s device-mapper (dm) subsystem. When an LV is activated, LVM loads a mapping table into the kernel. From that point on, every active LV is a /dev/dm-N device, and the kernel routes I/O according to the table. You can see the tables directly with dmsetup table and device state with dmsetup status.

Two operational consequences follow.

First, table reloads suspend I/O. When you resize or reshape an LV, dm briefly suspends the device, swaps the table, and resumes. This is normally sub-second. A dm device stuck in suspended state for minutes means something is wrong at the kernel level, and every process doing I/O to it is parked in uninterruptible sleep (D state), unkillable even with SIGKILL until the device resumes.

Second, dmsetup talks to the kernel directly. It takes no LVM locks and does no disk I/O. Every LVM command (pvs, vgs, lvs) takes a VG lock and reads metadata from PV headers. When PVs are slow or a lock is held by a stuck pvmove, the LVM tools hang while dmsetup status still answers instantly. During an incident, dmsetup is your primary diagnostic tool. Also remember that your monitoring system’s lvs calls participate in the same lock and I/O paths they are observing.

One more practical detail: dm minor numbers (/dev/dm-3, /dev/dm-7) are not stable across reboots. The /dev/mapper/VG-LV names are. Never put /dev/dm-N in a configuration file.

Thin pools and snapshots: the two internal machines

Thin pools

A thin pool is a pair of special internal LVs managed together: a data LV (tdata) holding the actual blocks, and a much smaller metadata LV (tmeta) holding the block mapping table for every thin volume in the pool. Thin LVs get virtual sizes that can sum to more than the pool’s physical size; physical blocks are allocated on first write.

This creates two independent exhaustion domains, and they fail differently:

  • Data exhaustion: at 100% data, the default kernel behavior is to queue writes for 60 seconds (the no_space_timeout default), then fail them with errors. Databases crash, VMs pause, applications see I/O errors. Painful, but generally recoverable by extending the pool.
  • Metadata exhaustion: at 100% metadata, the pool cannot record new block mappings, and the metadata itself can become inconsistent. Recovery requires offline repair via lvconvert --repair, and it is not guaranteed. Treat that command as a data-loss-risk operation: it requires the pool to be deactivated and rebuilds the metadata with thin_repair. The preventive fix is extending the metadata LV (lvextend on the pool’s tmeta) before it fills. Metadata consumption is non-linear: it tracks unique blocks written, not bytes written, so random I/O burns metadata far faster than sequential I/O, and snapshots multiply metadata entries. This is why you can see a pool at 40% data and 95% metadata, and why teams monitoring only data_percent get blindsided.

Two defaults here are genuinely dangerous and widely misunderstood. First, thin_pool_autoextend_threshold defaults to 100, which means auto-extend is disabled out of the box. Many operators believe their pools will auto-grow; they have never checked. Second, even when auto-extend is configured, it requires dmeventd to be running and free extents in the VG. If either is missing, auto-extend fails silently.

Traditional snapshots

A traditional (non-thin) snapshot gets a fixed-size COW exception store at creation time. Every write to the origin triggers a three-step operation: read the original block, copy it into the exception store, then write the new data. That is a minimum 3x write amplification on the origin, and multiple snapshots on the same origin multiply it further.

The failure mode is a cliff: when the exception store hits 100%, the snapshot is immediately and irreversibly invalidated. It does not warn and it does not degrade gracefully. The snapshot stays in lvs output with I (invalid) in the state attribute, but the restore point is gone. The origin keeps running fine, which is exactly why nobody notices until the backup restore fails. Thin snapshots avoid the fixed exception store by sharing the pool, but they inherit the pool’s exhaustion risks instead.

Activation and the death of lvmetad

An LV existing in metadata is not the same as an LV being usable. Activation is the step where LVM loads the dm table into the kernel. Activation failures at boot (a PV slow to appear, an initramfs without the right tooling) are a classic cause of systems coming up with missing mount points.

On caching: if you have read older documentation about lvmetad, the metadata caching daemon, disregard it unless you run legacy RHEL 7 or older. lvmetad was removed in the LVM 2.03 series. Every currently supported distribution (RHEL 8+, Ubuntu 22.04+, Debian 12+) ships LVM 2.03.x and has never had it. Modern LVM uses event-driven autoactivation: udev rules fire pvscan --cache as devices appear, and LVs activate in dependency order. A config file on a modern system that references use_lvmetad is stale.

Where it shows up in production

The model above explains the failure archetypes you will actually meet:

  • Space exhaustion: VG free extents gone, or thin pool data/metadata full. Cliff-edge behavior: no degradation at 99%, total failure at 100%.
  • Device loss: a PV disappears (disk failure, SAN path loss). The VG goes partial. Linear and striped LVs with extents on the missing PV are immediately inaccessible; mirrored and RAID LVs degrade.
  • Silent redundancy loss: a mirror leg dies and everything keeps working on the surviving leg. No application errors. The next failure is total data loss.
  • Metadata corruption: crash during a metadata write or bad blocks in the VGDA. Can make the whole VG unreadable. Your lifeline is the automatic backups in /etc/lvm/backup/ and the archive in /etc/lvm/archive/, which vgcfgrestore reads.
  • Snapshot collapse: a write-heavy origin fills the COW store, the snapshot invalidates instantly, and origin latency spiked the whole time from COW overhead.
  • Thin pool strangulation: as the pool approaches full, internal reclaim activity competes with application I/O, so latency rises before the pool actually fills.

Also note the stacked-storage trap: LVM on md RAID on multipath on a SAN is four layers. A SAN path failure surfaces as an LVM “missing PV.” Before debugging LVM, check the layers below it (multipath -ll, mdadm --detail, dmesg).

Signals to watch in production

These are the signals that fall directly out of the model. Thresholds and response procedures belong to the monitoring playbook; this is the minimum set that maps to the architecture.

SignalWhy it mattersWarning sign
VG free spaceHeadroom for extends, snapshots, thin pool growth. Cliff-edge at 0.Below 10%, or any sustained downward trend
Thin pool data_percentAt 100%, all thin LVs in the pool fail writes simultaneouslyAbove 85%, or growth projecting exhaustion within days
Thin pool metadata_percentExhaustion can corrupt the pool; recovery not guaranteedAbove 75%; any value climbing while data% is low
Snapshot snap_percentCOW store overflow invalidates the snapshot irreversiblyAbove 80%, or any snapshot older than 24h on a busy origin
PV presenceA missing PV means partial VG; linear LVs on it are goneAny PV showing [unknown] or the m attribute
LV health (attr position 9)p partial (a PV is missing), r refresh needed, mismatch flags on RAIDAny character other than -
Mirror/RAID sync stateDegraded arrays have zero redundancy; resync hammers I/OA RAID/mirror LV stuck below 100% sync long after creation, or resync not progressing
dm device stateSuspended devices block all I/O; D-state processes pile upAny device suspended more than a few seconds
dmeventd running + auto-extend configThe safety net for thin pools; silently absent otherwisethin_pool_autoextend_threshold = 100 (disabled) on a production pool
D-state process countThe user-visible symptom of LVM I/O hangsProcesses stuck on dm devices for more than a minute

How Netdata helps

The LVM failure modes above share a trait: they are visible in kernel and block-layer signals before they become outages, but only if someone is collecting those signals continuously.

  • Netdata collects per-device block I/O metrics for dm devices (throughput, latency, I/O in progress) from the kernel, so you can see origin latency rising from snapshot COW overhead or thin pool reclaim activity before the pool fills.
  • Correlating dm-device latency against the underlying physical device latency tells you whether the LVM layer itself (snapshots, thin provisioning, RAID rebuild) is the bottleneck, or the disk is.
  • D-state process counts and disk error signals are collected alongside the block metrics, which makes corroboration possible: “thin pool full” plus “D-state processes accumulating on dm devices” is a very different page than either signal alone.
  • Per-second collection with historical retention closes LVM’s biggest instrumentation gap: LVM itself shows current state only, so trend-based runway estimation (VG free space, pool fill rate) requires an external time series.
  • Anomaly detection on dm-device latency catches the slow-burn cases, like a mirror resync silently degrading application latency, that fixed thresholds miss.