Re: Testing In RAID Array (MegaRaid)

"G McAlister" <[email protected]> Tue, 16 Feb 2016 18:32:33 -0000
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
My set up is similar to yours except that I have a 3ware 9690SA RAID card.

 

I found that the port numbers were NOT persistent across reboots (WTF?), so I had to write a script (available on request) to re-generate smartd.conf on boot (smartctl –scan doesn’t get you the port numbers).

 

My smartd.conf entries look like this:

/dev/twa0 -d 3ware,12 -H -l selftest -l error -s (O/../.././(00|06|12|18)|S/../.././01|L../../5/01) -m [email protected]

/dev/twa0 -d 3ware,13 -H -l selftest -l error -s (O/../.././(00|06|12|18)|S/../.././01|L../../5/01) -m [email protected]

/dev/twa0 -d 3ware,15 -H -l selftest -l error -s (O/../.././(00|06|12|18)|S/../.././01|L../../5/01) -m [email protected] <mailto:[email protected]> 

 

Good luck,

Graham.

 

From: Chuck Charleston [mailto:[email protected]] 
Sent: 16 February 2016 16:15
To: [email protected]
Subject: [smartmontools-support] Testing In RAID Array (MegaRaid)

 

Hi All,

 

Just started researching about Raid / disk monitoring and I seem to be finding a mix of conflicting and outdated data for my setup.

 

Server is running 4 x Intel SSD behind a MegaRaid Controller. I am trying to configure smartd to to run daily short tests and once a week on Sunday at midnight a long test on each drive.

 

I see this example:

 

#/dev/sdc -d 3ware,0 -a -s L/../../7/01

#/dev/sdc -d 3ware,1 -a -s L/../../7/02

#/dev/sdc -d 3ware,2 -a -s L/../../7/03

#/dev/sdc -d 3ware,3 -a -s L/../../7/04

 

Which would be suitable so something like

 

#/dev/twa -d sat+megaraid,4 -a -s L/../../7/01 -m [email protected] <mailto:[email protected]> 

#/dev/twa -d sat+megaraid,5 -a -s L/../../7/02

#/dev/twa -d sat+megaraid,6 -a -s L/../../7/03

#/dev/twa -d sat+megaraid,7 -a -s L/../../7/04

 

 

Does that look somewhat correct? I am still researching the other flags so I know what to add for when it should send me an e-mail.

 

Here are some outputs from my server:

 

 

root@s1 [~]# MegaCli -PDList -aAll | egrep 'Slot\ Number|Device\ Id|Inquiry\ Data|Raw|Firmware\ state' | sed 's/Slot/\nSlot/g'

 

Slot Number: 0

Device Id: 6

Raw Size: 745.211 GB [0x5d26ceb0 Sectors]

Firmware state: Online

Inquiry Data: BTWH509503MB800CGN  INTEL SSDSC2BB800H4                     D2010380

 

Slot Number: 1

Device Id: 7

Raw Size: 745.211 GB [0x5d26ceb0 Sectors]

Firmware state: Online

Inquiry Data: BTWH509602D3800CGN  INTEL SSDSC2BB800H4                     D2010380

 

Slot Number: 2

Device Id: 5

Raw Size: 745.211 GB [0x5d26ceb0 Sectors]

Firmware state: Online

Inquiry Data: BTWH5096026M800CGN  INTEL SSDSC2BB800H4                     D2010380

 

Slot Number: 3

Device Id: 4

Raw Size: 745.211 GB [0x5d26ceb0 Sectors]

Firmware state: Online

Inquiry Data: BTWH509504CR800CGN  INTEL SSDSC2BB800H4                     D2010380

 

 

root@s1 [~]# lsblk

NAME           MAJ:MIN    RM    SIZE RO TYPE MOUNTPOINT

sda              8:0       0    1.5T  0 disk

├─sda1           8:1       0 1004.5K  0 part

├─sda2           8:2       0   39.1G  0 part /

├─sda3           8:3       0    1.4T  0 part /home

└─sda4           8:4       0      8G  0 part [SWAP]

loop0            7:0       0      3G  0 loop /tmp

 

 

Regards,

Chuck

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
smime.p7s (application/pkcs7-signature, 4.7 KB) - not displayed