Files
tldr/pages.zh/linux/vgscan.md

13 lines
391 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# vgscan
> 在所有支持的逻辑卷管理器LVM块设备上扫描卷组。
> 另见:`lvm` 和 `vgchange`。
> 更多信息:<https://manned.org/vgscan>。
- 扫描卷组并打印找到的每个组的信息:
`sudo vgscan`
- 扫描卷组并在 `/dev` 中添加特殊文件,如果这些文件尚不存在,以便访问找到的组中的逻辑卷:
`sudo vgscan --mknodes`