Marius Gedminasmgedmin@floss.social
Mar 18, 2025, 5:45 PMLVM tools basically read some metadata from on-disk structures and set up the kernel's device-mapper to map ranges of sectors to various devices.
Device mapper doesn't map sectors to devices directly but rather to named targets that can be "linear" (a straight mapping to another device with some added offset) or "raid" (which uses mdraid code).