DMEVENT_TOOL(8)
π DMEVENT_TOOL π
okay bestie, welcome to dmevent_tool from section 8 of the manual β she's a userspace utility, she's lowkey iconic, and she's here to load a DSO into dmeventd and (un)register devices with it for monitoring. yes, that's the whole vibe. let's go π¦
β¨ NAME β¨
dmevent_tool β a utility used to load a DSO into dmeventd and (un)register devices with it for monitoring π
π SYNOPSIS π
dmevent_tool -[Vhmru] {RAID device name} {DSO Name}
πΈ DESCRIPTION πΈ
so dmevent_tool is a userspace utility, and her whole job is registering and unregistering DSOs with the daemon dmeventd. that's it, that's the gig, and she eats every time π
and if you run her with the -m command line parameter, you can display all of the actively dmeventd monitored devices. main character behavior fr fr π
π OPTIONS π
-Vβ show version ofdmevent_toolβ¨-{h/?}β show this help information π«Ά-m[r|u]β list all currently active device mapper devices and their current status withdmeventdfor registered (-r)/unregistered (-m) devices- Syntax:
dmevent_tool -m[u|r]
- Syntax:
-a[r|u]β same as-m, but for devices with UUID only!- Syntax:
dmevent_tool -a[u|r]
- Syntax:
-rβ register a device withdmeventd- Syntax:
dmevent_tool -r <device name> <path to DSO library> - Example:
dmevent_tool -r isw_abcdeh_Volume0 libdmraid-events.so
- Syntax:
-uβ unregister a device withdmeventd- Syntax:
dmevent_tool -u <device name> [<path to DSO library>] - Example:
dmevent_tool -u isw_abcdefgh_Volume0
- Syntax:
π§ EXAMPLES π§
dmevent_tool -m is used to display all of the actively monitored devices π
dmevent_tool -m
Device Name: isw_defeaigdde_Volume0_dmraid00
Registered DSO: libdmraid-events.so
UUID:
isw_defeaigdde_Volume0_dmraid00
status: Active
major device #: 253
minor device #: 0
read only device: No
number of recorded kernel events: 0
SATA drives in this volume group: /dev/sdb /dev/sdc
dmevent_tool -r is used to register a volume group device with dmeventd π
dmevent_tool -r isw_defeaigdde_Volume0_dmraid00 libdmraid-events.so
dmevent_tool -u is used to unregister a volume group from dmeventd β
dmevent_tool -u isw_defeaigdde_Volume0_dmraid00
π DIAGNOSTICS π
dmevent_tool returns an exit code of 0 for success or 1 for error. no cap, that's the whole spectrum π
π AUTHOR π
Brian Wood <brian.j.wood@intel.com> π
that's the page bestie, you're officially fluent in dmevent_tool. go register something. slay π
written by Brian Wood, version 1.0.0.rc3, and yeah the manual page itself is DMEVENT_TOOL(8) β periodt, that's the sign-off πΈπ¦
π¦ where this page comes from
- alpine 3.22: dmraid-doc 1.0.0_rc16-r6 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- alpine 3.23: dmraid-doc 1.0.0_rc16-r7 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- alpine 3.24: dmraid-doc 1.0.0_rc16-r7 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- arch rolling: dmraid 1.0.0.rc16.3-15 Β· GPL-2.0-only
- debian bookworm: dmraid 1.0.0.rc16-12
- nixos 26.05: dmraid 1.0.0.rc16
- nixpkgs unstable: dmraid 1.0.0.rc16
- opensuse-leap 16.0: dmraid 1.0.0.rc16.3-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: dmraid 1.0.0.rc16.3-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: dmraid 1.0.0.rc16.3-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: dmraid 1.0.0.rc16.3-160000.2.2 Β· GPL-2.0-only
- ubuntu jammy: dmraid 1.0.0.rc16-10ubuntu2
- ubuntu noble: dmraid 1.0.0.rc16-12ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms