Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Reduce

Direct answer

Reducing a logical volume removes space from its end and destroys data unless the filesystem has been shrunk first. Shrink the filesystem, then the LV — and note that XFS cannot be shrunk at all.

When to use this

Use it when the storage question has been narrowed to Logical Volume Management → Reduce. Map the upper consumer through LV/VG/PV to the backing block path, separate allocation state from filesystem/data state, and preserve metadata plus recovery options before destructive changes.

First 30 seconds

1. Reducing is risky: shrink filesystem first (ext4 only; XFS cannot shrink).

2. -r handles ext4 safely.

3. Unmount for ext4 shrink.

4. Back up first.

5. Verify integrity after.

Operational verification

filesystem shrink → LV reduce

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

A successful LV reduction shows LVM changed the block-device boundary, but it does not show removed blocks contained no live data or that the filesystem/application remains consistent.

Suspicious evidence: LV is reduced before filesystem, unsupported filesystem shrink is assumed, recovery copy is absent, size arithmetic is ambiguous or only LVM command success is checked.

Platform / version applicability
Logical Volume Management storage
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.

PlatformLogical Volume Management storage
Scope / prerequisiteUse it when the storage question has been narrowed to Logical Volume Management → Reduce. Map the upper consumer throug…
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.

1 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 Verification path Verify boundary

recovery evidence → consumer shrink capability → upper-layer shrink/relocation → verified boundary → LV reduce → reactivation/mount → workload verification

Healthy evidence: shrink is supported, recovery is verified, upper data structures were safely reduced first, final LV size matches the validated boundary and post-change consistency plus workload checks pass.

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
  • LV reduce ≠ filesystem shrink.
  • Filesystem supports grow ≠ supports shrink.
  • Free space shown inside filesystem ≠ all high-address blocks are unused.
  • Successful LVM metadata update ≠ user data survived.
Key checks
  • lvreduce -r -L 20G <vg>/<lv> — reduce with filesystem resize
  • e2fsck -f <dev> — check before shrink (ext4)
  • df -h — usage below target
ReferenceImportant terms & boundaries3 sections · depth on demand

Allocation

A successful LV reduction shows LVM changed the block-device boundary, but it does not show removed blocks contained no live data or that the filesystem/application remains consistent.

Reduce owns LVM-side contraction safety. Filesystems and applications own whether/how their data structures can shrink. Backup/DR owns recovery protection.

In depth

Shrinking is the risky direction

lvreduce(8) warns that data in the reduced area is lost, and that any file system on the LV must be resized before the LV is reduced. Using -r / --resizefs lets fsadm shrink the file system and the LV together in the correct order.

# umount /srv
# e2fsck -f /dev/vg0/data
# lvreduce -r -L 80G vg0/data
Do you want to unmount "/srv" ? [Y|n] y
resize2fs 1.47.0 (5-Feb-2023)
Resizing the filesystem on /dev/mapper/vg0-data to 20971520 (4k) blocks.
  Size of logical volume vg0/data changed from 120.00 GiB to 80.00 GiB.
# mount /srv && df -h /srv

Sizes are rounded to whole extents, and striped segments must be multiples of the stripe count.

File system support

File systemShrink?
ext2/3/4Yes, offline (unmounted)
XFSNo — XFS cannot be shrunk; back up, recreate smaller, restore
BtrfsYes, online
swapRecreate with mkswap after resizing

Safe procedure

1. Take a verified backup or an LVM snapshot that is kept outside the shrinking range.

2. Check used space: the target must be larger than the data plus headroom.

3. Unmount and run e2fsck -f (ext4).

4. lvreduce -r -L <size> vg/lv — never lvreduce without -r on an LV with a file system unless the file system was already shrunk below the target.

5. Mount and verify data.

Usual reason to shrink

Freeing space for another LV. Often the safer alternative is adding a PV to the VG, or moving data with pvmove and then removing a disk.

*The ext4 resize transcript illustrates shrinking a volume offline; no actual filesystem was modified.*

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

Method

Shrinking is risky: the filesystem must be shrunk before the LV, otherwise the LV cuts off live data. XFS cannot shrink at all.

umount /data
e2fsck -f /dev/vg_data/lv_app
lvreduce -r -L 150G vg_data/lv_app     # -r shrinks ext4 first, then the LV
mount /data

Back up first, never shrink below used space plus margin, and for XFS the only path is create a smaller LV, copy the data (xfsdump/rsync) and switch.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 docLogical Volume Management storage current

Authoritative/upstream documentation reviewed for bounded claims in Logical Volume Management → Reduce. 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/index · confidence 94%
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 reducelv reduceshrink logical volume
Embedded reference data

Quick lookup tables

Logical Volume Management → Reduce LVM map

Fast identity, allocation, capacity and proof boundaries for Logical Volume Management → Reduce.

LVM boundaryWhat to verifyProof limit
Identity / mappingPV, VG, LV/thin-pool identity, size, membership and activation/mappingObject presence alone does not prove upper filesystem or lower path health
Allocation / capacityVG extents, LV size, thin data + metadata usage and upper-consumer capacityFree capacity at one layer does not prove allocation succeeds end to end
Failure boundaryA successful LV reduction proves LVM changed the block-device boundary; it does not prove removed blocks contained no live data or that the filesystem/application remains consistent.Correlate LVM evidence with both consumer and lower block path before recovery
AcceptanceHealthy evidence: shrink is supported, recovery is verified, upper data structures were safely reduced first, final LV size matches the validated boundary and post-change consistency plus workload checks pass.Close only after the original workload and independent read-back/consistency check succeeds
Confirmation

Confirm action

Continue?