内容来源于人民邮电出版社《Linux命令应用大词典》
学习Linux系统的参考书、案头书,遇到不懂的命令或命令选项一查即可
争取每天都发布内容
本文出自 “airfish2000” 博客,更多命令查看博客:
http://airfish2000.blog.51cto.com/10829608/1896852
vgrename命令
使用vgrename命令可以重命名卷组的名称。
命令语法:
vgrename [选项] [旧卷组路径|旧卷组名称|旧卷组UUID] [新卷组路径|新卷组名称]
命令中各选项的含义如表所示。
表 vgrename命令选项含义
选项 | 含义 |
-d | 启用调试模式 |
-t | 启用测试模式 |
例:重命名卷组/dev/vg1为/dev/vg2。
[root@rhel ~]# vgrename /dev/vg1 /dev/vg2
Volume group "vg1" successfullyrenamed to "vg2"
例:重命名卷组vg1为vg2。
[root@rhel ~]# vgrename vg1 vg2
Volume group "vg1" successfully renamed to "vg2"
本文出自 “airfish2000” 博客,请务必保留此出处http://airfish2000.blog.51cto.com/10829608/1896852
vgrename命令--Linux命令应用大词典729个命令解读
原文:http://airfish2000.blog.51cto.com/10829608/1896852