1 Star 0 Fork 0

mobile-webs/linux-command

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vgchange.md 845 Bytes
一键复制 编辑 原始数据 按行查看 历史

vgchange

修改卷组属性

补充说明

vgchange命令 用于修改卷组的属性,经常被用来设置卷组是处于活动状态或非活动状态。处于活动状态的卷组无法被删除,必须使用vgchange命令将卷组设置为非活动状态后才能删除。

语法

vgchange(选项)(参数)

选项

-a:设置卷组的活动状态。

参数

卷组:指定要设置属性的卷组。

实例

使用vgchange命令将卷组状态改为活动的。在命令行中输入下面的命令:

[root@localhost ~]# vgchange -ay vg1000     #将卷组"vg1000"设置为活动状态

输出信息如下:

1 logical volume(s) in volume group "vg1000" now active
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mobile-webs/linux-command.git
git@gitee.com:mobile-webs/linux-command.git
mobile-webs
linux-command
linux-command
master

搜索帮助