Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use the vgchange command of Linux

Shulou Source: shulou.com Published: 2022-06-01 18:35:43 10月04日 Update

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.

Tags: Commands status activities content attributes parameters articles knowledge articles values information most examples that is commonly used more steps knowledge points industry grammar Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Docker Redmi Apple MariaDB