• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

lvscan Command Examples in Linux

by admin

Logical volumes (LVs) are block device units that we can use locally. We create LVs using the lvcreate command. An example is as follows:

# lvcreate -n web -L 100M iscsi

In order to display information about LVs on a system, we can use lvs or lvscan. The output of the sudo lvscan command is shown in the following screenshot:

lvscan command examples in Linux

lvscan Command Examples

1. To include information in the output about internal Logical Volumes:

# lvscan -a
# lvscan --all 

2. To Adds the device major and minor numbers to the display of each logical volume:

# lvscan -b
# lvscan --blockdevice 

3. To include debug info:

# lvscan -d
# lvscan --debug 

4. To get the help info:

# lvscan -h
# lvscan -?
# lvscan --help 

5. To ignore locking failure:

# lvscan --ignorelockingfailure 

6. To be verbose:

# lvscan -v
# lvscan --verbose 

7. To get the version:

# lvscan --version 

Filed Under: Linux

Some more articles you might also be interested in …

  1. Replacing a Failed Mirror Disk in a Software RAID Array (mdadm)
  2. bluetoothd: command not found
  3. beep Command Examples in Linux
  4. UNIX / Linux : What is the correct permission of /tmp and /var/tmp directories
  5. brctl Command Examples in Linux
  6. htpdate : command not found
  7. fish: The Friendly Interactive SHell, a command-line interpreter designed to be user friendly
  8. dkms Command Examples in Linux
  9. “az storage table” Command Examples
  10. dumpcap: A network traffic dump tool

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright