Home  >  Article  >  System Tutorial  >  Installation, common formats and parameter introduction of lsscsi command

Installation, common formats and parameter introduction of lsscsi command

WBOY
WBOYOriginal
2024-08-08 11:23:12618browse

lsscsi 命令的安装、常用格式及参数介绍

1. Check with lsscsi command

1. Introduction

The lsscsi command is used to list SCSI devices (or hosts) and their attributes.

lsscsi is not an external command. You need to install the corresponding package of lsscsi. After installation, the lsscsi command can be used. The lsscsi command can easily tell what a solid state drive is, which is a SATA disk, and which is an FC disk.

If the H:C:T:L parameter is given, it will be used as a filter linux to view scsi devices and only match the devices it is enumerated. Here H refers to Host, C refers to Channel, T refers to Idlinux to view the scsi device, and L refers to Lun.

2. Installation

[root@linuxprobe ~]# parted -l

Disk device partition:

[root@linuxprobe ~]# parted

The above is the detailed content of Installation, common formats and parameter introduction of lsscsi command. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn