lvs --version (return code: 0)
WARNING: Running as a non-root user. Functionality may be unavailable.
/run/lvm/lvmetad.socket: connect failed: Permission denied
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
LVM version: 2.02.133(2) (2015-10-30)
Library version: 1.02.110 (2015-10-30)
/dev/mapper/control: open failed: Permission denied
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper (unknown version) and kernel driver (unknown version).
lvs --help (return code: 0)
WARNING: Running as a non-root user. Functionality may be unavailable.
/run/lvm/lvmetad.socket: connect failed: Permission denied
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
lvs: Display information about logical volumes
lvs
[-a|--all]
[--aligned]
[--binary]
[--commandprofile ProfileName]
[-d|--debug]
[--foreign]
[-h|--help]
[--ignorelockingfailure]
[--ignoreskippedcluster]
[--nameprefixes]
[--noheadings]
[--nosuffix]
[-o|--options [+|-|#]Field[,Field]]
[-O|--sort [+|-]key1[,[+|-]key2[,...]]]
[-P|--partial]
[--readonly]
[--rows]
[--segments]
[-S|--select Selection]
[--separator Separator]
[--trustcache]
[--unbuffered]
[--units hHbBsSkKmMgGtTpPeE]
[--unquoted]
[-v|--verbose]
[--version]
[LogicalVolume[Path] [LogicalVolume[Path]...]]