--addnodeoncreate
Ensure /dev/mapper node exists after dmsetup create.
--addnodeonresume
Ensure /dev/mapper node exists after dmsetup resume
(default with udev).
--checks
Perform additional checks on the operations requested and
report potential problems. Useful when debugging scripts.
In some cases these checks may slow down operations
noticeably.
-c|-C|--columns
Display output in columns rather than as Field: Value
lines.
--count count
Specify the number of times to repeat a report. Set this
to zero continue until interrupted. The default interval
is one second.
-f|--force
Try harder to complete operation.
-h|--help
Outputs a summary of the commands available, optionally
including the list of report fields (synonym with help
command).
--inactive
When returning any table information from the kernel
report on the inactive table instead of the live table.
Requires kernel driver version 4.16.0 or above.
--interval seconds
Specify the interval in seconds between successive
iterations for repeating reports. If --interval is
specified but --count is not, reports will continue to
repeat until interrupted. The default interval is one
second.
--manglename auto|hex|none
Mangle any character not on a whitelist using
mangling_mode when processing device-mapper device names
and UUIDs. The names and UUIDs are mangled on input and
unmangled on output where the mangling mode is one of:
auto (only do the mangling if not mangled yet, do nothing
if already mangled, error on mixed), hex (always do the
mangling) and none (no mangling). Default mode is auto.
Character whitelist: 0-9, A-Z, a-z, #+-.:=@_. This
whitelist is also supported by udev. Any character not on
a whitelist is replaced with its hex value (two digits)
prefixed by \x. Mangling mode could be also set through
DM_DEFAULT_NAME_MANGLING_MODE environment variable.
-j|--major major
Specify the major number.
-m|--minor minor
Specify the minor number.
-n|--notable
When creating a device, don't load any table.
--nameprefixes
Add a "DM_" prefix plus the field name to the output.
Useful with --noheadings to produce a list of field=value
pairs that can be used to set environment variables (for
example, in udev(7) rules).
--noheadings
Suppress the headings line when using columnar output.
--noflush
Do not flush outstanding I/O when suspending a device, or
do not commit thin-pool metadata when obtaining thin-pool
status.
--nolockfs
Do not attempt to synchronize filesystem eg, when
suspending a device.
--noopencount
Tell the kernel not to supply the open reference count for
the device.
--noudevrules
Do not allow udev to manage nodes for devices in device-
mapper directory.
--noudevsync
Do not synchronise with udev when creating, renaming or
removing devices.
-o|--options options
Specify which fields to display.
--readahead [+]sectors|auto|none
Specify read ahead size in units of sectors. The default
value is auto which allows the kernel to choose a suitable
value automatically. The + prefix lets you specify a
minimum value which will not be used if it is smaller than
the value chosen by the kernel. The value none is
equivalent to specifying zero.
-r|--readonly
Set the table being loaded read-only.
-S|--select selection
Process only items that match selection criteria. If the
command is producing report output, adding the "selected"
column (-o selected) displays all rows and shows 1 if the
row matches the selection and 0 otherwise. The selection
criteria are defined by specifying column names and their
valid values while making use of supported comparison
operators. As a quick help and to see full list of column
names that can be used in selection and the set of
supported selection operators, check the output of
dmsetup info -c -S help command.
--table table
Specify a one-line table directly on the command line.
See below for more information on the table format.
--udevcookie cookie
Use cookie for udev synchronisation. Note: Same cookie
should be used for same type of operations i.e. creation
of multiple different devices. It's not adviced to combine
different operations on the single device.
-u|--uuid uuid
Specify the uuid.
-y|--yes
Answer yes to all prompts automatically.
-v|--verbose [-v|--verbose]
Produce additional output.
--verifyudev
If udev synchronisation is enabled, verify that udev
operations get performed correctly and try to fix up the
device nodes afterwards if not.
--version
Display the library and kernel driver version.