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>.

Install

All systems
curl cmd.cat/vgscan.sh
Debian Debian
apt-get install lvm2
Ubuntu
apt-get install lvm2
Alpine
apk add lvm2
Arch Arch Linux
pacman -S lvm2
image/svg+xml Kali Linux
apt-get install lvm2
CentOS
yum install lvm2
Fedora
dnf install lvm2
Windows (WSL2)
sudo apt-get update sudo apt-get install lvm2
Raspbian
apt-get install lvm2
Docker
docker run cmd.cat/vgscan vgscan powered by Commando

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

© tl;dr; authors and contributors