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
    

Environment

  • Red Hat Enterprise Linux 7
  • LVM2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.