VxVM Modules fail to load on Reboot on RHEL 8/9 OS and VxVM Version 8.0.2.1400

book

Article ID: 100067792

calendar_today

Updated On:

Description

Error Message

NOTICE: dmp_blk_mq_enable_user param is set to via /etc/sysctl.conf

....

kernel: vxdmp: `' invalid for parameter `dmp_blk_mq_enable'

......

vxvm-boot[4808]: Modules are not loaded

 

Cause

The invalid specification of the dmp_blk_mq_enable attribute in the /etc/sysctl.conf file fails to load the dmp module during system boot.

This causes the manual loading of modules using modprobe to be needed.

 

Resolution

During boot, the vxvm-startup script checks the tuneable dmp_blk_mq_enable attribute in the /etc/sysctl.conf file.

If the value is set as below, it fails to recognize the value and will not be able to probe the module.

# For more information, see sysctl.conf(5) and sysctl.d(5).
#vxdmp.dmp_blk_mq_enable=0          
<<< Without a space between the # and the vxdmp portion of the attribute, even though the value is commented.

This is visible while executing the script manually.

modprobe vxdmp dmp_blk_mq_enable= >/dev/null 2>&1
vxload=$? => 1

Either of the following 2 changes to the /etc/sysctl.conf file will resolve the issue:

1. Set the value correctly.

1.1. Change the line from:

# For more information, see sysctl.conf(5) and sysctl.d(5).
#vxdmp.dmp_blk_mq_enable = 0          
<<< Without a space between the # and the vxdmp portion of the attribute, even though the value is commented.

1.2. To remove the comment symbol (#) from the line:

# For more information, see sysctl.conf(5) and sysctl.d(5).
vxdmp.dmp_blk_mq_enable = 0

1.3. Set the value as appropriate:

# For more information, see sysctl.conf(5) and sysctl.d(5).
vxdmp.dmp_blk_mq_enable = 1

2. Remove the value:

# For more information, see sysctl.conf(5) and sysctl.d(5).   

This will ensure the loading of the VxVM (dmp) modules automatically during the system boot.

 

Issue/Introduction

VxVM Modules fail to load on every boot even though the Kernel Modules are linked to the /etc/vx/kernel on RHEL 8/9 and VxVM Version 8.0.2.1400.