TrumanWong

lvscan

Scan logical volumes

Supplementary instructions

lvscan command is used to scan all LVM logical volumes that exist in the current system. Use the lvscan command to discover all logical volumes in the system and their corresponding device files.

grammar

lvscan(option)

Options

-b: Display the major and minor device numbers of the logical volume.

Example

Use the lvscan command to scan all logical volumes in the system. Enter the following command at the command line:

[root@localhost ~]# lvscan #Scan all logical volumes

The output information is as follows:

ACTIVE '/dev/vg1000/lvol0' [200.00 MB] inherit