Identifying storage devices and their configuration

This procedure identifies block storage devices attached to a host and demonstrates how devices are configured.
  1. Log in to the target host as root, or as a user with superuser privileges through a terminal session.
  2. Display the block storage devices attached to the host and their configuration.
    The following example result shows three disks (sda, sdb, and sdc) and one CD/DVD drive (sr0).
    • Disk sda has two primary partitions:
      • Partition sda1 is devoted to /boot, and formatted with the XFS file system.
      • Partition sda2 includes the following logical volumes, which are managed by LVM:
        • a swap volume, formatted as such
        • a volume for root (/), formatted as XFS
        • a volume for /home, formatted as XFS
    Example result:
    NAME                     SIZE TYPE FSTYPE      MOUNTPOINT
    sda                      128G disk
    |-sda1                   500M part xfs         /boot
    |-sda2                 127.5G part LVM2_member
      |-centos_c15246-swap  24.8G lvm  swap
      |-centos_c15246-root    50G lvm  xfs         /
      |-centos_c15246-home  52.6G lvm  xfs         /home
    sdb                      768G disk
    sdc                      768G disk
    sr0                     1024M rom

    For more information about lsblk, enter man lsblk.