Use it before upgrades or for backups, or when a snapshot becomes invalid.
LVM Snapshots
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.
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.
snapshot created → origin writes copy old blocks into the snapshot → snapshot stays consistent until full → merged or removed
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
Operational reference
Fast context before you go deeper.
lvs -o lv_name,origin,data_percentVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
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.
pvs— physical volumesvgs— volume groups and free spacelvs -a -o +devices— logical volumes and their deviceslsblk— 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
-sand 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 snapshot | Thin snapshot | |
|---|---|---|
| Origin | Any LV | A thin LV in a thin pool |
| Space | Reserved at creation (-L / -l %ORIGIN) | Shared from the pool |
| Write performance of the origin | Noticeably lower while the snapshot exists | Little impact |
| When the space runs out | The snapshot becomes invalid | The whole pool can fill; all thin volumes are affected |
| Many snapshots | Each slows the origin further | Cheap |
| Activation | Active by default | Skipped at activation by default (-ky); activate with -K |
Typical uses
| Use | Pattern |
|---|---|
| Consistent backup | Freeze or flush the application, snapshot, mount read-only, back up, remove |
| Before an upgrade | Snapshot, upgrade, then lvconvert --merge to roll back if needed |
| Test copies | Thin 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.
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.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
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.
Quick lookup tables
LVM Snapshots operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for LVM Snapshots.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | 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. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin 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 chain | origin LV → snapshot metadata/COW mapping → changed-block tracking → COW/thin-pool capacity → snapshot view → restore/merge/read workload | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | LVM 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 evidence | Correlated 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 workload | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It 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 check | Continue 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 boundary | LVM Snapshots |
|---|---|
| Topic path | LVM → LVM Snapshots |
| Runtime state | 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. |
| 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 chain | origin 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 boundary | LVM 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 rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |