systemd (LVM) stops in emergency mode during scan
Issue
-
Reboot intermittently failed to activate logical volumes which cause server to enter maintenance mode.
-
Reboots fail with the following error:
â— lvm2-pvscan@9:5.service - LVM2 PV scan on device 9:5
Loaded: loaded (/usr/lib/systemd/system/lvm2-pvscan@.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 1994-10-31 10:10:10 EDT; 8min ago
Docs: man:pvscan(8)
Process: 3862 ExecStart=/usr/sbin/lvm pvscan --cache --activate ay %i (code=exited, status=5)
Main PID: 3862 (code=exited, status=5)
Environment
- Red Hat Enterprise Linux 7.4
- A large number of NVME devices, i.e. 20+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
