Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

request chassis routing-engine hard-disk-test

date_range 29-Nov-24

Syntax

content_copy zoom_out_map
request chassis routing-engine hard-disk-test

Description

Run a Hard Disk Drive (HDD) memory and diagnostics monitoring test for an XRE200 External Routing Engine. The test provides output that is helpful in monitoring the status of the hard disk memory on the XRE200 External Routing Engine.

Required Privilege Level

system-control

Output Fields

Table 1 lists the output fields for the request chassis routing-engine hard-disk-test command. Output fields are listed in the approximate order in which they appear.

Table 1: request chassis routing-engine hard-disk-test Output Fields

Field Name

Field Description

RAID device path

The device path to the RAID.

This output is generally only useful for customer support personnel.

Firmware Version

The firmware version of the RAID.

This output is generally only useful for customer support personnel.

RAID controller s/n

The serial number of the RAID controller.

This output is generally only useful for customer support personnel.

RAID Chip ID

The RAID chip identification number.

This output is generally only useful for customer support personnel.

RAID policy

The RAID policy status.

SAFE is the only RAID policy used by an XRE200 External Routing Engine.

This output is generally only useful for customer support personnel.

Drive0 model

The model number of the HDD module in HDD slot 0.

This output is generally only useful for customer support personnel.

Drive1 model

The model number of the HDD module in HDD slot 1.

This output is generally only useful for customer support personnel.

Drive0 s/n

The serial number of the HDD module in HDD slot 0.

This output is generally only useful for customer support personnel.

Drive1 s/n

The serial number of the HDD module in HDD slot 1.

This output is generally only useful for customer support personnel.

Drive0 capacity

The memory capacity of the HDD module in HDD slot 0, in gigabytes.

Drive1 capacity

The memory capacity of the HDD module in HDD slot 1, in gigabytes.

Drive0 (RAID STATUS)

The RAID status of the HDD module in HDD slot 0.

Outputs include:

  • On-line—The HDD module is online.

  • Off-line—The HDD module is offline.

    If the status is Off-line, verify that the HDD module is securely seated in its slot. If the HDD module is securely seated and you cannot identify the reason for this status, contact Juniper Networks customer support (JTAC).

  • Unknown—HDD module RAID status is unknown.

    If the status is Unknown, wait a few minutes then retry the test. If the status remains Unknown after the second test, contact Juniper Networks customer support (JTAC).

Drive1 (RAID STATUS)

The RAID status of the HDD module in HDD slot 1.

Outputs include:

  • On-line—HDD module is online.

  • Off-line—HDD module is offline.

    If the status is Off-line, verify that the HDD module is securely seated in its slot. If the HDD module is securely seated and you cannot identify the reason for this status, contact Juniper Networks customer support (JTAC).

  • Unknown—HDD module RAID status is unknown.

    If the status is Unknown, wait a few minutes then retry the test. If the status remains Unknown after the second test, contact Juniper Networks customer support (JTAC).

Number of partitions

The number of RAID memory partitions.

Size of Partitions

The size of each partition, in gigabytes.

RAID Status

The RAID status.

Outputs include:

  • Healthy—RAID is healthy.

  • Degraded—RAID has detected a problem with at least one HDD module.

    If Degraded appears in the RAID Status field, contact customer support.

  • Unknown—RAID status is unknown.

    If the status is Unknown, wait a few minutes then retry the test. If the status remains Unknown after the second test, contact Juniper Networks customer support (JTAC).

  • Rebuilding—The RAID is rebuilding.

    The output includes a drive number and a percentage complete indication.

    The RAID rebuilding process can take up to 40 minutes. Wait several minutes after the process has finished and then retry the test.

  • Verifying—The RAID is rebuilt and being verified by the system.

    The output includes a drive number and a percentage complete indication.

    The RAID verification process can take up to 40 minutes. Wait several minutes after the process has finished and then retry the test.

Sample Output

request chassis routing-engine hard-disk-test

content_copy zoom_out_map
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

request chassis routing-engine hard-disk-test (ACX Series)

content_copy zoom_out_map
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.
content_copy zoom_out_map
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.
content_copy zoom_out_map
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.

Release Information

Command introduced in Junos OS Release 12.1.

footer-navigation