CFT: geom linux lvm class

Andrew Thompson thompsa at FreeBSD.org
Thu Feb 7 00:42:55 UTC 2008


Hi,


I have created a geom module that reads LVM2 metadata and maps the
logical volumes to geom providers. I am interested in testing/feedback
and any comments particularly on the geom glue.

http://people.freebsd.org/~thompsa/geom_lvm.diff

To apply
# cd /usr/src
# patch -p0 < geom_lvm.diff
# cd sys/modules/geom/geom_lvm; make
# ...

You should get a bunch of devices in /dev/lvm, such as
/dev/lvm/vg0-logs.


Andrew


More information about the freebsd-current mailing list