LVM commands issue warning "WARNING: locking_type (0) is deprecated, using --nolocking." on RHEL 8
Issue
- A
pvscan,vgscan,pvs,vgs, orlvscommand was run with--config 'global {locking_type = 0}'on RHEL 8, and it produced the following warning:
[root@fastvm-rhel-8-0-23 ~]# pvs --config 'global {locking_type = 0}' 2>&1 | head -1
WARNING: locking_type (0) is deprecated, using --nolocking.
- An sosreport run on a RHEL 8 system contains the warning shown above in its
lvm2command outputs.
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.