info > DMEVENTD

📛 NAME

dmeventd — Device-mapper event daemon

🚀 Quick Reference

Use CaseCommandDescription
Start daemon in foregrounddmeventd -fRun dmeventd without forking
Enable debug outputdmeventd -dIncrease debug detail (up to -ddd)
Replace running daemondmeventd -RReplace a running dmeventd instance (â‰Ĩ2.02.77)
Show versiondmeventd -VDisplay version information
Show helpdmeventd -h or -?Display help information
Log to stdout/stderrdmeventd -f -lLog to stdout/stderr instead of syslog (requires -f)

📝 SYNOPSIS

dmeventd [-d [-d [-d]]] [-f] [-h] [-l] [-R] [-V] [-?]

📖 DESCRIPTION

dmeventd is the event monitoring daemon for device-mapper devices. Library plugins can register and carry out actions triggered when particular events occur.

⚙ïļ OPTIONS

🔌 LVM PLUGINS

🔄 Mirror

Attempts to handle device failure automatically. See lvm.conf(5).

ðŸ›Ąïļ Raid

Attempts to handle device failure automatically. See lvm.conf(5).

ðŸ“ļ Snapshot

Monitors how full a snapshot is becoming and emits a warning to syslog when it exceeds 80% full. The warning is repeated when 85%, 90% and 95% of the snapshot is filled. See lvm.conf(5). Snapshot which runs out of space gets invalid and when it is mounted, it gets umounted if possible.

ðŸŠķ Thin

Monitors how full a thin pool data and metadata is becoming and emits a warning to syslog when it exceeds 80% full. The warning is repeated when more then 85%, 90% and 95% of the thin pool is filled. See lvm.conf(5). When a thin pool fills over 50% (data or metadata) thin plugin calls configured dmeventd/thin_command with every 5% increase. With default setting it calls internal lvm lvextend --use-policies to resize thin pool when it's been filled above configured threshold activation/thin_pool_autoextend_threshold. If the command fails, dmeventd thin plugin will keep retrying execution with increasing time delay between retries upto 42 minutes. User may also configure external command to support more advanced maintenance operations of a thin pool. Such external command can e.g. remove some unneeded snapshots, use fstrim(8) to free recover space in a thin pool, but also can use lvextend --use-policies if other actions have not released enough space. Command is executed with environmental variable LVM_RUN_BY_DMEVENTD=1 so any lvm2 command executed in this environment will not try to interact with dmeventd. To see the fullness of a thin pool command may check these two environmental variables DMEVENTD_THIN_POOL_DATA and DMEVENTD_THIN_POOL_METADATA. Command can also read status with tools like lvs(8).

🗄ïļ Vdo

Monitors how full a VDO pool data is becoming and emits a warning to syslog when it exceeds 80% full. The warning is repeated when more then 85%, 90% and 95% of the VDO pool is filled. See lvm.conf(5). When a VDO pool fills over 50% vdo plugin calls configured dmeventd/vdo_command with every 5% increase. With default setting it calls internal lvm lvextend --use-policies to resize VDO pool when it's been filled above the configured threshold activation/vdo_pool_autoextend_threshold. If the command fails, dmeventd vdo plugin will keep retrying execution with increasing time delay between retries upto 42 minutes. User may also configure external command to support more advanced maintenance operations of a VDO pool. Such external command can e.g. remove some unneeded space with fstrim(8), but also can use lvextend --use-policies if other actions have not released enough space. Command is executed with environmental variable LVM_RUN_BY_DMEVENTD=1 so any lvm2 command executed in this environment will not try to interact with dmeventd. To see the fullness of a VDO pool command may check this environmental variable DMEVENTD_VDO_POOL. Command can also read status with tools like lvs(8).

🌍 ENVIRONMENT VARIABLES

ðŸ”Ī DMEVENTD_THIN_POOL_DATA

Variable is set by thin plugin and is available to executed program. Value present actual usage of thin pool data volume. Variable is not set when error event is processed.

ðŸ”Ī DMEVENTD_THIN_POOL_METADATA

Variable is set by thin plugin and is available to executed program. Value present actual usage of thin pool metadata volume. Variable is not set when error event is processed.

ðŸ”Ī DMEVENTD_VDO_POOL

Variable is set by vdo plugin and is available to executed program. Value present actual usage of VDO pool data volume. Variable is not set when error event is processed.

ðŸ”Ī LVM_RUN_BY_DMEVENTD

Variable is set by thin and vdo plugin to prohibit recursive interation with dmeventd by any executed lvm2 command from a thin_command, vdo_command environment.

📚 SEE ALSO

lvm(8), lvm.conf(5)


Red Hat Inc DM TOOLS 2.03.11(2) (2021-01-08) DMEVENTD(8)

DMEVENTD
📛 NAME 🚀 Quick Reference 📝 SYNOPSIS 📖 DESCRIPTION ⚙ïļ OPTIONS 🔌 LVM PLUGINS
🔄 Mirror ðŸ›Ąïļ Raid ðŸ“ļ Snapshot ðŸŠķ Thin 🗄ïļ Vdo
🌍 ENVIRONMENT VARIABLES
ðŸ”Ī DMEVENTD_THIN_POOL_DATA ðŸ”Ī DMEVENTD_THIN_POOL_METADATA ðŸ”Ī DMEVENTD_VDO_POOL ðŸ”Ī LVM_RUN_BY_DMEVENTD
📚 SEE ALSO

Generated by phpman v4.9.26-1-g511901d Author: Che Dong Under GNU General Public License
2026-08-09 09:23 @2600:1f28:365:80b0:50b3:453e:ff52:20f7
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format