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...
NAMEgeom_linux_lvm - GEOM based Linux LVM logical volume mapping
SYNOPSISTo compile this driver into the kernel, place the following line in your kernel configuration file:
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf5:
DESCRIPTIONThe 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.
EXAMPLESTo 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