request chassis routing-engine hard-disk-test
语法
request chassis routing-engine hard-disk-test
描述
对 XRE200 外部路由引擎运行硬盘驱动器 (HDD) 内存和诊断监控测试。该测试提供的输出有助于监视 XRE200 外部路由引擎上的硬盘内存状态。
所需权限级别
系统控制
输出字段
表 1 列出了命令 request chassis routing-engine hard-disk-test
的输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
---|---|
RAID 设备路径 |
到 RAID 的设备路径。 此输出通常仅对客户支持人员有用。 |
固件版本 |
RAID 的固件版本。 此输出通常仅对客户支持人员有用。 |
RAID 控制器 s/n |
RAID 控制器的序列号。 此输出通常仅对客户支持人员有用。 |
RAID 芯片 ID |
RAID 芯片标识号。 此输出通常仅对客户支持人员有用。 |
RAID 策略 |
RAID 策略状态。 SAFE 是 XRE200 外部路由引擎使用的唯一 RAID 策略。 此输出通常仅对客户支持人员有用。 |
Drive0 模型 |
HDD 插槽 0 中 HDD 模块的型号。 此输出通常仅对客户支持人员有用。 |
Drive1 型号 |
HDD 插槽 1 中 HDD 模块的型号。 此输出通常仅对客户支持人员有用。 |
驱动器0 s/n |
HDD 插槽 0 中 HDD 模块的序列号。 此输出通常仅对客户支持人员有用。 |
Drive1 s/n |
HDD 插槽 1 中 HDD 模块的序列号。 此输出通常仅对客户支持人员有用。 |
Drive0 容量 |
HDD 插槽 0 中 HDD 模块的内存容量(以 GB 为单位)。 |
Drive1 容量 |
HDD 插槽 1 中 HDD 模块的内存容量(以 GB 为单位)。 |
Drive0(RAID 状态) |
HDD 插槽 0 中 HDD 模块的 RAID 状态。 成果包括:
|
驱动器 1(RAID 状态) |
HDD 插槽 1 中 HDD 模块的 RAID 状态。 成果包括:
|
分区数 |
RAID 内存分区的数量。 |
分区大小 |
每个分区的大小(以 GB 为单位)。 |
RAID 状态 |
RAID 状态。 成果包括:
|
示例输出
请求机箱路由引擎硬盘测试
user@switch> request chassis routing-engine hard-disk-test
RAID INFORMATION
RAID device path: /dev/ad4
Firmware Version: 11594
RAID controller s/n: 12345678
RAID Chip ID: 123
RAID policy: SAFE
Drive0 model: WDC WD123AAJS-4567A0
Drive1 model: WDC WD345JD-18MSA1
Drive0 s/n: WD-WCAT30214999
Drive1 s/n: WD-WMAM9DTK4111
Drive0 capacity: 74(GB)
Drive1 capacity: 74(GB)
RAID STATUS
Drive0: On-line
Drive1: On-line
Number of partitions: 1
Size of Partitions:
Partition 0: 74(GB)
RAID Status: Healthy
请求机箱路由引擎硬盘测试(ACX 系列)
user@host> request chassis routing-engine hard-disk-test long disk /dev/sda
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.15.76-yocto-standard-juniper-02183-g46c537862907] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 15 minutes for test to complete.
Test will complete after Fri Sep 20 08:16:32 2024 PDT
Use smartctl -X to abort test.
user@host> request chassis routing-engine hard-disk-test short disk /dev/sda
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.15.76-yocto-standard-juniper-02183-g46c537862907] (local build)
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.15.76-yocto-standard-juniper-02183-g46c537862907] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Can't start self-test without aborting current test (90% remaining),
add '-t force' option to override, or run 'smartctl -X' to abort test.
user@host> request chassis routing-engine hard-disk-test show-status disk /dev/sda
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.15.76-yocto-standard-juniper-02183-g46c537862907] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SwissBit Slim Sata SSD
Device Model: SFSA100GM2AK4TO-I-6B-66A-JUN
Serial Number: 0000602219249A000046
Firmware Version: SBR10021
User Capacity: 100,030,242,816 bytes [100 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
TRIM Command: Available, deterministic, zeroed
Device is: In smartctl database 7.3/5319
ATA Version is: ACS-3 (minor revision not indicated)
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Fri Sep 20 08:05:24 2024 PDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x03) Offline data collection activity
is in progress.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 247) Self-test routine in progress...
70% of test remaining.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x53) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 15) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 000 Pre-fail Always - 0
5 Reallocated_Sector_Ct 0x0013 100 100 000 Pre-fail Always - 0
9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 7720
12 Power_Cycle_Count 0x0012 100 100 000 Old_age Always - 136
16 Unknown_Attribute 0x0112 094 094 001 Old_age Always - 1955
17 Unknown_Attribute 0x0012 100 100 000 Old_age Always - 30000
160 Uncorrect_Sect_Cnt_RW 0x0002 100 100 000 Old_age Always - 0
161 Spare_Block_Count 0x0012 100 100 000 Old_age Always - 61539243
163 Initial_Invalid_Blocks 0x0003 100 100 000 Pre-fail Always - 10
164 Total_Erase_Count 0x0012 100 100 000 Old_age Always - 593053
165 Maximum_Erase_Count 0x0002 100 100 000 Old_age Always - 449
166 Minimum_Erase_Count 0x0012 100 100 000 Old_age Always - 348
167 Average_Erase_Count 0x0012 087 087 000 Old_age Always - 408
168 MaxSpecified_Erase_Count0x0012 100 100 000 Old_age Always - 3000
169 PowerOn_UECC_Count 0x0003 100 100 000 Pre-fail Always - 102
193 Dynamic_Remaps 0x0012 100 100 000 Old_age Always - 0
194 Temperature_Celsius 0x0023 100 100 000 Pre-fail Always - 3871788
195 Hardware_ECC_Recovered 0x0012 100 100 000 Old_age Always - 12821
196 Reallocated_Event_Count 0x0012 000 000 000 Old_age Always - 0
198 Uncorrectable_Sect_Count0x0012 100 100 000 Old_age Always - 0
199 SATA_Phy_CRC_Error_Count0x000b 100 100 000 Pre-fail Always - 0
215 Trim_Count 0x0012 100 100 000 Old_age Always - 1816
235 TotalFlashLBA_Written 0x0012 100 100 000 Old_age Always - 233195432448
237 TotalFlashLBA_Written_E 0x0012 100 100 000 Old_age Always - 0
241 TotalHostLBA_Write 0x0012 100 100 000 Old_age Always - 167103620097
242 TotalHostLBA_Read 0x0012 100 100 000 Old_age Always - 19887123867
243 TotalHostLBA_Written_E 0x0012 100 100 000 Old_age Always - 0
244 TotalHostLBA_Read_E 0x0012 100 100 000 Old_age Always - 0
248 SSD_Life_Left 0x0112 087 087 001 Old_age Always - 87
249 Spare_Block_Life_Left 0x1913 100 100 025 Pre-fail Always - 100
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
发布信息
在 Junos OS 12.1 版中引入的命令。