commands

dmsetup — Inspect device mappings

List device mapper relationships; no key material needed. Do not change mappings or request keys. Use a fresh private workspace; live operations are VM-only.

Formal Syntax & Structure

linux syntaxlinux
dmsetup ls --tree

Parameters & Attributes

NameTypeDescription
lsoperandList mappings
--treeoptionTree view

Return Value

exit status and output

The tree listing shows visible device-mapper dependencies. Inspect diagnostics if the kernel interface is inaccessible; an empty tree does not verify physical storage health.

Working Example

Example Snippetlinux
dmsetup ls --tree
Linux Reference