Device mapper

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In the Linux kernel, the device-mapper serves as a generic framework to map one block device onto another. It forms the foundation of LVM2, software RAIDs, dm-crypt disk encryption, and offers additional features such as file-system snapshots.

Device-mapper works by passing data from a virtual block device (provided by the device mapper itself) to another block device.

Contents

Applications [edit]

Applications (like LVM2 and EVMS) that need to create new mapped devices talk to the device-mapper via the libdevmapper.so shared library, which in turn issues ioctls to the /dev/mapper/control device node. Developers can also access device-mapper from shell scripts via the dmsetup tool.

Device mapper applications [edit]

External links [edit]

References [edit]