我要评分
获取效率
正确性
完整性
易理解

storage

Command Function

Collects storage information, including drives and partitions.

Syntax

1
./kspect storage [-h] [-d | -f | -b | -s | -i | -r]

Parameter Description

Table 1 Parameters of the storage command

Parameter

Description

None

Collects all storage information, including drive and partition information.

-h/--help

Obtains help information.

-d/--disk

Displays drive information.

-f/--filesystem

Displays file system information.

-b/--bmc

Displays the drive information in the BMC.

-s/--smart

Displays drive health information.

-i/--iostat

Displays iostat information.

-r/--raid

Displays RAID controller card information.

Example

Collect all storage information.
1
./kspect storage
Figure 1 Storage information

If a -- is not displayed in red in the report, the related data is either unavailable or cannot be collected.

Table 2 Report description

Item

Description

Disk Table

Displays drive information, including Name, Model, Size, Mount Point, Type, HWType, FSType, Firmware, PCIe Addr, NUMA, and Link Speed/Width.

Filesystem Table

Displays file system information, including Mounted on, Filesystem, Size, Used/Avail/Use%, and Mount Options.

Smart Health Table

Displays drive health information, including Device, SN, Vendor, SS, HS, Temp, UC, TP, RR, FV, and TS/TL.

IO Stat Table

Displays iostat data, including Device, rkB/s, wkB/s, x_await, aqu-sz, and %util.

Physical Storage Table

Displays physical storage information, including Name, StatusIndicator, PowerState, Protocol, Manufacture, MediaType, TemperatureCelsius, CapableSpeedGbs, NegotiatedSpeedGbs, HoursOfPowerdUp, and Capacity.

RAID Info Table

Displays RAID controller card information, including the vendor, controller ID, serial number, product name, and firmware version.

JSON Report

The generated report is saved in the Tool_installation_path/output/kspect-storage-YYYYMMDD-HHMMSS directory and the file name is kspect-storage-YYYYMMDD-HHMMSS.json.