Get the App
SLTechnology News&Howtos  ›  Servers  › 

Scan LVM logical volumes using the lvscan command of linux

Shulou Source: shulou.com Published: 2022-06-02 18:06:56 09月22日 Update

This article mainly introduces the use of linux lvscan command scan LVM logical volume, the text is very detailed, has a certain reference value, interested friends must read!

The lvscan command scans all LVM logical volumes present on the current system. Use the lvscan command to discover all logical volumes in the system and their corresponding device files.

Syntax format: lvscan [parameter]

Common parameters:

-b Display displays the logical volume's master device and this device number

Reference Example

Use the lvscan command to scan all logical volumes in the system:

[root@linuxcool ~]# lvscan

Display Equipment No.:

[root@linuxcool ~]# lvscan -b The above is to scan all the contents of the LVM logical volume using the linux lvscan command. Thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!

Tags: Logic commands systems devices content parameters references main equipment values interests examples guys buddies commonly used instructions files display devices more formats knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Redmi MariaDB Microsoft MySQL