Description:
The article will guide you how to check hard drive healthy. In this article, we use the MicroSemi RAID card as example. You can use arcconf CLI commands to get information.
Target Audience:
People who have basic knowledge of Linux, RAID and how to run CLI command in a Linux shell.
Requirement:
Environment with available MicroSemi RAID card and please download arcconf utility from MicroSemi web site: (Please follow the SLA from MicroSemi)
Step:
- Download the arcconf utility and use the suitable arcconf command on OS, switch to root mode and run the command in Linux mode.
- Check the controller number.
# ./arcconf list
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller ID : Status, Slot, Mode, Name, SerialNumber, WWN
----------------------------------------------------------------------
Controller 1: : Optimal, Slot 5, Mixed, ADV Adaptec ROC-8i, Unknown, 50123456789ABC00
Command completed successfully.
- List available Logical device information only .
# ./arcconf getconfig 1 LD
Controllers found: 1
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical Device number 0
Logical Device name : os
Disk Name : /dev/sdi
Block Size of member drives : 512 Bytes
Array : 0
RAID level : 1
Status of Logical Device : Optimal
Size : 244162 MB
Stripe-unit size : 256 KB
Full Stripe Size : 256 KB
Interface Type : SATA SSD
Device Type : Data
Boot Type : None
Heads : 255
Sectors Per Track : 32
Cylinders : 61280
Caching : Disabled
Mount Points : /,/var/lib/kubelet/pods/32116b3d-19ff-48b2-99b2-62238f345569/volume-subpaths/queries/prometheus-postgres-exporter/0,/var/lib/kubelet/pods/be082dd4-1419-4279-a64e-b453fc248343/volume-subpaths/queries/prometheus-postgres-exporter/0,/var/lib/kubelet/pods/e3201c9d-de79-4502-82e1-2360a9d622af/volume-subpaths/configmap/ems-ac-control-dev/0,/var/lib/kubelet/pods/e3201c9d-de79-4502-82e1-2360a9d622af/volume-subpaths/configmap/ems-ac-control-dev/1 244161 MB Partition Number 1
LD Acceleration Method : SSD IO Bypass
Volume Unique Identifier : 600508B1001C8D13BDE492B443BFAE96
--------------------------------------------------------
Array Physical Device Information
--------------------------------------------------------
Device 8 : Present (244198MB, SATA, SSD, Connector:CN0, Enclosure:1, Slot:0) 20512C17318A
Device 9 : Present (244198MB, SATA, SSD, Connector:CN0, Enclosure:1, Slot:1) 20512C173180
- List Physical device information only and filter the keyword of "state" & "Array".
# ./arcconf getconfig 1 PD | grep -i 'state\|Array'
State : Predictive Failure
Array : 0
State : Predictive Failure
Array : 0
State : Online
Array : 1
State : Online
Array : 1
State : Ready
State : Ready
State : Ready
State : Ready
State : Ready
State : Ready
State : Ready
State : Ready
- Identify the location of Predictive Failure HD. refer to following link for more information.
How to check HDD LEDs in RAID mode with arcconf under Linux ?
# ./arcconf IDENTIFY 1 ARRAY 0
Controllers found: 1
Only devices managed by an enclosure processor may be identified
The specified device(s) is/are blinking.
Press any key to stop the blinking.
Command completed successfully.
- Percent Lifetime Remaining threshold definition
- Predictive Failure trigger if reach to threshold
# arcconf getsmartstats 1 tabular | grep -i 0XCA -B1 -A6
Attribute
id ............................................. 0xCA
name ........................................... Data Address Mark Errors
normalizedCurrent .............................. 0
normalizedWorst ................................ 0
thresholdValue ................................. 1
rawValue ....................................... 100
Status ......................................... OK
Comments
0 comments
Please sign in to leave a comment.