Solaris Volume Manager (SVM) Commands Return the Error, /etc/lvm/lock: Bad File Number (Doc ID 2069454.1)

Last updated on FEBRUARY 27, 2017

Applies to:

Solaris Operating System - Version 10 10/09 U8 and later
Sun Solaris Volume Manager (SVM) - Version 11.10.0 and later
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)

Symptoms

SVM commands return an error against /etc/lvm/lock.

 

The meta devices will not be affected by the missing /etc/lvm directory.  The metastat command will still show the state of the devices and the devices will still be usable.  The /etc/lvm/lock file needs to be created for any changes to be made with meta commands such as metainit, metattach, metadb, etc.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms