Device-mapper Resource Page



Introduction

The Device-mapper is a component of the 2.6 linux kernel that supports logical volume management. It is required by LVM2 and EVMS. The original LVM (included in stock 2.4 kernels) does not use it.

If you intend to use Device-mapper, as well as including it in your kernel, you should install the userspace configuration tool (dmsetup) and library (libdevmapper).

The encryption target (dm-crypt) has its own web page at http://www.saout.de/misc/dm-crypt/.

Multipath tools are available from ftp://sources.redhat.com/pub/dm/multipath-tools with documentation at http://christophe.varoqui.free.fr/.

Releases

The userspace code (dmsetup and libdevmapper) is now maintained alongside the LVM2 source available from http://sources.redhat.com/lvm2/. To build / install it without LVM2 use 'make device-mapper' / 'make device-mapper_install'.

Kernel patches under discussion are captured by patchwork from the dm-devel mailing list and stored at http://patchwork.kernel.org/project/dm-devel/list/?state=*.
A quilt tree of patches being prepared for inclusion upstream is maintained at http://www.kernel.org/pub/linux/kernel/people/agk/patches/2.6/editing/
with archived versions at http://www.kernel.org/pub/linux/kernel/people/agk/patches/2.6/

Old kernel source code patches for 2.4 and 2.6 kernels are still available from http://sources.redhat.com/dm/patches.html.

Old source code tarballs of the userspace tool and library are still available from ftp://sources.redhat.com/pub/dm/.
These also include kernel patches for some specific 2.4 kernels.

Mailing lists

dm-devel is the mailing list for any device-mapper-related questions and discussion.
Subscribe to this from https://www.redhat.com/mailman/listinfo/dm-devel.
The list archives are at https://www.redhat.com/archives/dm-devel/.
The mailing list address is dm-devel@redhat.com.

Whenever the development source code repository is updated, email is sent to the dm-cvs mailing list. This list is run using ezmlm.
To subscribe, send an email to dm-cvs-subscribe@sources.redhat.com or dm-cvs-digest-subscribe@sources.redhat.com.
You can read the list archives at http://sources.redhat.com/ml/dm-cvs/

The encryption target has its own mailing list archived at http://news.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt.
To subscribe, send a blank email to dm-crypt-subscribe@saout.de.

Source code

To access the old source code repository using CVS:
cvs -d :pserver:cvs@sources.redhat.com:/cvs/dm login cvs
cvs -d :pserver:cvs@sources.redhat.com:/cvs/dm checkout device-mapper
The password is cvs.

There is a web interface to CVS at http://sources.redhat.com/cgi-bin/cvsweb.cgi/device-mapper/?cvsroot=dm.

Multipath Bug Reporting

As well as using the dm-devel mailing list, we are using bugzilla.redhat.com to record multipath bugs and feature requests.
Display outstanding multipath bugzilla entries. Report multipath bug. Enter multipath feature request.

Documentation

There are README, INSTALL, WHATS_NEW_DM libdevmapper.h and dmsetup man page in the LVM2 source package.

The LVM HOWTO is at http://www.tldp.org/HOWTO/LVM-HOWTO/index.html.

IRC

Channel #device-mapper on freenode

Related projects

LVM2: http://sources.redhat.com/lvm2/
EVMS: http://evms.sourceforge.net/
The original LVM: http://sources.redhat.com/lvm/