lvchange --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).
lvchange --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.
lvchange: Change the attributes of logical volume(s)
lvchange
[-A|--autobackup {y|n}]
[-a|--activate [a][e|s|l]{y|n}]
[--activationmode {complete|degraded|partial} [--addtag <Tag>]
[--alloc <AllocationPolicy>]
[-C|--contiguous {y|n}]
[--cachepolicy <policyname>] [--cachesettings <parameter=value>]
[--commandprofile <ProfileName>]
[-d|--debug]
[--deltag <Tag>]
[--detachprofile]
[--errorwhenfull {y|n}]
[-f|--force]
[-h|--help]
[--discards {ignore|nopassdown|passdown}]
[--ignorelockingfailure]
[--ignoremonitoring]
[--ignoreskippedcluster]
[-k|--setactivationskip {y|n}]
[-K|--ignoreactivationskip]
[--monitor {y|n}]
[--poll {y|n}]
[--noudevsync]
[-M|--persistent {y|n}] [-j|--major <major>] [--minor <minor>]
[--metadataprofile <ProfileName>]
[-P|--partial]
[-p|--permission {r|rw}]
[--[raid]minrecoveryrate <Rate>]
[--[raid]maxrecoveryrate <Rate>]
[--[raid]syncaction {check|repair}
[--[raid]writebehind <IOCount>]
[--[raid]writemostly <PhysicalVolume>[:{t|n|y}]]
[-r|--readahead <ReadAheadSectors>|auto|none]
[--refresh]
[--resync]
[-S|--select Selection]
[--sysinit]
[-t|--test]
[-v|--verbose]
[--version]
[-y|--yes]
[-Z|--zero {y|n}]
<LogicalVolume[Path]> [<LogicalVolume[Path]>...]