geom_linux_lvm(4)

geom_linux_lvm4

Geom based linux lvm logical volume mapping

Usage

To compile this driver into the kernel, place the following line in your kernel configuration file:

options GEOM_LINUX_LVM

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

geom_linux_lvm_load="YES"

Overview

The geom_linux_lvm framework provides support for mapping Linux LVM volumes to GEOM providers. geom_linux_lvm currently supports linear stripes with segments on one or more physical disks. The parser is able to read LVM2 Text Format metadata, the logical volumes will be assembled and made available under /dev/linux_lvm/. The metadata is read-only, logical volumes cannot be allocated or resized.

Examples

To view which geom_linux_lvm devices are available:

# geom linux_lvm list
Geom name: vg1
Providers:
1. Name: linux_lvm/vg1-home
   Mediasize: 4294967296 (4.0G)
   Sectorsize: 512
   Mode: r0w0e0
2. Name: linux_lvm/vg1-logs
   Mediasize: 4294967296 (4.0G)
   Sectorsize: 512
   Mode: r0w0e0
Consumers:
1. Name: ada0s1
   Mediasize: 80023716864 (75G)
   Sectorsize: 512
   Mode: r0w0e0

Releases

43 releases since FreeBSD 7.1-RELEASE; the text changed 29 times.

  1. 7.1
  2. 7.2
  3. 7.3
  4. 7.4
  5. 8.0
  6. 8.1
  7. 8.2
  8. 8.3
  9. 8.4
  10. 9.0
  11. 9.1
  12. 9.2
  13. 9.3
  14. 10.0
  15. 10.1
  16. 10.2
  17. 10.3
  18. 10.4
  19. 11.0
  20. 11.1
  21. 11.2
  22. 11.3
  23. 11.4
  24. 12.0
  25. 12.1
  26. 12.2
  27. 12.3
  28. 12.4
  29. 13.0–13.2
  30. 13.3–16.0

Authors

The geom_linux_lvm driver was written by Andrew Thompson ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.