How to activate LVM volume groups on iSCSI or FCoE during bootup in RHEL

Solution Verified - Updated -

Issue

  • When setting up LVM volume group on the partition provided via FCoE or iSCSI,  volume group can't be activated during the boot time since the partition is not visible until iSCSI or FCoE service starts up.
  • How is it possible to activate LVM volume group during the system bootup?
  • I cannot see /dev/mapper/<volgroup> after I reboot
  • One of the servers is not booting up and going into maintenance mode.
[  OK  ] Mounted /boot
[ TIME ] Timed out waiting for device dev-sda1.device
[DEPEND] Dependency failed /var/lib/ceph
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for Relabel all filesystems, if necessary.
[DEPEND] Dependency failed for Mark the need to relabel after reboot.
  • Logical Volume not activated during startup

Environment

  • Red Hat Enterprise Linux 4, 5, 6, 7
  • iSCSI or FCoE device(s) being used as LVM physical volume(s)

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