Getting error 'Failed to create directory /var/lock/lvm' during boot process

Solution Unverified - Updated -

Issue

  • After updating the system to RHEL 6.8 or just updating the lvm2 package to 2.02.143-7.el6 or later system shows following error on console during boot process. Although all the lvm commands, operations are working without any issue.

        Welcome to Red Hat Enterprise Linux Server
    Starting udev:                                             [  OK  ]
    Setting hostname terminus-temp:                            [  OK  ]
    Setting up Logical Volume Management:   Failed to create directory /var/lock/lvm.
      5 logical volume(s) in volume group "vg_00" now active
                                                           [  OK  ]
    [...]
    
  • What does above error message indicate? is it harmful?

Environment

  • Red Hat Enterprise Linux 6.8
  • lvm2-2.02.143-7.el6.x86_64
  • /var as separate filesystem

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