Use it to reclaim space from an oversized LV — carefully.
Reduce Logical Volume
Reducing a logical volume shrinks the filesystem first and then the LV. ext4 can shrink (offline); XFS cannot.
1. Backup verified?
2. Filesystem type: ext4 (can shrink) or XFS (cannot)?
3. ext4: unmount, lvreduce -r -L <newsize> /dev/<vg>/<lv>.
4. e2fsck -f and mount.
5. Check df -h and data.
backup → filesystem shrunk → LV shrunk to match → extents returned to the VG
For LVM → Reduce Logical Volume, continue with the first unproven Topic check: Identify filesystem type and confirm whether shrinking is supported at all. If that boundary is healthy, advance to the adjacent check: Create/verify recovery protection and capture exact filesystem/LV sizes before changes. 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.
Verification & 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
recovery protection → filesystem shrink capability/check → filesystem shrink → verify new fs boundary → LV reduction → device mapping → remount → workload/data validation
Healthy evidence: the filesystem explicitly supports shrink, recovery is available, filesystem is reduced first, LV is reduced second and post-change integrity/workload checks pass.
Step 2 Verification and output interpretation Verify boundary
Existing fast checks for this Topic. - Identify filesystem type and confirm whether shrinking is supported at all.
- Create/verify recovery protection and capture exact filesystem/LV sizes before changes.
- Perform required offline checks and shrink the filesystem before reducing the LV.
- After LV reduction, re-check filesystem, mount it and run data/workload validation.
Verification chain. recovery protection → filesystem shrink capability/check → filesystem shrink → verify new fs boundary → LV reduction → device mapping → remount → workload/data validation
Step 3 Commands Verify boundary
umount /data
e2fsck -f /dev/vg0/data
lvreduce -r -L 30G /dev/vg0/data
Step 4 Failure modes and next checks Narrow the fault
Suspicious evidence: attempting to shrink XFS, reducing LV before filesystem, relying on free-space percentage or skipping recovery validation risks immediate irreversible data loss.
Step 5 Common mistakes Narrow the fault
- Shrinking XFS (impossible).
- Reducing the LV before the filesystem.
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.
Back up first. Shrinking the LV before the filesystem destroys data. lvreduce -r shrinks ext4 and the LV together. For XFS, back up, recreate smaller, and restore.
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
Reduction order is the reverse of growth: show the upper filesystem supports shrinking, unmount/offline as required, check/repair it, shrink the filesystem first, then reduce the LV to a boundary that remains larger than used metadata/data. XFS generally cannot be shrunk, so migration/recreation is required instead of generic lvreduce workflows.
ReferenceImportant terms & boundaries5 sections · depth on demand
What this shows and what it does not
LV reduction is safe only when upper data structures have already been confirmed below the new boundary; LVM success alone cannot show data survival.
In depth
Reducing is the dangerous direction
The lvreduce manual warns that data in the reduced area is lost and that file systems should be shrunk first so the removed extents are not in use; -r/--resizefs shrinks the file system and the LV together through fsadm.
File system support decides what is possible
| File system | Shrink |
|---|---|
| ext4 | Yes — offline (unmounted) |
| XFS | No — cannot be shrunk; back up, recreate smaller, restore |
| Btrfs | Yes, online (btrfs filesystem resize) |
Worked ext4 reduction
# umount /srv/archive
# e2fsck -f /dev/vg_data/lv_archive
# lvreduce -r -L 60G /dev/vg_data/lv_archive
fsck from util-linux ...
resize2fs 1.47.0 (5-Feb-2023)
Resizing the filesystem on /dev/mapper/vg_data-lv_archive to 15728640 (4k) blocks.
Size of logical volume vg_data/lv_archive changed from 100.00 GiB to 60.00 GiB.
# mount /srv/archive && df -h /srv/archive
With -r, fsadm runs the check and resize2fs in the right order. Doing it by hand, the order is: resize2fs to a size smaller than the target, lvreduce to the target, then resize2fs without a size to fill the LV exactly.
XFS: the supported path
xfsdump -l 0 -f /backup/app.dump /srv/app # or rsync -aHAX to another volume
umount /srv/app
lvremove vg_data/lv_app
lvcreate -n lv_app -L 40G vg_data
mkfs.xfs /dev/vg_data/lv_app
mount /srv/app && xfsrestore -f /backup/app.dump /srv/app
Pre-flight checklist
| Check | Command |
|---|---|
| Used space well below target | df -h |
| Verified backup | Restore test of a sample |
| Maintenance window (ext4 must be unmounted) | Stop services using the mount (fuser -vm /srv/archive) |
| Not the root file system | Root needs a rescue environment to shrink |
Often the better answer is not to shrink at all: create a new right-sized LV, migrate data, and remove the old one.
*The filesystem resize messages illustrate an offline volume reduction; no real filesystem operation was performed.*
How it works at runtime
Reduce Logical Volume is part of LVM → Reduce Logical Volume. Reducing an LVM Logical Volume removes addressable extents from the end of the logical device and is destructive unless the contained filesystem or raw data structure has first been safely reduced below the new boundary.
Topic-specific state model. Reducing an LVM Logical Volume removes addressable extents from the end of the logical device and is destructive unless the contained filesystem or raw data structure has first been safely reduced below the new boundary.
Interpretation rule. - Free filesystem space ≠ blocks above the proposed new end are unused.
- lvreduce confirmation ≠ filesystem was safely shrunk first.
- Unmounted filesystem ≠ safe to shrink without filesystem-specific validation.
- Snapshot/backup exists ≠ destructive reduction can be performed without restore testing.
Method
Reducing an LV is only safe for filesystems that can shrink (ext4 offline; XFS cannot):
umount /srv/app
e2fsck -f /dev/vg_data/lv_app
lvreduce -r -L 80G vg_data/lv_app # shrinks ext4 first, then the LV
mount /srv/app
Without -r, reducing the LV below the filesystem size destroys data. Back up first. For XFS: create a smaller LV, copy data (xfsdump | xfsrestore or rsync -aHAX), switch mounts, remove the old LV.
Limits and how it fails
Primary failure point. LV reduction is safe only when upper data structures have already been confirmed below the new boundary; LVM success alone cannot show data survival.
ReferenceConfiguration & state1 section · depth on demand
Configuration, persistence and lifecycle
Distribution/platform context. Reduce Logical Volume owns destructive LVM size reduction sequencing. Filesystem-specific branches own whether/how their filesystem can shrink.
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 → Reduce Logical Volume. 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
Reduce Logical Volume operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for Reduce Logical Volume.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | Reducing an LVM Logical Volume removes addressable extents from the end of the logical device and is destructive unless the contained filesystem or raw data structure has first been safely reduced below the new boundary. | 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 | recovery protection → filesystem shrink capability/check → filesystem shrink → verify new fs boundary → LV reduction → device mapping → remount → workload/data validation | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | LV reduction is safe only when upper data structures have already been proven below the new boundary; LVM success alone cannot prove data survival. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated Linux storage evidence can establish this proof path: recovery protection → filesystem shrink capability/check → filesystem shrink → verify new fs boundary → LV reduction → device mapping → remount → workload/data validation | 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. LV reduction is safe only when upper data structures have already been proven below the new boundary; LVM success alone cannot prove data survival. | 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. |
Reduce Logical Volume · operational reference
Compact Linux state, persistence, verification and boundary reference for fast lookup.
| Reference boundary | Reduce Logical Volume |
|---|---|
| Topic path | LVM → Reduce Logical Volume |
| Runtime state | Reducing an LVM Logical Volume removes addressable extents from the end of the logical device and is destructive unless the contained filesystem or raw data structure has first been safely reduced below the new boundary. |
| Fast checks | - Identify filesystem type and confirm whether shrinking is supported at all. - Create/verify recovery protection and capture exact filesystem/LV sizes before changes. - Perform required offline checks and shrink the filesystem before reducing the LV. - After LV reduction, re-check filesystem, mount it and run data/workload validation. |
| Verification chain | recovery protection → filesystem shrink capability/check → filesystem shrink → verify new fs boundary → LV reduction → device mapping → remount → workload/data validation Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return path or regression → explicit Evidence boundary. |
| Failure boundary | LV reduction is safe only when upper data structures have already been proven below the new boundary; LVM success alone cannot prove data survival. 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. |