Some of the local lvm volumes in root volume group are not getting activated automatically during boot process

Solution Verified - Updated -

Issue

  • Some of the local lvm volumes in root volume group are not getting activated automatically during boot process
  • The system is having following lvm volumes:

    $ lvs -a -o+lv_tags,devices
      LV        VG        Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert LV Tags Devices         
      homevol   vg_system -wi-ao---- 14.88g                                                             /dev/sdb1(2250) 
      homevol   vg_system -wi-ao---- 14.88g                                                             /dev/sdb1(27676)
      optvol    vg_system -wi-ao----  4.88g                                                             /dev/sdb1(1000) 
      rootvol   vg_system -wi-ao----  7.81g                                                             /dev/sdb1(7500) 
      swapvol   vg_system -wi-ao----  3.91g                                                             /dev/sdb1(0)    
      tmpvol    vg_system -wi-ao----  4.95g                                                             /dev/sdb1(3500) 
      tmpvol    vg_system -wi-ao----  4.95g                                                             /dev/sdb1(24860)
      usrvol    vg_system -wi-ao----  7.88g                                                             /dev/sdb1(6250) 
      usrvol    vg_system -wi-ao----  7.88g                                                             /dev/sdb1(25628)
      varlogvol vg_system -wi-ao----  9.88g                                                             /dev/sdb1(4000) 
      varlogvol vg_system -wi-ao----  9.88g                                                             /dev/sdb1(26396)
      varvol    vg_system -wi-ao---- 63.91g                                                             /dev/sdb1(5250) 
      varvol    vg_system -wi-ao---- 63.91g                                                             /dev/sdb1(9500) 
    

    All the above lvm volumes are created using a partition on internal disk /dev/sdb. During the boot process, following lvm volumes are getting activated without any issues:

    /dev/vg_system/rootvol
    /dev/vg_system/swapvol
    /dev/vg_system/usrvol
    

    But the activation of following lvm volumes fails with below errors:

    /dev/vg_system/homevol
    /dev/vg_system/optvol
    /dev/vg_system/tmpvol
    /dev/vg_system/varvol
    /dev/vg_system/varlogvol
    
  • Within a set of local LVM volumes, a subset of VG/LV fails to get activated at the time of boot resulting in the server to land in maintenance mode.

Environment

  • Red Hat Enterprise Linux 7, 8, 9
  • LVM2
  • With or without Pacemaker Cluster

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