1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 15:19:43 +01:00
tldr/pages/linux/vgscan.md
2023-11-23 14:55:03 +01:00

441 B

vgscan

Scan for volume groups on all supported Logical Volume Manager (LVM) block devices. See also: lvm and 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