raid_status

Last Updated : Apr 05, 2018 |
Use raid_status to display the server RAID (Redundant Array of Independent Disks) controller status.
Prolog information

Syntax

raid_status -c
raid_status -h
raid_status [-s | -v]
raid_status [-s | -v] -p
raid_status [-s | -v] -n
  
-c
Check for a possible HDD failure and log the failure in syslog.
-h
Display the help message..
-v
Verbose output, display all RAID Controller Data.
-n
Display the number of disk drives.
-s
(Default). Display physical disk drive data, short version.
-p
Display physical disk drive data. Use with -v or -s.
-p -s
(Default). Display short physical disk drive data.
-p -v
Display verbose physical disk drive data.
-n -s
(Default). Display short drive data 1, 2, or -1 (not sure).
-n -v
Display verbose (slot number) number drive data
-?
Display the help statement.

Description

raid_status -n displays the number of HDD’s detected. The return values are:
  • -1 - raid_status -n will return -1 when it is not clear if both hard drives are plugged in. If this occurs, enter raid_status -n -v or raid_status -p which displays if both hard drives are present or if one is marked as Failed.
  • Failed - If a hard drive is shown as Failed, the amber LED on the associated failed hard drive will either be flashing on a regular basis or solidly on. A hard drive may also be marked as Failed if it was pulled live.
  • Interim Recovery Mode - It is possible that a disk is bad or the server only has one HDD plugged into the server. To determine the server HDD state, enter raid_status -p -v or raid_status -n -v.
If raid_status -c is executed and a disk failure exists, the output will indicate the failed disk
Specifying the following options together is INVALID:
  • raid_status -v -s
  • raid_status -p -n
Note:
An unplugged HDD appears as a failed HDD to the RAID controller.