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-vgreduce-removemissing-recovery ▌

Operations Guides

LVM recovering a volume group after permanent PV loss: vgreduce --removemissing

When a physical volume (PV) disappears from the system, the volume group (VG) enters a partial state. LVM commands start printing “Couldn’t find device with uuid” warnings, and any logical volume (LV) with extents on the missing PV becomes inaccessible (linear/striped) or degraded (mirror/RAID). Once you have confirmed the PV is permanently lost, vgreduce --removemissing cleans the missing PV out of the VG metadata.

This is a one-way door. The command permanently removes the missing PV from VG metadata and, with --force, destroys any partial LV that depended solely on that PV. There is no automatic undo. LVM archives metadata before destructive operations, and vgcfgrestore can reverse some changes, but thin pool LVs and cache pool LVs removed by --force are not recoverable through metadata restoration.

What this command does

vgreduce --removemissing <VG> removes all missing PVs from VG metadata, but only if there are no LVs allocated on them. If LVs reference the missing PVs, the command refuses without --force.

With --force, any LV (or segment of an LV) that had extents on the missing PV is removed from VG metadata entirely. This is the destructive path.

The --mirrorsonly flag limits removal to missing PVs that are part of mirror or RAID LVs only, leaving non-redundant LVs intact. Use this when you want to clean up degraded RAID legs without destroying linear LVs that may still have recoverable data on surviving PVs.

Always run with --test first to preview exactly what will be destroyed.

Prerequisites: confirm the PV is permanently gone

The most common operator mistake is running this command when the PV is temporarily unreachable due to a loose cable, SAN path failure, multipath daemon outage, or a LUN that was temporarily unpresented.

# Check for missing PVs
pvs -o pv_name,vg_name,pv_attr,pv_size,pv_free
# Missing PVs show as "[unknown]" or with attr 'm'

# Check VG partial status
vgs -o vg_name,vg_attr,pv_count
# 'p' in vg_attr means partial (missing PV)

# Verify each PV device exists
for pv in $(pvs --noheadings -o pv_name); do
  [ -b "$pv" ] && echo "$pv: OK" || echo "$pv: MISSING"
done

# Check kernel log for device errors
dmesg | grep -i 'I/O error\|offline\|not ready\|device not found' | tail -50

Additional checks before concluding the PV is gone permanently:

  • SAN or iSCSI: Rescan the bus with echo '- - -' > /sys/class/scsi_host/host*/scan. Check multipath -ll for path status. Check iscsiadm for session state.
  • Multipath: Verify multipathd is running. A down multipath daemon can make PVs appear missing even when underlying paths exist.
  • Cable or connector: Physical inspection for loose SAS, SATA, or FC connections.
  • udev or systemd: Verify the device is not simply slow to appear after a reboot or rescan.

If the device reappears after any of these checks, do not run vgreduce --removemissing. The VG will recover automatically once the PV is visible again.

Assess the damage before running anything

Do not run vgreduce --removemissing until you have assessed the damage. Identify which LVs had extents on the missing PV and determine their redundancy status.

# Identify LVs with extents on the missing PV
pvs --segments -o pv_name,lv_name,seg_start_pe,seg_size_pe

# Check LV health status
lvs -o lv_name,vg_name,lv_attr,lv_health_status
# 'p' in position 9 of lv_attr means partial (missing PV)

# Check RAID health if applicable
lvs -o lv_name,lv_attr,copy_percent,raid_sync_action
flowchart TD
    A["PV reported missing"] --> B{"Permanently gone?"}
    B -- No --> C["Fix path, cable,\nor multipath"]
    C --> D["PV returns,\nVG recovers"]
    B -- Yes --> E["Assess damage:\nwhich LVs affected?"]
    E --> F{"Non-redundant LVs\non missing PV?"}
    F -- Yes --> G["Data is lost.\nRestore from backup."]
    F -- No --> H["RAID or mirror\ndegraded but functional"]
    G --> I["Run --test preview"]
    H --> I
    I --> J{"Acceptable\ndamage?"}
    J -- No --> K["Stop. Seek\nalternative recovery."]
    J -- Yes --> L["vgreduce --removemissing\n--force"]
    L --> M["Rebuild RAID or\nrestore from backup"]

The recovery path depends on the LV layout:

LV layoutImpact of missing PVRecovery path
Linear or stripedData on missing PV extents is lost. LV may be unrecoverable.Restore from backup. --force removes the partial LV from metadata.
Mirror or RAID 1Array degrades but continues on remaining leg(s).Replace PV, rebuild with lvconvert --repair.
RAID 4/5/6Degrades with reduced redundancy. RAID 6 tolerates two failures.Replace PV, rebuild.
Thin pool (data or metadata LV on missing PV)All thin LVs in the pool are affected.Do not use --force without understanding that thin pool removal is irreversible.
Cache poolCache pool may be silently destroyed.Recovery requires raw metadata extraction. See common pitfalls.

Procedure

Each step assumes you have already confirmed the PV is permanently gone and assessed the damage.

Step 1: Activate accessible LVs in partial mode.

# Activate LVs that do not depend on the missing PV
vgchange --activate y --partial <VG>

This brings up LVs whose extents are entirely on surviving PVs. LVs with extents on the missing PV remain inaccessible. If activation hangs, use dmsetup status to check device-mapper state directly, since dmsetup does not take LVM locks.

Step 2: Preview what will be destroyed.

# Always run --test first
vgreduce --removemissing --test <VG>

Review the output carefully. This shows exactly which PVs and LVs will be removed. If the output shows thin pool or cache pool LVs, stop and read the next section before proceeding.

Step 3: For RAID or mirror VGs, consider --mirrorsonly first.

# Remove only missing PVs from mirror/RAID LVs
# Leaves non-redundant LVs intact for separate recovery planning
vgreduce --removemissing --mirrorsonly --force <VG>

This preserves linear or striped LVs, giving you time to plan their recovery without committing to full metadata removal.

Step 4: Run the full removal.

# WARNING: permanently removes all partial LVs that depended on the missing PV
vgreduce --removemissing --force <VG>

Step 5: Verify the VG is consistent.

# Confirm no missing PVs remain
vgs -o vg_name,vg_attr,pv_count <VG>

# Confirm metadata is consistent
vgck <VG>

Step 6: Rebuild RAID or restore from backup.

# Add a replacement PV if hardware is available
pvcreate /dev/<new_device>
vgextend <VG> /dev/<new_device>

# Repair degraded RAID LV
lvconvert --repair <VG>/<raid_lv>

This is the documented path: lvmraid(7) instructs using lvconvert --repair for RAID devices that are no longer visible on the system (--replace for devices still visible), and repair restores the same number of data LVs that were previously in the LV.


For non-redundant LVs whose data was on the missing PV, restore from backup. The metadata has been cleaned up, so you can recreate the LVs on surviving PVs.

## Thin pools and cache pools are special

Two categories of LVs have irreversible consequences when removed by `--force`.

**Thin pool LVs**: If the thin pool's data LV or metadata LV was on the missing PV, `vgreduce --removemissing --force` removes the thin pool from VG metadata. LVM cannot reverse this operation. `vgcfgrestore` will not recover a thin pool LV removed by this command. All thin volumes and thin snapshots in the pool are gone.

**Cache pool LVs**: `vgreduce --removemissing` on a VG with a cache pool LV can remove the entire cache LV without warning. Recovery in one documented case required extracting raw LVM metadata from disk images using `dd`, editing the metadata ring buffer, and using `pvcreate --restorefile` with a loop device. This is not a supported recovery path.

Before running `--force`, check whether the VG contains thin pools or cache pools:

```bash
## Check for thin pools
lvs -o lv_name,lv_attr -S 'lv_layout=thin,pool' <VG>

## Check for cache volumes
lvs -o lv_name,lv_attr -S 'lv_layout=cache' <VG>

If thin pools or cache pools exist and their backing PVs are among the missing, --force will destroy them. Consider whether the data or metadata LV can be recovered by other means before proceeding.

Undo with vgcfgrestore

LVM automatically archives metadata before every change. The archive file created before vgreduce --removemissing --force ran is the key recovery point if you need to reverse the operation.

## List available archive files for the VG
vgcfgrestore --list <VG>

## Restore from a specific archive file
vgcfgrestore -f /etc/lvm/archive/<VG>_<timestamp>.vg <VG>

Important limitations:

  • vgcfgrestore restores metadata, not data. It can bring back the LV’s mapping table, but the underlying physical extents on the missing PV are still gone.
  • vgcfgrestore will not recover thin pool LVs removed by --force. The thin pool removal is irreversible.
  • vgcfgrestore may refuse if the VG state changed while the device was missing, reporting an error about restoring metadata when a PV was missing during the last modification. The workaround is to create a loop device with the same UUID as the missing PV, then restore.
  • After vgcfgrestore, you must reactivate affected LVs manually.

vgcfgrestore is a safety net for metadata mistakes, not for data recovery. If a non-redundant LV was destroyed and its backing data was on a permanently lost PV, the data is gone regardless of metadata restoration.

Common pitfalls

Automated vgreduce in cluster failover scripts: Automated vgreduce --removemissing --force in cluster failover scripts can destroy VG metadata when LUNs are temporarily unseen on the secondary node. This has been documented in ClusterLabs resource-agents. If you run clustered LVM, never automate this command without a reliable quorum and device-visibility check.

Temporary path failure mistaken for permanent loss: A loose SATA connector, a multipath daemon restart, or a brief SAN fabric disruption can cause a PV to appear missing. Running vgreduce --removemissing in this state destroys the LV metadata even though the disk data is intact. Recovery is possible via vgcfgrestore from the archive taken before the command, but only if you notice quickly.

The 2.03.39 bug fix: LVM2 2.03.39 (March 2026) fixed an infinite loop in vgreduce --removemissing --force for RAID and mirror snapshots. If you are running an older version and the command hangs, this is a known bug.

LVM commands hanging during partial VG state: pvs, vgs, and lvs take a VG lock and read metadata from all PVs, including missing ones. During a partial VG state, these commands can hang for minutes waiting for I/O timeouts on the missing device. Use dmsetup status instead, which reads from kernel memory without taking LVM locks or performing disk I/O.

Signals to monitor

SignalWhy it mattersWarning sign
PV accessibilityMissing PV triggers the partial VG state that leads to this procedurePV shows as [unknown] in pvs output
LV health statusConfirms which LVs have extents on the missing PVNon-dash character in lv_attr position 9
VG metadata consistencyAfter recovery, verifies the VG is cleanvgck returns non-zero
RAID sync statusAfter rebuild, confirms redundancy is restoredcopy_percent below 100 or devices showing D in health characters
LVM command execution timeHung commands during partial VG state indicate the management plane is blockedpvs, vgs, or lvs taking more than a few seconds
Kernel I/O errorsConfirms hardware failure versus presentation issuedmesg showing I/O errors for specific device

How Netdata helps

Correlating PV accessibility with kernel I/O errors, multipath path status, and application I/O latency helps you distinguish permanent device loss from transient path failures before you reach for vgreduce --removemissing.

  • PV accessibility tracking (missing PV detection from pvs output) gives you the first signal that a device has disappeared, with severity escalation when non-redundant LVs are affected.
  • LV health status monitoring surfaces the p (partial) flag on affected LVs, telling you exactly which volumes are impacted before you assess the damage manually.
  • RAID sync progress and health character monitoring confirms whether redundant LVs are surviving on remaining legs, helping you decide between rebuild and restore.
  • LVM command execution time monitoring catches the management-plane hang that occurs when LVM tools try to read metadata from missing devices.
  • Kernel log collection provides the I/O error corroboration needed to confirm hardware failure versus SAN presentation or multipath issues.