storage
Command Function
Collects storage information, including drives and partitions.
- Data collection supports the
BMC mode (login required),in-band mode, and the mode that skips BMC. When ipmitool is used for data collection, the report will not include information from modules that strongly depend on the BMC. - The in-band mode can be used only by the root user.
- If the in-band mode is not supported, you need to download and install iBMA. For details, see iBMA 2.0 User Guide.
Syntax
1
|
./kspect storage [-h] [-d | -f | -b | -s | -i | -r] |
Parameter Description
|
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 |
|
-s/--smart |
Displays drive health information. |
|
-i/--iostat |
Displays iostat information. |
|
-r/--raid |
Displays RAID controller card information. |
Example
1
|
./kspect storage
|
If a message is displayed indicating that the command is not found during the collection, resolve the issue following the instructions in Command Not Found When Using the Kunpeng Health Inspector to Collect RAID Controller Card Information.
If a -- is not displayed in red in the report, the related data is either unavailable or cannot be collected.
|
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, Manufacturer, 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-xxxxxxxx-xxxxxx directory and the file name is kspect-storage-xxxxxxxx-xxxxxx.json. |