Skip to content

Commit 1a4d712

Browse files
authored
doc: Update lvcreate.md (#584)
lvcreate 缺少 -n 参数
1 parent 6595729 commit 1a4d712

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

command/lvcreate.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ lvcreate(选项)(参数)
1616
### 选项
1717

1818
```shell
19+
-n: 指定逻辑卷的名称
1920
-L:指定逻辑卷的大小,单位为“kKmMgGtT”字节;
2021
-l:指定逻辑卷的大小(LE数)。
2122
```
@@ -29,7 +30,7 @@ lvcreate(选项)(参数)
2930
使用lvcreate命令在卷组"vg1000"上创建一个200MB的逻辑卷。在命令行中输入下面的命令:
3031

3132
```shell
32-
[root@localhost ~]# lvcreate -L 200M vg1000 #创建大小为200M的逻辑卷
33+
[root@localhost ~]# lvcreate -L 200M -n lvol0 vg1000 #创建大小为200M的逻辑卷
3334
```
3435

3536
输出信息如下:

0 commit comments

Comments
 (0)