From 1a4d7120f7dd4ae5aa832aa4df1be3f43f9df919 Mon Sep 17 00:00:00 2001 From: QinShower Date: Mon, 17 Jun 2024 01:42:31 +0800 Subject: [PATCH] doc: Update lvcreate.md (#584) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit lvcreate 缺少 -n 参数 --- command/lvcreate.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/command/lvcreate.md b/command/lvcreate.md index bea90263e8..71c5cb5ef7 100644 --- a/command/lvcreate.md +++ b/command/lvcreate.md @@ -16,6 +16,7 @@ lvcreate(选项)(参数) ### 选项 ```shell +-n: 指定逻辑卷的名称 -L:指定逻辑卷的大小,单位为“kKmMgGtT”字节; -l:指定逻辑卷的大小(LE数)。 ``` @@ -29,7 +30,7 @@ lvcreate(选项)(参数) 使用lvcreate命令在卷组"vg1000"上创建一个200MB的逻辑卷。在命令行中输入下面的命令: ```shell -[root@localhost ~]# lvcreate -L 200M vg1000 #创建大小为200M的逻辑卷 +[root@localhost ~]# lvcreate -L 200M -n lvol0 vg1000 #创建大小为200M的逻辑卷 ``` 输出信息如下: