изменить атрибуты логических томов (Change the attributes of logical volume(s))
Использование (Usage)
Change a general LV attribute.
For options listed in parentheses, any one is
required, after which the others are optional.
lvchange
( -C|--contiguous y|n
-p|--permission rw|r
-r|--readahead auto|none|Number
-k|--setactivationskip y|n
-Z|--zero y|n
-M|--persistent n
--addtag Tag
--deltag Tag
--alloc contiguous|cling|cling_by_tags|normal|anywhere|
inherit
--compression y|n
--deduplication y|n
--detachprofile
--metadataprofile String
--profile String
--setautoactivation y|n
--errorwhenfull y|n
--discards passdown|nopassdown|ignore
--cachemode writethrough|writeback|passthrough
--cachepolicy String
--cachesettings String
--[raid]minrecoveryrate Size[k|UNIT]
--[raid]maxrecoveryrate Size[k|UNIT]
--[raid]writebehind Number
--[raid]writemostly PV[:t|n|y] )
VG|LV|Tag|Select ...
[ -a|--activate y|n|ay ]
[ --poll y|n ]
[ --monitor y|n ]
[ COMMON_OPTIONS ]
—
Resyncronize a mirror or raid LV.
Use to reset 'R' attribute on a not initially synchronized LV.
lvchange --resync VG|LV1|Tag|Select ...
[ -a|--activate y|n|ay ]
[ COMMON_OPTIONS ]
LV1 types: mirror raid
—
Resynchronize or check a raid LV.
lvchange --syncaction check|repair VG|LV1|Tag|Select ...
[ COMMON_OPTIONS ]
LV1 types: raid
—
Reconstruct data on specific PVs of a raid LV.
lvchange --rebuild PV VG|LV1|Tag|Select ...
[ COMMON_OPTIONS ]
LV1 types: raid
—
Activate or deactivate an LV.
lvchange -a|--activate y|n|ay VG|LV|Tag|Select ...
[ -P|--partial ]
[ -K|--ignoreactivationskip ]
[ --activationmode partial|degraded|complete ]
[ --poll y|n ]
[ --monitor y|n ]
[ --ignorelockingfailure ]
[ --sysinit ]
[ --readonly ]
[ COMMON_OPTIONS ]
—
Reactivate an LV using the latest metadata.
lvchange --refresh VG|LV|Tag|Select ...
[ -P|--partial ]
[ --activationmode partial|degraded|complete ]
[ --poll y|n ]
[ --monitor y|n ]
[ COMMON_OPTIONS ]
—
Start or stop monitoring an LV from dmeventd.
lvchange --monitor y|n VG|LV|Tag|Select ...
[ COMMON_OPTIONS ]
—
Start or stop processing an LV conversion.
lvchange --poll y|n VG|LV|Tag|Select ...
[ --monitor y|n ]
[ COMMON_OPTIONS ]
—
Make the minor device number persistent for an LV.
lvchange -M|--persistent y --minor Number LV
[ -j|--major Number ]
[ -a|--activate y|n|ay ]
[ --poll y|n ]
[ --monitor y|n ]
[ COMMON_OPTIONS ]
—
Common options for command:
[ -A|--autobackup y|n ]
[ -f|--force ]
[ -S|--select String ]
[ --ignoremonitoring ]
[ --noudevsync ]
[ --reportformat basic|json ]
Common options for lvm:
[ -d|--debug ]
[ -h|--help ]
[ -q|--quiet ]
[ -t|--test ]
[ -v|--verbose ]
[ -y|--yes ]
[ --commandprofile String ]
[ --config String ]
[ --devices PV ]
[ --devicesfile String ]
[ --driverloaded y|n ]
[ --lockopt String ]
[ --longhelp ]
[ --nolocking ]
[ --profile String ]
[ --version ]