Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

Logical Volume (LV)

Direct answer

A logical volume (LV) is a block device carved from a VG (/dev/<vg>/<lv>), holding a filesystem or swap. LVs can be resized, moved between PVs and snapshotted.

When to use this

Use it to create or inspect LVM volumes.

First 30 seconds

1. lvs — LV size and attributes.

2. Create: lvcreate -n data -L 50G <vg>.

3. Filesystem: mkfs.xfs /dev/<vg>/data.

4. Mount and add to fstab by UUID.

5. lsblk to confirm.

Operational verification

VG free space → lvcreate → device-mapper device → filesystem → mount

Evidence · next step

For LVM → Logical Volume (LV), continue with the first unproven Topic check: Capture LV UUID, size, segment type, devices/extents and activation state. If that boundary is healthy, advance to the adjacent check: Resolve device-mapper mapping down to expected PVs and identify snapshot/thin dependencies. 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
Scope / prerequisiteUse it to create or inspect LVM volumes.
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

VG extents → LV segment map → device-mapper target → /dev mapper path → filesystem/raw consumer → workload

Healthy evidence: the LV maps to expected extents/devices, is fully active at intended size, has no missing dependencies and its consumer sees consistent capacity.

Step 2 Verification and output interpretation Verify boundary

Existing fast checks for this Topic. - Capture LV UUID, size, segment type, devices/extents and activation state.

  • Resolve device-mapper mapping down to expected PVs and identify snapshot/thin dependencies.
  • Compare LV size with filesystem or raw-consumer expectations.
  • After change, verify mapping, upper-layer size and representative workload I/O.

Verification chain. VG extents → LV segment map → device-mapper target → /dev mapper path → filesystem/raw consumer → workload

Step 3 Commands Verify boundary
lvcreate -n data -L 50G vg0
lvs
mkfs.xfs /dev/vg0/data
Step 4 Failure modes and next checks Narrow the fault

Suspicious evidence: partial mappings, unexpected segment dependencies, inactive LV, mismatched upper-layer size or missing PV extents point to a logical-volume boundary issue.

Step 5 Common mistakes Narrow the fault
  • Using 100% of the VG, leaving no room for snapshots.
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

Create with lvcreate -n <name> -L <size> <vg> (or -l 100%FREE), then make a filesystem. Use the /dev/mapper or /dev/<vg>/<lv> path, or UUID, in fstab.

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

Identify the LV by VG/LV UUID/name and inspect its segment layout, size and activation state. Separate the logical block-device size from any filesystem size inside it. Thin, striped, mirrored or snapshot segment types have additional dependencies that must be included in the mapping.

ReferenceImportant terms & boundaries5 sections · depth on demand

What this shows and what it does not

LV evidence shows logical device mapping and size, not underlying media health or upper filesystem/application correctness.

In depth

Logical volumes: creating and inspecting

A logical volume is the block device that you format and mount. The lvcreate(8) manual page describes how they're created:

  • -L gives a size, and -l gives a number of extents or a percentage: %VG, %FREE, %PVS and, for snapshots, %ORIGIN.
  • -n sets the name.
  • --type can be linear, striped, raid, mirror, thin, thin-pool, cache, vdo, snapshot and more. The manual warns that inferred types can lead to unexpected results.
  • -i and -I set the number of stripes and the stripe size.
  • --type raid1 -m1 creates a mirrored LV.

LV types in practice

TypeCommandUse
Linear (default)lvcreate -L 50G -n app vg1Most volumes
Stripedlvcreate -i 2 -I 64k -L 100G -n fast vg1Throughput across PVs; no redundancy
RAID1lvcreate --type raid1 -m1 -L 50G -n db vg1Mirror across two PVs
Thin pool + thin LVlvcreate --type thin-pool -L 500G -n pool vg1; lvcreate -V 1T -T vg1/pool -n vm01Overcommitted space, cheap snapshots
Cachelvconvert --type cache ...SSD cache in front of an HDD LV

Device paths

PathNotes
/dev/vg1/appSymlink; readable and the usual choice
/dev/mapper/vg1-appThe device-mapper name (a dash in a name is doubled: vg1-my--lv)
/dev/dm-3Kernel name; changes between boots

A volume from creation to mount

host$ sudo lvcreate -L 50G -n app vg1
  Logical volume "app" created.
host$ sudo mkfs.xfs -L app /dev/vg1/app
host$ sudo mkdir -p /srv/app && echo '/dev/vg1/app /srv/app xfs defaults 0 0' | sudo tee -a /etc/fstab
host$ sudo systemctl daemon-reload && sudo mount /srv/app
host$ sudo lvs -a -o lv_name,lv_size,segtype,lv_attr,data_percent,devices vg1
  LV             LSize   Type   Attr       Data%  Devices
  app             50.00g linear -wi-ao----        /dev/sdc(0)
  db              50.00g raid1  rwi-aor---        db_rimage_0(0),db_rimage_1(0)
  [db_rimage_0]   50.00g linear iwi-aor---        /dev/sdc(12800)
  [db_rimage_1]   50.00g linear iwi-aor---        /dev/sde(1)
host$ sudo lvs -o lv_name,copy_percent,lv_health_status vg1/db

Reading lv_attr

-wi-ao---- means writable, inherited allocation, active (a) and open (o, mounted or in use). For RAID LVs, the hidden rimage sub-volumes show which PVs hold each copy. copy_percent and lv_health_status show the sync progress and whether a leg has failed.

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

Logical Volume (LV) is part of LVM → Logical Volume (LV). An LVM Logical Volume is a device-mapper mapping assembled from Volume Group extents and exposed as a block device for filesystems, swap, databases or other consumers.

Topic-specific state model. An LVM Logical Volume is a device-mapper mapping assembled from Volume Group extents and exposed as a block device for filesystems, swap, databases or other consumers.

Interpretation rule. - LV active ≠ filesystem mounted or healthy.

  • LV size ≠ filesystem usable size.
  • LV path exists ≠ all underlying segments/PVs are healthy.
  • Changing LV size ≠ upper consumer changed automatically unless explicitly integrated.

Quick reference

Logical volumes are carved from a VG.

lvcreate -n lv_app -L 100G vg_data
lvcreate -n lv_db -l 100%FREE vg_data
lvcreate --type raid1 -m 1 -n lv_mirror -L 50G vg_data
lvcreate -i 2 -I 64k -n lv_striped -L 200G vg_data
lvs -a -o lv_name,vg_name,lv_size,segtype,devices,lv_attr
lvrename vg_data lv_app lv_web
lvremove vg_data/lv_old

The lv_attr string encodes type and state (e.g. -wi-ao----: writable, inherit, active, open). Paths: /dev/vg_data/lv_app = /dev/mapper/vg_data-lv_app.

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. LV evidence shows logical device mapping and size, not underlying media health or upper filesystem/application correctness.

ReferenceConfiguration & state1 section · depth on demand

Configuration, persistence and lifecycle

Distribution/platform context. Logical Volume owns LVM logical mappings and activation. Resize Filesystem owns upper filesystem size changes; PV/VG own lower allocation.

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 → Logical Volume (LV). 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 logical volumelv lvmdevice mapper logical volumelv segments
Embedded reference data

Quick lookup tables

Logical Volume (LV) operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for Logical Volume (LV).

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateAn LVM Logical Volume is a device-mapper mapping assembled from Volume Group extents and exposed as a block device for filesystems, swap, databases or other consumers.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 chainVG extents → LV segment map → device-mapper target → /dev mapper path → filesystem/raw consumer → workloadTrace requested/configured state through effective state to the observed workload result.
Failure boundaryLV evidence proves logical device mapping and size, not underlying media health or upper filesystem/application correctness.Stop broad troubleshooting at the first boundary that is not supported by evidence.
Positive evidenceCorrelated Linux storage evidence can establish this proof path: VG extents → LV segment map → device-mapper target → /dev mapper path → filesystem/raw consumer → 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. LV evidence proves logical device mapping and size, not underlying media health or upper filesystem/application correctness.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.

Logical Volume (LV) · operational reference

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

Reference boundaryLogical Volume (LV)
Topic pathLVM → Logical Volume (LV)
Runtime stateAn LVM Logical Volume is a device-mapper mapping assembled from Volume Group extents and exposed as a block device for filesystems, swap, databases or other consumers.
Fast checks- Capture LV UUID, size, segment type, devices/extents and activation state. - Resolve device-mapper mapping down to expected PVs and identify snapshot/thin dependencies. - Compare LV size with filesystem or raw-consumer expectations. - After change, verify mapping, upper-layer size and representative workload I/O.
Verification chainVG extents → LV segment map → device-mapper target → /dev mapper path → filesystem/raw consumer → workload Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary.
Failure boundaryLV evidence proves logical device mapping and size, not underlying media health or upper filesystem/application correctness. 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?