Files
cheatsheet-tldr/tldr/linux/vgscan
2025-07-31 00:21:38 +00:00

19 lines
530 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# vgscan
> Scan for volume groups on all supported Logical Volume Manager (LVM) block devices.
> See also: `lvm`, `vgchange`.
> More information: <https://manned.org/vgscan>.
- Scan for volume groups and print information about each group found:
`sudo vgscan`
- Scan for volume groups and add the special files in `/dev`, if they don't already exist, needed to access the logical volumes in the found groups:
`sudo vgscan --mknodes`