How to check Smartctl error for megaraid controller

0

Smartctl check for megaraid controller

To display the SCSI devices currently attached to the server

cat /proc/scsi/scsi

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: ST4000DM000-1F21 Rev: CC52
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 00 Lun: 00
Vendor: Optiarc Model: DVD RW AD-7710H Rev: 1.01
Type: CD-ROM ANSI SCSI revision: 05
Host: scsi6 Channel: 00 Id: 00 Lun: 00
Vendor: LSI Model: 9750-4i DISK Rev: 5.12
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi6 Channel: 00 Id: 00 Lun: 01
Vendor: LSI Model: 9750-4i DISK Rev: 5.12
Type: Direct-Access ANSI SCSI revision: 05

RAID volumes in this example are marked by the string “Vendor: LSI”.

Access to hard disks with smartctl. These can be displayed via the StorCLI

# storcli /c0/vall show
Controller = 0
Status = Success
Description = None
Virtual Drives :

——————
DG/VD TYPE State Access Consist Cache sCC Size Name
———————————————————-
0/0 RAID10 Optl RW Yes NRWTD – 3.633 TB
———————————————————-
# storcli /c0 /eall /sall show
Controller = 0
Status = Success
Description = Show Drive Information Succeeded.
Drive Information :

—————————————————————————
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp
—————————————————————————
252:0 10 Onln 0 930.390 GB SATA HDD N N 512B ST1000DM003-9YN162 U
252:1 11 Onln 0 930.390 GB SATA HDD N N 512B ST1000DM003-9YN162 U
252:2 9 Onln 0 930.390 GB SATA HDD N N 512B ST1000DM003-9YN162 U
252:3 8 Onln 0 930.390 GB SATA HDD N N 512B ST1000DM003-9YN162 U
252:4 12 Onln 0 930.390 GB SATA HDD N N 512B ST1000DM003-9YN162 U
252:5 14 Onln 0 930.390 GB SATA HDD N N 512B ST1000DM003-9YN162 U
252:6 13 Onln 0 930.390 GB SATA HDD N N 512B ST1000DM003-9YN162 U
252:7 15 Onln 0 930.390 GB SATA HDD N N 512B ST1000DM003-9YN162 U
—————————————————————————

For I SCSI/SAS disks behind LSI MegaRAID controllers, the smartctl check syntax is given below. Argument megaraid,N, the integer N is the physical disk number within the MegaRAID controller.

smartctl -a -d megaraid,N /dev/sda

smartctl -a -d megaraid,4 /dev/sdb

For SATA disk, use the following syntax

smartctl -a -d sat+megaraid,N /dev/sda

=-=-=-=-=-=

smartctl check on Adaptec RAID Controllers

0

smartctl check on Adaptec RAID Controllers

SATA Health Check Disk Syntax

# smartctl -d sat –all /dev/sgX
# smartctl -d sat –all /dev/sg1

Run test:

# smartctl -d sat –all /dev/sg1 -H

For SAS disk use the following syntax:

# smartctl -d scsi –all /dev/sgX
# smartctl -d scsi –all /dev/sg1
# smartctl -d scsi –all /dev/sg1 -H

Replace /dev/sg1 with your disk number. If you’ve raid 10 array with 4 disks than:

/dev/sg0 – RAID 10 controller (you will not get any info or /dev/sg0).
/dev/sg1 – First disk in RAID 10 array.
/dev/sg2 – Second disk in RAID 10 array.
/dev/sg3 – Third disk in RAID 10 array.
/dev/sg4 – Fourth disk in RAID 10 array.

How to check Areca Technology RAID Controller status

0

How to check Areca Technology RAID Controller status

Areca Technology Corp. ARC-1110 4-Port PCI-X to SATA RAID Controller

You can download the Areca-supported driver from the following link http://www.areca.com.tw/support/s_linux/linux.htm

root@ [~]# ./cli32

Copyright (c) 2004-2009 Areca, Inc. All Rights Reserved.
Areca CLI, Version: 1.83, Arclib: 290, Date: Nov 2 2009( Linux )

S # Name Type Interface
==================================================
[*] 1 ARC-1110 Raid Controller PCI
==================================================

CMD Description
==========================================================
main Show Command Categories.
set General Settings.
rsf RaidSet Functions.
vsf VolumeSet Functions.
disk Physical Drive Functions.
sys System Functions.
net Ethernet Functions.
event Event Functions.
hw Hardware Monitor Functions.
mail Mail Notification Functions.
snmp SNMP Functions.
ntp NTP Functions.
exit Exit CLI.
==========================================================

CLI> disk info
# Ch# ModelName Capacity Usage
===============================================================================
1 1 WDC WD1002FAEX-00Y9A0 1000.2GB Raid Set # 00
2 2 ST31000340NS 1000.2GB Raid Set # 00
3 3 ST31000440NS 1000.2GB Raid Set # 00
4 4 ST31000640NS 1000.2GB Raid Set # 00
===============================================================================
GuiErrMsg: Success.

CLI> vsf info
# Name Raid Name Level Capacity Ch/Id/Lun State
===============================================================================
1 ARC-1110-VOL#00 Raid Set # 00 Raid1+0 2000.0GB 00/00/00 Normal
===============================================================================
GuiErrMsg: Success.

How to check Hard Disk Temperature using smartd tool

0

How to check Hard Disk Temperature using smartd tool

Command to check temperature in 3ware raid

# smartctl -a -d 3ware,0 /dev/twl0 | grep -i temperature

Output result :-

190 Airflow_Temperature_Cel 0x0022 067 059 045 Old_age Always – 33 (Min/Max 26/38)
194 Temperature_Celsius 0x0022 033 041 000 Old_age Always – 33 (0 21 0 0 0)

# smartctl -a /dev/sda | grep -i temperature
Current Drive Temperature: 30 C
Drive Trip Temperature: 25 C

How to check 3ware SCSI RAID Controllers status

1

How to check 3ware SCSI RAID Controllers status

smartctl -a -d 3ware,N /dev/tweY
smartctl -a -d 3ware,N /dev/twaY

[root@]# tw_cli info

Ctl Model (V)Ports Drives Units NotOpt RRate VRate BBU
————————————————————————
c0 9750-8i 8 8 1 0 1 1 –

Output result:

[root@]# tw_cli info c0

Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
——————————————————————————
u0 RAID-10 VERIFYING – 67% 256K 7450.54 RiW ON

VPort Status Unit Size Type Phy Encl-Slot Model
——————————————————————————
p0 OK u0 1.82 TB SATA 0 – ST32000695NS
p1 OK u0 1.82 TB SATA 1 – ST32000695NS
p2 OK u0 1.82 TB SATA 2 – ST32000695NS
p3 OK u0 1.82 TB SATA 3 – ST32000695NS
p4 OK u0 1.82 TB SATA 4 – ST32000695NS
p5 OK u0 1.82 TB SATA 5 – ST32000695NS
p6 OK u0 1.82 TB SATA 6 – ST32000695NS
p7 OK u0 1.82 TB SATA 7 – ST32000695NS

To view smart information about the hard disk behind 3Ware RAID card, enter the following command

Here the controller is 9750-8i

# smartctl -a -d 3ware,0 /dev/twl0
# smartctl -a -d 3ware,1 /dev/twl0

Please note typically /dev/twa0 refers to the first 9000-series controller, /dev/twa1 refers to the second 9000 series controller, and so on. Likewise /dev/twe0 refers to the first 6/7/8000-series controller, /dev/twa1 refers to the second 6/7/8000 series controller.

Reference : http://www.cyberciti.biz/faq/unix-linux-freebsd-3w-9xxx-smartctl-check-hard-disk-command/