My Oracle Support Banner

Oracle Linux: System Failed to Boot with "Failed to Start Activation of LVM2 Logical Volumes" and "Unit lvm2-activation-net.service Entered Failed State" Messages (Doc ID 2686024.1)

Last updated on JULY 02, 2020

Applies to:

Linux OS - Version Oracle Linux 7.1 and later
Linux x86-64

Symptoms

System cannot boot-up properly with below logs:

[ OK ] Started File System Check on /dev/xvdd.
[ OK ] Started File System Check on /dev/xvdg.
[ OK ] Started File System Check on /dev/xvdb.
[ OK ] Started File System Check on /dev/xvdc.
[ OK ] Started File System Check on /dev/disk/by-label/BOOT.
Mounting /boot...

[ OK ] Mounted /boot.
[FAILED] Failed to start LVM2 PV scan on device 202:65. 
See 'systemctl status lvm2-pvscan@202:65.service' for details.
[FAILED] Failed to start LVM2 PV scan on device 202:81.
See 'systemctl status lvm2-pvscan@202:81.service' for details.
[ TIME ] Timed out waiting for device dev-disk-by\x2dlabel-DBORA.device.
[DEPEND] Dependency failed for File System Check on /dev/disk/by-label/DBORA.
[DEPEND] Dependency failed for /u01.

 

It shows that a LVM2 PV scan is failing to start which also timed out waiting for device dev-disk-by\x2dlabel-DBORA.device

After trying to disable lvmetad and rebuilding initramfs by following the document (Doc ID 2638528.1) and then performed reboot, system boot up is stuck with below logs:

 Starting Availability of block devices...

[ OK ] Started Availability of block devices.
[FAILED] Failed to start Activation of LVM2 logical volumes. 
See 'systemctl status lvm2-activation-net.service' for details. 

[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Started Cellirqbalance.

Welcome to emergency mode! After logging in, typGive root password for maintenance

 

After entering root password to show the details of systemctl status lvm2-activation-net.service:

● lvm2-activation-net.service - Activation of LVM2 logical volumes
Loaded: loaded (/etc/lvm/lvm.conf; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2020-06-29 22:10:58 EDT; 2min 55s ago
Docs: man:lvm2-activation-generator(8)

Process: 6457 ExecStart=/usr/sbin/lvm vgchange -aay --ignoreskippedcluster (code=exited, status=5)
Process: 6447 ExecStartPre=/usr/bin/udevadm settle (code=exited, status=0/SUCCESS)
Main PID: 6457 (code=exited, status=5)

Jun 29 22:10:58 hostname systemd[1]: Starting Activation of LVM2 logical volumes...
Jun 29 22:10:58 hostname lvm[6457]: Refusing activation of partial LV VolGroup/LogicalVolume. Use '--activationmode partial' to override. 
Jun 29 22:10:58 hostname lvm[6457]: 4 logical volume(s) in volume group "VolGroup" now active
Jun 29 22:10:58 hostname systemd[1]: lvm2-activation-net.service: main process exited, code=exited, status=5/NOTINSTALLED
Jun 29 22:10:58 hostname systemd[1]: Failed to start Activation of LVM2 logical volumes.

Jun 29 22:10:58 hostname systemd[1]: Unit lvm2-activation-net.service entered failed state.
Jun 29 22:10:58 hostname systemd[1]: lvm2-activation-net.service failed.

 

Changes

 Performed system reboot 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.