chvg Command
Purpose
Sets the characteristics of a volume group.
Syntax
chvg [ -unlock ] [ -suspend | -resume] VolumeGroup
Description
The chvg command changes the characteristics of a
volume group.
Flags
| -resume |
Resumes normal I/O operations for a volume group. |
| -suspend |
Drains I/O's for this volume group and suspends future
I/O's. |
| -unlock |
Unlocks the volume group. This option is provided if
the volume group is left in a locked state by abnormal termination of another
LVM operation (such as the command core dumping, or the system crashing).
Note:
Before using the -unlock flag, make sure that
the volume group is not being used by another LVM command. |
Exit Status
See Virtual I/O Server command exit status.
Examples
- To suspend the volume group vg03, type:
chvg -suspend vg03
- To resume the volume group vg03, type:
chvg -resume vg03
Related Information
The mkvg command, the lsvg command, the extendvg command, the reducevg command, the mirrorios command,
the unmirrorios command,
the activatevg command,
the deactivatevg command,
the importvg command, the exportvg command, and the syncvg command.