Scan for volume groups on all supported Logical Volume Manager (LVM) block devices. See also:
lvm
andvgchange
. More information: https://manned.org/vgscan.
sudo vgscan
/dev
, if they don’t already exist, needed to access the logical volumes in the found groups:sudo vgscan --mknodes