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.

37 lines
672 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.

lvscan
===
扫描逻辑卷
## 补充说明
**lvscan命令** 用于扫描当前系统中存在的所有的LVM逻辑卷。使用lvscan指令可以发现系统中的所有逻辑卷及其对应的设备文件。
### 语法
```
lvscan(选项)
```
### 选项
```
-b显示逻辑卷的主设备和次设备号。
```
### 实例
使用lvscan命令扫描系统中的所有逻辑卷。在命令行中输入下面的命令
```
[root@localhost ~]# lvscan #扫描所有的逻辑卷
```
输出信息如下:
```
ACTIVE '/dev/vg1000/lvol0' [200.00 MB] inherit
```
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->