1LVCHANGE(8) System Manager's Manual LVCHANGE(8)
2
3
4
6 lvchange — Change the attributes of logical volume(s)
7
9 lvchange option_args position_args
10 [ option_args ]
11
12 -a|--activate y|n|ay
13 --activationmode partial|degraded|complete
14 --addtag Tag
15 --alloc contiguous|cling|cling_by_tags|normal|anywhere|inherit
16 -A|--autobackup y|n
17 --cachemode writethrough|writeback|passthrough
18 --cachepolicy String
19 --cachesettings String
20 --commandprofile String
21 --compression y|n
22 --config String
23 -C|--contiguous y|n
24 -d|--debug
25 --deduplication y|n
26 --deltag Tag
27 --detachprofile
28 --devices PV
29 --devicesfile String
30 --discards passdown|nopassdown|ignore
31 --driverloaded y|n
32 --errorwhenfull y|n
33 -f|--force
34 -h|--help
35 -K|--ignoreactivationskip
36 --ignorelockingfailure
37 --ignoremonitoring
38 --journal String
39 --lockopt String
40 --longhelp
41 -j|--major Number
42 --[raid]maxrecoveryrate Size[k|UNIT]
43 --metadataprofile String
44 --minor Number
45 --[raid]minrecoveryrate Size[k|UNIT]
46 --monitor y|n
47 --nohints
48 --nolocking
49 --noudevsync
50 -P|--partial
51 -p|--permission rw|r
52 -M|--persistent y|n
53 --poll y|n
54 --profile String
55 -q|--quiet
56 -r|--readahead auto|none|Number
57 --readonly
58 --rebuild PV
59 --refresh
60 --reportformat basic|json|json_std
61 --resync
62 -S|--select String
63 -k|--setactivationskip y|n
64 --setautoactivation y|n
65 --[raid]syncaction check|repair
66 --sysinit
67 -t|--test
68 --vdosettings String
69 -v|--verbose
70 --version
71 --[raid]writebehind Number
72 --[raid]writemostly PV[:t|n|y]
73 -y|--yes
74 -Z|--zero y|n
75
77 lvchange changes LV attributes in the VG, changes LV activation in the
78 kernel, and includes other utilities for LV maintenance.
79
81 Change a general LV attribute.
82 For options listed in parentheses, any one is
83 required, after which the others are optional.
84
85 lvchange
86 ( -C|--contiguous y|n
87 -p|--permission rw|r
88 -r|--readahead auto|none|Number
89 -k|--setactivationskip y|n
90 -Z|--zero y|n
91 -M|--persistent n
92 --addtag Tag
93 --deltag Tag
94 --alloc contiguous|cling|cling_by_tags|normal|anywhere|inherit
95 --compression y|n
96 --deduplication y|n
97 --detachprofile
98 --metadataprofile String
99 --profile String
100 --setautoactivation y|n
101 --errorwhenfull y|n
102 --discards passdown|nopassdown|ignore
103 --cachemode writethrough|writeback|passthrough
104 --cachepolicy String
105 --cachesettings String
106 --[raid]minrecoveryrate Size[k|UNIT]
107 --[raid]maxrecoveryrate Size[k|UNIT]
108 --vdosettings String
109 --[raid]writebehind Number
110 --[raid]writemostly PV[:t|n|y] )
111 VG|LV|Tag|Select ...
112 [ -a|--activate y|n|ay ]
113 [ --poll y|n ]
114 [ --monitor y|n ]
115 [ COMMON_OPTIONS ]
116
117 —
118
119 Resyncronize a mirror or raid LV.
120 Use to reset 'R' attribute on a not initially synchronized LV.
121
122 lvchange --resync VG|LV1|Tag|Select ...
123 [ -a|--activate y|n|ay ]
124 [ COMMON_OPTIONS ]
125
126 LV1 types: mirror raid
127
128 —
129
130 Resynchronize or check a raid LV.
131
132 lvchange --syncaction check|repair VG|LV1|Tag|Select ...
133 [ COMMON_OPTIONS ]
134
135 LV1 types: raid
136
137 —
138
139 Reconstruct data on specific PVs of a raid LV.
140
141 lvchange --rebuild PV VG|LV1|Tag|Select ...
142 [ COMMON_OPTIONS ]
143
144 LV1 types: raid
145
146 —
147
148 Activate or deactivate an LV.
149
150 lvchange -a|--activate y|n|ay VG|LV|Tag|Select ...
151 [ -P|--partial ]
152 [ -K|--ignoreactivationskip ]
153 [ --activationmode partial|degraded|complete ]
154 [ --poll y|n ]
155 [ --monitor y|n ]
156 [ --ignorelockingfailure ]
157 [ --sysinit ]
158 [ --readonly ]
159 [ COMMON_OPTIONS ]
160
161 —
162
163 Reactivate an LV using the latest metadata.
164
165 lvchange --refresh VG|LV|Tag|Select ...
166 [ -P|--partial ]
167 [ --activationmode partial|degraded|complete ]
168 [ --poll y|n ]
169 [ --monitor y|n ]
170 [ COMMON_OPTIONS ]
171
172 —
173
174 Start or stop monitoring an LV from dmeventd.
175
176 lvchange --monitor y|n VG|LV|Tag|Select ...
177 [ COMMON_OPTIONS ]
178
179 —
180
181 Start or stop processing an LV conversion.
182
183 lvchange --poll y|n VG|LV|Tag|Select ...
184 [ --monitor y|n ]
185 [ COMMON_OPTIONS ]
186
187 —
188
189 Make the minor device number persistent for an LV.
190
191 lvchange -M|--persistent y --minor Number LV
192 [ -j|--major Number ]
193 [ -a|--activate y|n|ay ]
194 [ --poll y|n ]
195 [ --monitor y|n ]
196 [ COMMON_OPTIONS ]
197
198 —
199
200 Common options for command:
201 [ -A|--autobackup y|n ]
202 [ -f|--force ]
203 [ -S|--select String ]
204 [ --ignoremonitoring ]
205 [ --noudevsync ]
206 [ --reportformat basic|json|json_std ]
207
208 Common options for lvm:
209 [ -d|--debug ]
210 [ -h|--help ]
211 [ -q|--quiet ]
212 [ -t|--test ]
213 [ -v|--verbose ]
214 [ -y|--yes ]
215 [ --commandprofile String ]
216 [ --config String ]
217 [ --devices PV ]
218 [ --devicesfile String ]
219 [ --driverloaded y|n ]
220 [ --journal String ]
221 [ --lockopt String ]
222 [ --longhelp ]
223 [ --nohints ]
224 [ --nolocking ]
225 [ --profile String ]
226 [ --version ]
227
229 -a|--activate y|n|ay
230 Change the active state of LVs. An active LV can be used
231 through a block device, allowing data on the LV to be accessed.
232 y makes LVs active, or available. n makes LVs inactive, or un‐
233 available. The block device for the LV is added or removed from
234 the system using device-mapper in the kernel. A symbolic link
235 /dev/VGName/LVName pointing to the device node is also added/re‐
236 moved. All software and scripts should access the device
237 through the symbolic link and present this as the name of the
238 device. The location and name of the underlying device node may
239 depend on the distribution, configuration (e.g. udev), or re‐
240 lease version. ay specifies autoactivation, which is used by
241 system-generated activation commands. By default, LVs are au‐
242 toactivated. An autoactivation property can be set on a VG or
243 LV to disable autoactivation, see --setautoactivation y|n in
244 vgchange, lvchange, vgcreate, and lvcreate. Display the proper‐
245 ty with vgs or lvs "-o autoactivation". The lvm.conf(5) au‐
246 to_activation_volume_list includes names of VGs or LVs that
247 should be autoactivated, and anything not listed is not autoac‐
248 tivated. When auto_activation_volume_list is undefined (the de‐
249 fault), it has no effect. If auto_activation_volume_list is de‐
250 fined and empty, no LVs are autoactivated. Items included by
251 auto_activation_volume_list will not be autoactivated if the au‐
252 toactivation property has been disabled. See lvmlockd(8) for
253 more information about activation options ey and sy for shared
254 VGs.
255
256 --activationmode partial|degraded|complete
257 Determines if LV activation is allowed when PVs are missing,
258 e.g. because of a device failure. complete only allows LVs with
259 no missing PVs to be activated, and is the most restrictive
260 mode. degraded allows RAID LVs with missing PVs to be activat‐
261 ed. (This does not include the "mirror" type, see "raid1" in‐
262 stead.) partial allows any LV with missing PVs to be activated,
263 and should only be used for recovery or repair. For default,
264 see lvm.conf(5) activation_mode. See lvmraid(7) for more infor‐
265 mation.
266
267 --addtag Tag
268 Adds a tag to a PV, VG or LV. This option can be repeated to add
269 multiple tags at once. See lvm(8) for information about tags.
270
271 --alloc contiguous|cling|cling_by_tags|normal|anywhere|inherit
272 Determines the allocation policy when a command needs to allo‐
273 cate Physical Extents (PEs) from the VG. Each VG and LV has an
274 allocation policy which can be changed with vgchange/lvchange,
275 or overridden on the command line. normal applies common sense
276 rules such as not placing parallel stripes on the same PV. in‐
277 herit applies the VG policy to an LV. contiguous requires new
278 PEs be placed adjacent to existing PEs. cling places new PEs on
279 the same PV as existing PEs in the same stripe of the LV. If
280 there are sufficient PEs for an allocation, but normal does not
281 use them, anywhere will use them even if it reduces performance,
282 e.g. by placing two stripes on the same PV. Optional positional
283 PV args on the command line can also be used to limit which PVs
284 the command will use for allocation. See lvm(8) for more infor‐
285 mation about allocation.
286
287 -A|--autobackup y|n
288 Specifies if metadata should be backed up automatically after a
289 change. Enabling this is strongly advised! See vgcfgbackup(8)
290 for more information.
291
292 --cachemode writethrough|writeback|passthrough
293 Specifies when writes to a cache LV should be considered com‐
294 plete. writeback considers a write complete as soon as it is
295 stored in the cache pool. writethough considers a write com‐
296 plete only when it has been stored in both the cache pool and on
297 the origin LV. While writethrough may be slower for writes, it
298 is more resilient if something should happen to a device associ‐
299 ated with the cache pool LV. With passthrough, all reads are
300 served from the origin LV (all reads miss the cache) and all
301 writes are forwarded to the origin LV; additionally, write hits
302 cause cache block invalidates. See lvmcache(7) for more informa‐
303 tion.
304
305 --cachepolicy String
306 Specifies the cache policy for a cache LV. See lvmcache(7) for
307 more information.
308
309 --cachesettings String
310 Specifies tunable kernel options for dm-cache or dm-writecache
311 LVs. Use the form 'option=value' or 'option1=value option2=val‐
312 ue', or repeat --cachesettings for each option being set. These
313 settings override the default kernel behaviors which are usually
314 adequate. To remove cachesettings and revert to the default ker‐
315 nel behaviors, use --cachesettings 'default' for dm-cache or an
316 empty string --cachesettings '' for dm-writecache. See lvm‐
317 cache(7) for more information.
318
319 --commandprofile String
320 The command profile to use for command configuration. See
321 lvm.conf(5) for more information about profiles.
322
323 --compression y|n
324 Controls whether compression is enabled or disable for VDO vol‐
325 ume. See lvmvdo(7) for more information about VDO usage.
326
327 --config String
328 Config settings for the command. These override lvm.conf(5) set‐
329 tings. The String arg uses the same format as lvm.conf(5), or
330 may use section/field syntax. See lvm.conf(5) for more informa‐
331 tion about config.
332
333 -C|--contiguous y|n
334 Sets or resets the contiguous allocation policy for LVs. De‐
335 fault is no contiguous allocation based on a next free princi‐
336 ple. It is only possible to change a non-contiguous allocation
337 policy to contiguous if all of the allocated physical extents in
338 the LV are already contiguous.
339
340 -d|--debug ...
341 Set debug level. Repeat from 1 to 6 times to increase the detail
342 of messages sent to the log file and/or syslog (if configured).
343
344 --deduplication y|n
345 Controls whether deduplication is enabled or disable for VDO
346 volume. See lvmvdo(7) for more information about VDO usage.
347
348 --deltag Tag
349 Deletes a tag from a PV, VG or LV. This option can be repeated
350 to delete multiple tags at once. See lvm(8) for information
351 about tags.
352
353 --detachprofile
354 Detaches a metadata profile from a VG or LV. See lvm.conf(5)
355 for more information about profiles.
356
357 --devices PV
358 Restricts the devices that are visible and accessible to the
359 command. Devices not listed will appear to be missing. This op‐
360 tion can be repeated, or accepts a comma separated list of de‐
361 vices. This overrides the devices file.
362
363 --devicesfile String
364 A file listing devices that LVM should use. The file must exist
365 in /etc/lvm/devices/ and is managed with the lvmdevices(8) com‐
366 mand. This overrides the lvm.conf(5) devices/devicesfile and
367 devices/use_devicesfile settings.
368
369 --discards passdown|nopassdown|ignore
370 Specifies how the device-mapper thin pool layer in the kernel
371 should handle discards. ignore causes the thin pool to ignore
372 discards. nopassdown causes the thin pool to process discards
373 itself to allow reuse of unneeded extents in the thin pool.
374 passdown causes the thin pool to process discards itself (like
375 nopassdown) and pass the discards to the underlying device. See
376 lvmthin(7) for more information.
377
378 --driverloaded y|n
379 If set to no, the command will not attempt to use device-mapper.
380 For testing and debugging.
381
382 --errorwhenfull y|n
383 Specifies thin pool behavior when data space is exhausted. When
384 yes, device-mapper will immediately return an error when a thin
385 pool is full and an I/O request requires space. When no, de‐
386 vice-mapper will queue these I/O requests for a period of time
387 to allow the thin pool to be extended. Errors are returned if
388 no space is available after the timeout. (Also see dm-thin-pool
389 kernel module option no_space_timeout.) See lvmthin(7) for more
390 information.
391
392 -f|--force ...
393 Override various checks, confirmations and protections. Use
394 with extreme caution.
395
396 -h|--help
397 Display help text.
398
399 -K|--ignoreactivationskip
400 Ignore the "activation skip" LV flag during activation to allow
401 LVs with the flag set to be activated.
402
403 --ignorelockingfailure
404 Allows a command to continue with read-only metadata operations
405 after locking failures.
406
407 --ignoremonitoring
408 Do not interact with dmeventd unless --monitor is specified. Do
409 not use this if dmeventd is already monitoring a device.
410
411 --journal String
412 Record information in the systemd journal. This information is
413 in addition to information enabled by the lvm.conf log/journal
414 setting. command: record information about the command. out‐
415 put: record the default command output. debug: record full com‐
416 mand debugging.
417
418 --lockopt String
419 Used to pass options for special cases to lvmlockd. See lvm‐
420 lockd(8) for more information.
421
422 --longhelp
423 Display long help text.
424
425 -j|--major Number
426 Sets the major number of an LV block device.
427
428 --[raid]maxrecoveryrate Size[k|UNIT]
429 Sets the maximum recovery rate for a RAID LV. The rate value is
430 an amount of data per second for each device in the array. Set‐
431 ting the rate to 0 means it will be unbounded. See lvmraid(7)
432 for more information.
433
434 --metadataprofile String
435 The metadata profile to use for command configuration. See
436 lvm.conf(5) for more information about profiles.
437
438 --minor Number
439 Sets the minor number of an LV block device.
440
441 --[raid]minrecoveryrate Size[k|UNIT]
442 Sets the minimum recovery rate for a RAID LV. The rate value is
443 an amount of data per second for each device in the array. Set‐
444 ting the rate to 0 means it will be unbounded. See lvmraid(7)
445 for more information.
446
447 --monitor y|n
448 Start (yes) or stop (no) monitoring an LV with dmeventd.
449 dmeventd monitors kernel events for an LV, and performs automat‐
450 ed maintenance for the LV in reponse to specific events. See
451 dmeventd(8) for more information.
452
453 --nohints
454 Do not use the hints file to locate devices for PVs. A command
455 may read more devices to find PVs when hints are not used. The
456 command will still perform standard hint file invalidation where
457 appropriate.
458
459 --nolocking
460 Disable locking. Use with caution, concurrent commands may pro‐
461 duce incorrect results.
462
463 --noudevsync
464 Disables udev synchronisation. The process will not wait for no‐
465 tification from udev. It will continue irrespective of any pos‐
466 sible udev processing in the background. Only use this if udev
467 is not running or has rules that ignore the devices LVM creates.
468
469 -P|--partial
470 Commands will do their best to activate LVs with missing PV ex‐
471 tents. Missing extents may be replaced with error or zero seg‐
472 ments according to the missing_stripe_filler setting. Metadata
473 may not be changed with this option.
474
475 -p|--permission rw|r
476 Set access permission to read only r or read and write rw.
477
478 -M|--persistent y|n
479 When yes, makes the specified minor number persistent.
480
481 --poll y|n
482 When yes, start the background transformation of an LV. An in‐
483 complete transformation, e.g. pvmove or lvconvert interrupted by
484 reboot or crash, can be restarted from the last checkpoint with
485 --poll y. When no, background transformation of an LV will not
486 occur, and the transformation will not complete. It may not be
487 appropriate to immediately poll an LV after activation, in which
488 case --poll n can be used to defer polling until a later --poll
489 y command.
490
491 --profile String
492 An alias for --commandprofile or --metadataprofile, depending on
493 the command.
494
495 -q|--quiet ...
496 Suppress output and log messages. Overrides --debug and --ver‐
497 bose. Repeat once to also suppress any prompts with answer
498 'no'.
499
500 -r|--readahead auto|none|Number
501 Sets read ahead sector count of an LV. auto is the default
502 which allows the kernel to choose a suitable value automatical‐
503 ly. none is equivalent to zero.
504
505 --readonly
506 Run the command in a special read-only mode which will read on-
507 disk metadata without needing to take any locks. This can be
508 used to peek inside metadata used by a virtual machine image
509 while the virtual machine is running. No attempt will be made to
510 communicate with the device-mapper kernel driver, so this option
511 is unable to report whether or not LVs are actually in use.
512
513 --rebuild PV
514 Selects a PV to rebuild in a raid LV. Multiple PVs can be re‐
515 built by repeating this option. Use this option in place of
516 --resync or --syncaction repair when the PVs with corrupted data
517 are known, and their data should be reconstructed rather than
518 reconstructing default (rotating) data. See lvmraid(7) for more
519 information.
520
521 --refresh
522 If the LV is active, reload its metadata. This is not necessary
523 in normal operation, but may be useful if something has gone
524 wrong, or if some form of manual LV sharing is being used.
525
526 --reportformat basic|json|json_std
527 Overrides current output format for reports which is defined
528 globally by the report/output_format setting in lvm.conf(5).
529 basic is the original format with columns and rows. If there is
530 more than one report per command, each report is prefixed with
531 the report name for identification. json produces report output
532 in JSON format. json_std produces report output in JSON format
533 which is more compliant with JSON standard. See lvmreport(7)
534 for more information.
535
536 --resync
537 Initiates mirror synchronization. Synchronization generally hap‐
538 pens automatically, but this option forces it to run. Also see
539 --rebuild to synchronize a specific PV. During synchronization,
540 data is read from the primary mirror device and copied to the
541 others. This can take considerable time, during which the LV is
542 without a complete redundant copy of the data. See lvmraid(7)
543 for more information.
544
545 -S|--select String
546 Select objects for processing and reporting based on specified
547 criteria. The criteria syntax is described by --select help and
548 lvmreport(7). For reporting commands, one row is displayed for
549 each object matching the criteria. See --options help for se‐
550 lectable object fields. Rows can be displayed with an addition‐
551 al "selected" field (-o selected) showing 1 if the row matches
552 the selection and 0 otherwise. For non-reporting commands which
553 process LVM entities, the selection is used to choose items to
554 process.
555
556 -k|--setactivationskip y|n
557 Persistently sets (yes) or clears (no) the "activation skip"
558 flag on an LV. An LV with this flag set is not activated unless
559 the --ignoreactivationskip option is used by the activation com‐
560 mand. This flag is set by default on new thin snapshot LVs.
561 The flag is not applied to deactivation. The current value of
562 the flag is indicated in the lvs lv_attr bits.
563
564 --setautoactivation y|n
565 Set the autoactivation property on a VG or LV. Display the
566 property with vgs or lvs "-o autoactivation". When the autoac‐
567 tivation property is disabled, the VG or LV will not be activat‐
568 ed by a command doing autoactivation (vgchange, lvchange, or
569 pvscan using -aay.) If autoactivation is disabled on a VG, no
570 LVs will be autoactivated in that VG, and the LV autoactivation
571 property has no effect. If autoactivation is enabled on a VG,
572 autoactivation can be disabled for individual LVs.
573
574 --[raid]syncaction check|repair
575 Initiate different types of RAID synchronization. This causes
576 the RAID LV to read all data and parity blocks in the array and
577 check for discrepancies (mismatches between mirrors or incorrect
578 parity values). check will count but not correct discrepancies.
579 repair will correct discrepancies. See lvs(8) for reporting
580 discrepancies found or repaired.
581
582 --sysinit
583 Indicates that vgchange/lvchange is being invoked from early
584 system initialisation scripts (e.g. rc.sysinit or an initrd),
585 before writable filesystems are available. As such, some func‐
586 tionality needs to be disabled and this option acts as a short‐
587 cut which selects an appropriate set of options. Currently, this
588 is equivalent to using --ignorelockingfailure, --ignoremonitor‐
589 ing, --poll n, and setting env var LVM_SUPPRESS_LOCKING_FAIL‐
590 URE_MESSAGES. vgchange/lvchange skip autoactivation, and defer
591 to pvscan autoactivation.
592
593 -t|--test
594 Run in test mode. Commands will not update metadata. This is
595 implemented by disabling all metadata writing but nevertheless
596 returning success to the calling function. This may lead to un‐
597 usual error messages in multi-stage operations if a tool relies
598 on reading back metadata it believes has changed but hasn't.
599
600 --vdosettings String
601 Specifies tunable VDO options for VDO LVs. Use the form 'op‐
602 tion=value' or 'option1=value option2=value', or repeat
603 --vdosettings for each option being set. These settings over‐
604 ride the default VDO behaviors. To remove vdosettings and re‐
605 vert to the default VDO behaviors, use --vdosettings 'default'.
606 See lvmvdo(7) for more information.
607
608 -v|--verbose ...
609 Set verbose level. Repeat from 1 to 4 times to increase the de‐
610 tail of messages sent to stdout and stderr.
611
612 --version
613 Display version information.
614
615 --[raid]writebehind Number
616 The maximum number of outstanding writes that are allowed to de‐
617 vices in a RAID1 LV that is marked write-mostly. Once this val‐
618 ue is exceeded, writes become synchronous (i.e. all writes to
619 the constituent devices must complete before the array signals
620 the write has completed). Setting the value to zero clears the
621 preference and allows the system to choose the value arbitrari‐
622 ly.
623
624 --[raid]writemostly PV[:t|n|y]
625 Mark a device in a RAID1 LV as write-mostly. All reads to these
626 drives will be avoided unless absolutely necessary. This keeps
627 the number of I/Os to the drive to a minimum. The default behav‐
628 ior is to set the write-mostly attribute for the specified PV.
629 It is also possible to remove the write-mostly flag by adding
630 the suffix :n at the end of the PV name, or to toggle the value
631 with the suffix :t. Repeat this option to change the attribute
632 on multiple PVs.
633
634 -y|--yes
635 Do not prompt for confirmation interactively but always assume
636 the answer yes. Use with extreme caution. (For automatic no,
637 see -qq.)
638
639 -Z|--zero y|n
640 Set zeroing mode for thin pool. Note: already provisioned blocks
641 from pool in non-zero mode are not cleared in unwritten parts
642 when setting --zero y.
643
645 VG Volume Group name. See lvm(8) for valid names.
646
647 LV Logical Volume name. See lvm(8) for valid names. An LV posi‐
648 tional arg generally includes the VG name and LV name, e.g.
649 VG/LV. LV1 indicates the LV must have a specific type, where
650 the accepted LV types are listed. (raid represents raid<N>
651 type).
652
653 Tag Tag name. See lvm(8) for information about tag names and using
654 tags in place of a VG, LV or PV.
655
656 Select Select indicates that a required positional parameter can be
657 omitted if the --select option is used. No arg appears in this
658 position.
659
660 String See the option description for information about the string con‐
661 tent.
662
663 Size[UNIT]
664 Size is an input number that accepts an optional unit. Input
665 units are always treated as base two values, regardless of capi‐
666 talization, e.g. 'k' and 'K' both refer to 1024. The default
667 input unit is specified by letter, followed by |UNIT. UNIT rep‐
668 resents other possible input units: b|B is bytes, s|S is sectors
669 of 512 bytes, k|K is KiB, m|M is MiB, g|G is GiB, t|T is TiB,
670 p|P is PiB, e|E is EiB. (This should not be confused with the
671 output control --units, where capital letters mean multiple of
672 1000.)
673
675 See lvm(8) for information about environment variables used by lvm.
676 For example, LVM_VG_NAME can generally be substituted for a required VG
677 parameter.
678
680 Change LV permission to read-only:
681 lvchange -pr vg00/lvol1
682
684 lvm(8), lvm.conf(5), lvmconfig(8), lvmdevices(8),
685
686 pvchange(8), pvck(8), pvcreate(8), pvdisplay(8), pvmove(8),
687 pvremove(8), pvresize(8), pvs(8), pvscan(8),
688
689 vgcfgbackup(8), vgcfgrestore(8), vgchange(8), vgck(8), vgcreate(8),
690 vgconvert(8), vgdisplay(8), vgexport(8), vgextend(8), vgimport(8),
691 vgimportclone(8), vgimportdevices(8), vgmerge(8), vgmknodes(8),
692 vgreduce(8), vgremove(8), vgrename(8), vgs(8), vgscan(8), vgsplit(8),
693
694 lvcreate(8), lvchange(8), lvconvert(8), lvdisplay(8), lvextend(8),
695 lvreduce(8), lvremove(8), lvrename(8), lvresize(8), lvs(8), lvscan(8),
696
697 lvm-fullreport(8), lvm-lvpoll(8), blkdeactivate(8), lvmdump(8),
698
699 dmeventd(8), lvmpolld(8), lvmlockd(8), lvmlockctl(8), cmirrord(8),
700 lvmdbusd(8), fsadm(8),
701
702 lvmsystemid(7), lvmreport(7), lvmraid(7), lvmthin(7), lvmcache(7)
703
704
705
706Red Hat, Inc. LVM TOOLS 2.03.18(2)-git (2022-11-10) LVCHANGE(8)