You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
841 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

lvremove
===
删除指定LVM逻辑卷
## 补充说明
**lvremove命令** 用于删除指定LVM逻辑卷。如果逻辑卷已经使用mount命令加载则不能使用lvremove命令删除。必须使用umount命令卸载后逻辑卷方可被删除。
### 语法
```
lvremove(选项)(参数)
```
### 选项
```
-f强制删除。
```
### 参数
逻辑卷:指定要删除的逻辑卷。
### 实例
使用lvremove命令删除指定的逻辑卷。在命令行中输入下面的命令
```
[root@localhost ~]# lvremove /dev/vg1000/lvol0 #删除逻辑卷"lvol0"
```
输出信息如下:
```
Do you really want to remove active logical
volume "lvol0"? [y/n]: y #确认删除
Logical volume "lvol0" successfully removed
```
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->