Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

LVM Snapshots

Direct answer

An LVM snapshot is a point-in-time copy of an LV using copy-on-write space in the VG, useful for consistent backups or before risky changes.

When to use this

Use it before upgrades or for backups, or when a snapshot becomes invalid.

First 30 seconds

1. vgs — free space for the snapshot?

2. Create: lvcreate -s -n snap -L 10G /dev/<vg>/<lv>.

3. lvs — Data% of the snapshot rising?

4. Roll back: lvconvert --merge /dev/<vg>/snap; or remove with lvremove.

5. Back up from the snapshot, then remove it.

Operational verification

snapshot created → origin writes copy old blocks into the snapshot → snapshot stays consistent until full → merged or removed

Evidence · next step

For LVM → LVM Snapshots, continue with the first unproven Topic check: Identify origin LV, snapshot type, creation time and consistency/quiesce method. If that boundary is healthy, advance to the adjacent check: Measure classic snapshot data percent or thin-pool data/metadata utilization. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
linux
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformlinux
Key commandlvs -o lv_name,origin,data_percent
Scope / prerequisiteUse it before upgrades or for backups, or when a snapshot becomes invalid.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational evidence path Verify boundary

origin LV → snapshot metadata/COW mapping → changed-block tracking → COW/thin-pool capacity → snapshot view → restore/merge/read workload

Healthy evidence: origin and snapshot mappings are known, COW/thin capacity has headroom, snapshot remains valid/readable and consistency meets the intended recovery use.

Step 2 Verification and output interpretation Verify boundary

Existing fast checks for this Topic. - Identify origin LV, snapshot type, creation time and consistency/quiesce method.

  • Measure classic snapshot data percent or thin-pool data/metadata utilization.
  • Validate snapshot readability and application-consistency expectations separately.
  • Remove/merge only after confirming dependency direction, capacity and recovery plan.

Verification chain. origin LV → snapshot metadata/COW mapping → changed-block tracking → COW/thin-pool capacity → snapshot view → restore/merge/read workload

Step 3 Commands Verify boundary
lvcreate -s -n data_snap -L 5G /dev/vg0/data
lvs -o lv_name,origin,data_percent
lvremove /dev/vg0/data_snap
Step 4 Failure modes and next checks Narrow the fault

Suspicious evidence: snapshot nearing full, thin metadata pressure, unclear origin dependency or treating the snapshot as an off-host backup creates recovery risk.

Step 5 Common mistakes Narrow the fault
  • Snapshots filling up and becoming invalid.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points

Snapshots need free VG space and become invalid when full — size them for the change rate and remove them soon. They slow writes to the origin. They are not a backup by themselves.

Key checks
  • pvs — physical volumes
  • vgs — volume groups and free space
  • lvs -a -o +devices — logical volumes and their devices
  • lsblk — stack view
ReferenceWhat it is1 section · depth on demand

Core model

Treat an LVM snapshot as a dependent point-in-time block view, not as an independent backup. Capture origin, snapshot type, creation point and allocated COW/thin-pool capacity. Monitor fullness because classic snapshot invalidation or thin-pool exhaustion can make the snapshot unusable or affect writes.

ReferenceImportant terms & boundaries5 sections · depth on demand

What this shows and what it does not

LVM snapshot evidence shows a dependent point-in-time block mapping, not independent retention, application consistency or backup recoverability.

In depth

LVM snapshots: thick (COW) and thin

An LVM snapshot is a point-in-time image of a logical volume. The lvcreate(8) manual page describes two kinds:

  • A copy-on-write snapshot is created with -s and a size. That space stores the original blocks as the origin changes, and the manual suggests that 20 % of the origin is often enough. COW space can be extended with lvextend, or extended automatically with monitoring.
  • A thin snapshot of a thin LV is created without a size. The manual warns that giving a size would create a COW snapshot instead.

COW and thin snapshots compared

COW snapshotThin snapshot
OriginAny LVA thin LV in a thin pool
SpaceReserved at creation (-L / -l %ORIGIN)Shared from the pool
Write performance of the originNoticeably lower while the snapshot existsLittle impact
When the space runs outThe snapshot becomes invalidThe whole pool can fill; all thin volumes are affected
Many snapshotsEach slows the origin furtherCheap
ActivationActive by defaultSkipped at activation by default (-ky); activate with -K

Typical uses

UsePattern
Consistent backupFreeze or flush the application, snapshot, mount read-only, back up, remove
Before an upgradeSnapshot, upgrade, then lvconvert --merge to roll back if needed
Test copiesThin snapshots of a database volume

Watching snapshot fill

For COW snapshots, the Data% column in lvs shows how much of the reserved space is used. At 100 % the snapshot is unusable. Size them for the expected changes during their lifetime, and remove them promptly.

host$ sudo lvcreate -s -l 20%ORIGIN -n app-snap vg1/app
  Logical volume "app-snap" created.
host$ sudo mount -o ro,nouuid /dev/vg1/app-snap /mnt/snap
host$ sudo tar czf /srv/backup/app-2026-11-28.tar.gz -C /mnt/snap .
host$ sudo lvs -o lv_name,origin,lv_size,data_percent vg1
  LV        Origin LSize  Data%
  app              50.00g
  app-snap  app    10.00g  3.42
host$ sudo umount /mnt/snap && sudo lvremove -y vg1/app-snap
host$ sudo lvcreate -s -L 10G -n pre-upgrade vg0/root
host$ sudo lvconvert --merge vg0/pre-upgrade

XFS snapshots need nouuid

A snapshot of an XFS file system has the same UUID as its origin. Mounting both at once fails unless the snapshot is mounted with -o nouuid, as in the example.

Merging a root snapshot

When the origin is in use, as the root file system is, lvconvert --merge happens at the next activation, usually the next reboot.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

How it works at runtime

LVM Snapshots is part of LVM → LVM Snapshots. LVM Snapshots create point-in-time copy-on-write block mappings tied to an origin LV, with classic snapshots depending on allocated COW space and thin snapshots depending on thin-pool metadata/data capacity.

Topic-specific state model. LVM Snapshots create point-in-time copy-on-write block mappings tied to an origin LV, with classic snapshots depending on allocated COW space and thin snapshots depending on thin-pool metadata/data capacity.

Interpretation rule. - LVM snapshot exists ≠ application-consistent backup.

  • Snapshot mounted/readable ≠ origin remains healthy.
  • Snapshot COW space available now ≠ it will survive expected change rate.
  • Snapshot copy-on-write dependency ≠ independent disaster-recovery copy.

Quick reference

LVM snapshots:

# classic (thick) snapshot — fixed CoW space
lvcreate -s -n lv_app_snap -L 10G vg_data/lv_app
lvs -o lv_name,origin,data_percent vg_data
mount -o ro,nouuid /dev/vg_data/lv_app_snap /mnt/snap      # nouuid for XFS
lvconvert --merge vg_data/lv_app_snap                        # roll back (merges at next activation)
lvremove vg_data/lv_app_snap
# thin snapshot (in a thin pool)
lvcreate -s -n app_thin_snap vg_data/thin_app

Classic snapshots become invalid when their CoW space fills and slow writes to the origin; use them briefly (backup source, pre-upgrade). Thin snapshots are cheaper and can be kept longer, but need thin pool monitoring.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Limits and how it fails

Primary failure point. LVM snapshot evidence shows a dependent point-in-time block mapping, not independent retention, application consistency or backup recoverability.

ReferenceConfiguration & state1 section · depth on demand

Configuration, persistence and lifecycle

Distribution/platform context. LVM Snapshots owns block-level LVM snapshot mechanics. Storage Backup owns independent backup/recovery; applications own quiescing/consistency.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor doclinux current

Authoritative/upstream documentation reviewed for bounded claims in LVM → LVM Snapshots. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_logical_volumes/ · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
lvm snapshotlv snapshotcow snapshot lvmthin snapshot lvm
Embedded reference data

Quick lookup tables

LVM Snapshots operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for LVM Snapshots.

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateLVM Snapshots create point-in-time copy-on-write block mappings tied to an origin LV, with classic snapshots depending on allocated COW space and thin snapshots depending on thin-pool metadata/data capacity.Establish exactly what this Topic owns before crossing into another subsystem.
Fast verificationPin host + incident/change time → capture block topology and stable identities → validate partition/device metadata → validate filesystem identity/integrity and effective mount namespace/options → validate PV/VG/LV/device-mapper state where used → make one controlled change at the first failed boundary → re-read effective storage state → repeat original workload I/O/acceptance test.Use the shortest evidence path first; a fast check is a boundary test, not blanket proof.
Verification chainorigin LV → snapshot metadata/COW mapping → changed-block tracking → COW/thin-pool capacity → snapshot view → restore/merge/read workloadTrace requested/configured state through effective state to the observed workload result.
Failure boundaryLVM snapshot evidence proves a dependent point-in-time block mapping, not independent retention, application consistency or backup recoverability.Stop broad troubleshooting at the first boundary that is not supported by evidence.
Positive evidenceCorrelated Linux storage evidence can establish this proof path: origin LV → snapshot metadata/COW mapping → changed-block tracking → COW/thin-pool capacity → snapshot view → restore/merge/read workloadUse this observation only for the specific claim it actually supports.
Evidence limitIt does not independently prove behavior outside the captured device, metadata, mapping, mount or workload scope. LVM snapshot evidence proves a dependent point-in-time block mapping, not independent retention, application consistency or backup recoverability.Do not promote a local success signal into end-to-end or adjacent-dependency proof.
Next troubleshooting checkContinue from the first unproven boundary: prove backing identity, then on-device metadata, then filesystem/LVM mapping and effective mount/device state, and finally repeat the original workload I/O before any additional storage change.Continue to the next unresolved boundary while preserving the original test condition.

LVM Snapshots · operational reference

Compact Linux state, persistence, verification and boundary reference for fast lookup.

Reference boundaryLVM Snapshots
Topic pathLVM → LVM Snapshots
Runtime stateLVM Snapshots create point-in-time copy-on-write block mappings tied to an origin LV, with classic snapshots depending on allocated COW space and thin snapshots depending on thin-pool metadata/data capacity.
Fast checks- Identify origin LV, snapshot type, creation time and consistency/quiesce method. - Measure classic snapshot data percent or thin-pool data/metadata utilization. - Validate snapshot readability and application-consistency expectations separately. - Remove/merge only after confirming dependency direction, capacity and recovery plan.
Verification chainorigin LV → snapshot metadata/COW mapping → changed-block tracking → COW/thin-pool capacity → snapshot view → restore/merge/read workload Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary.
Failure boundaryLVM snapshot evidence proves a dependent point-in-time block mapping, not independent retention, application consistency or backup recoverability. Boundary chain: process/context → userspace configuration → kernel subsystem/resource → device/network/filesystem dependency → effective state → original workload.
Persistence ruleProve which configuration source owns the state, then prove that the running consumer loaded or generated the intended state.
Confirmation

Confirm action

Continue?