Chuck Charleston
9 years ago
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 ***@example.com
#/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:
***@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
***@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
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 ***@example.com
#/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:
***@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
***@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