We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fa1ae5 commit 6cd1b6fCopy full SHA for 6cd1b6f
command/vgrename.md
@@ -0,0 +1,39 @@
1
+vgrename
2
+===
3
+
4
+使用vgrename命令可以重命名卷组的名称。
5
6
+## 补充说明
7
8
+**grename命令** 可以重命名卷组的名称。
9
10
+### 语法
11
12
+```
13
+vgrename [选项] [旧卷组路径|旧卷组名称|旧卷组UUID] [新卷组路径|新卷组名称]
14
15
16
+### 选项
17
18
19
+-d 启用调试模式
20
+-t 启用测试模式
21
22
23
+### 例子
24
25
+重命名卷组/dev/vg1为/dev/vg2。
26
27
+```bash
28
+[root@localhost ~]# vgrename /dev/vg1 /dev/vg2
29
+ Volume group "vg1" successfullyrenamed to "vg2"
30
31
32
+重命名卷组vg1为vg2。
33
34
35
+[root@localhost ~]# vgrename vg1 vg2
36
+ Volume group "vg1" successfully renamed to "vg2"
37
38
39
+<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->
0 commit comments