Testing In RAID Array (MegaRaid)

Chuck Charleston <[email protected]> Tue, 16 Feb 2016 11:15:08 -0500
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <CAONUqVkNgFm+c3KpyOkLseEzFNzyy+WRkiVUrs=Zhh1bxyzbtw@mail.gmail.com>
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]
#/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