systemd (LVM) stops in emergency mode during scan

Solution In Progress - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content