How to use the vgchange command of Linux
Most people do not understand the knowledge of this article "how to use the vgchange command of Linux", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to use the vgchange command of Linux" article.
The Linux common command vgchange command is used to modify the properties of a volume group and is often used to set whether the volume group is active or inactive. A volume group that is active cannot be deleted and must be set inactive using the vgchange command before it can be deleted.
Vgchange modifies volume group properties
Syntax vgchange (option) (parameter) option-a: sets the active state of the volume group. Parameter volume group: specifies the volume group whose properties you want to set.
The instance uses the vgchange command to change the volume group state to active. Enter the following command on the command line:
[root@localhost ~] # vgchange-ay vg1000 # sets the volume group "vg1000" to active. The output information is as follows:
1 logical volume (s) in volume group "vg1000" now active above is about the content of this article "how to use Linux's vgchange command". I believe everyone has a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please pay attention to the industry information channel.