Disabling Automatic Activation of Volumes for Linux
Perform the following steps for disabling automatic activation of volumes based on your Red Hat Enterprise Linux and SuSE Linux Enterprise Server version.
Red Hat Enterprise Linux 7.x, CentOS 7.x, SuSE Linux 15 SP1 Enterprise Server and Previous Versions
-
Disable and stop the
lvm2-lvmetad
service using the following commands:systemctl disable lvm2-lvmetad systemctl stop lvm2-lvmetad systemctl mask lvm2-lvmetad
-
Disable and stop the
lvm2-lvmetad.socket
service, run the following commands:systemctl disable lvm2-lvmetad.socket systemctl stop lvm2-lvmetad.socket systemctl mask lvm2-lvmetad.socket
-
To disable
lvmetad
, edit the LVM config file (/etc/lvm/lvm.conf) and change "use_lvmetad = 1" to "use_lvmetad = 0".
Red Hat Enterprise Linux 8.x and CentOS 8.x
-
Upgrade the LVM module to lvm2-2.03.12-1.el8 or a more recent version.
-
In the lvm.config file, set event_activation=0.
SuSE Linux 15 (SP2, SP3) Enterprise Server
-
In the lvm.config file, set event_activation=0.
-
Apply a patch from SuSE for the corresponding service pack.
For example, for SUSE Linux 15 SP2 Enterprise Sever, apply the following patch:
SUSE-SLE-Module-Basesystem-15-SP2-2021-1582
SUSE-SLE-Product-HA-15-SP2-2021-1582
Legacy Devices on HP-UX
On HP-UX, if legacy devices are enabled as persistent devices by the VERITAS software and the devices are not listed in the output of the ioscan command (ioscan -m dsf), try to delete the legacy path using the following command:
rmsf -L