HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

vgscan — Scan for volume groups on all supported Logical Volume Manager (LVM) block devices. See also: `lvm`,

Submitted by: @import:tldr-pages··
0
Viewed 0 times
volumecommandallvgscancliscanforgroups
linux

Problem

How to use the vgscan command: Scan for volume groups on all supported Logical Volume Manager (LVM) block devices. See also: lvm, vgchange. More information: <https://manned.org/vgscan>.

Solution

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

Code Snippets

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

Context

tldr-pages: linux/vgscan

Revisions (0)

No revisions yet.