NAME
dm_dso_reg_tool - A utility used to load a DSO into dmeventd
SYNOPSIS
dm_dso_reg_tool -[Vhmru] {Volume Group Name} {DSO Name}
DESCRIPTION
dm_dso_reg_tool is a userspace utility used to register/unregister DSOs with the daemon dmeventd.
If used with the -m command line parameter users can display all of the actively dmeventd monitored volume group devices.
OPTIONS
-V Show version of dm_dso_reg_tool | |
| |
-m List all currently active device mapper volume groups and their current status with dmeventd Syntax: dm_dso_reg_tool -m
-r Register a device with dmeventd Syntax: dm_dso_reg_tool -r <device name> <path to DSO library> Example: dm_dso_reg_tool -r isw_abcdefgh_Volume0 libdmraid-events.so
-u Unregister a device with dmeventd Syntax: dm_dso_reg_tool -u <device name> Example: dm_dso_reg_tool -u isw_abcdefgh_Volume0
EXAMPLES
dm_dso_reg_tool -m is used to display all of the actively monitored volume groups dm_dso_reg_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
dm_dso_reg_tool -r is used to register a volume group device with dmeventd dm_dso_reg_tool -r isw_defeaigdde_Volume0_dmraid00 libdmraid-events.so The device "isw_defeaigdde_Volume0_dmraid00" has been registered with dmeventd
dm_dso_reg_tool -u is used to unregister a volume group from dmeventd dm_dso_reg_tool -u isw_defeaigdde_Volume0_dmraid00 The device "isw_defeaigdde_Volume0_dmraid00" has been unregistered with dmeventd
DIAGNOSTICS
dm_dso_reg_tool returns an exit code of 0 for success or 1 for error.
AUTHOR
Brian Wood <brian.j.wood@intel.com>