How to activate LVM volume groups on iSCSI, FCoE and nvme-over TCP during bootup in RHEL

Solution Verified - Updated -

Issue

  • When setting up LVM volume group on the partition provided via iSCSI, FCoE and nvme-over TCP, volume group can't be activated during boot time since the partition is not visible until the underlying network-dependent storage services are initialized.
  • Is it possible to activate LVM volume group on iSCSI, FCoE and nvme-over TCP 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.
  • The logs show Timed out waiting for device messages:
[  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
  • iSCSI, FCoE and nvme-over TCP 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