geom_linux_lvm (4)
Leading comments
Copyright (c) 2008 Andrew Thompson All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or ot...
NAME
geom_linux_lvm - GEOM based Linux LVM logical volume mappingSYNOPSIS
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.conf5:
geom_linux_lvm_load="YES"
DESCRIPTION
The ifconfig framework provides support for mapping Linux LVM volumes to GEOM providers. ifconfig 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 ifconfig 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