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.

39 lines
771 B

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden 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.

pvremove
===
删除一个存在的物理卷
## 补充说明
**pvremove命令** 用于删除一个存在的物理卷。使用pvremove指令删除物理卷时它将LVM分区上的物理卷信息删除使其不再被视为一个物理卷。
### 语法
```
pvremove(选项)(参数)
```
### 选项
```
-d调试模式
-f强制删除
-y对提问回答“yes”。
```
### 参数
物理卷:指定要删除的物理卷对应的设备文件名。
### 实例
使用pvremove指令删除物理卷`/dev/sdb2`。在命令行中输入下面的命令:
```
pvremove /dev/sdb2 #删除物理卷
Labels on physical volume "/dev/sdb2" successfully wiped
```
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->