Issue: RHEL does not boot to login prompt and goes to mainteance mode when all file systems are not mountable when booting.
The boot process in Power8 Systems using NPIV LUNs for volume groups other than system are not activated properly and not mounted with all file systems listed in /etc/fstab and boot into maintenance mode. This issue prevent a RHEL system not to boot and goes into maintenance mode for recovery.
The multipathd keep retrying for 90 seconds until timed out for all file system that are not activated with its respective volume groups preventing the mounts.
Workaround to mount and start RHEL to login prompt:
Following steps will allow to active volume groups and mount all file systems so that the boot can continue;
Steps:
vgchange -ay
exit
Above two commands in mainteance recovery mode as root will allow to boot to login prompt.
Solution:
More permanent method in resolving this issue is as per following two steps.
- Edit “/etc/lvm/lvm.conf” and set “use_lvmetad = 0”
- Enable to start “lvmetad” post initial boot process using “chkconfig lvm2-lvmetad on”
- reboot the system and check
Hemantha Gunasinghe
IBM - hgunasin@au1.ibm.com