1 |
On Thursday 20 December 2007, Stroller wrote: |
2 |
> I haven't done much digging yet, but thought a quick show of hands |
3 |
> here might save some time. It looks like the SCSI hot-swap / RAID |
4 |
> controller uses an AMI / LSI MegaRAID driver which is (?) part of the |
5 |
> main kernel - anyone know if that does status updates (dead-hard |
6 |
> drives &c) to the syslog? Does it depend on any userland utilities |
7 |
> that are only available as RPM or whatever? |
8 |
I maintain a few Poweredges, I think mostly 2950. Just yesterday we swapped a |
9 |
drive on the Fusion MPT SAS controller. We were prompted to take the drive |
10 |
out of service by an email from 'smartd'. I couldn't find any evidence of |
11 |
bad sectors or I/O timeouts in /var/log/messages, so this must be the SMART |
12 |
prefailure it purported to be in the email. In /etc/smartd.conf I use: |
13 |
DEVICESCAN -H -l error -l selftest -t -I 194 -W 5,45,48 -R 5 -R 194 -R 231 -m |
14 |
alerts@××××××××.com |
15 |
|
16 |
After failing and removing the drive from the array using 'mdadm', we tried |
17 |
hotswapping the drive, and whilst nothing untoward happened when we pulled |
18 |
the drive there were no kernel messages either. I was expecting something |
19 |
similar to when I've hotplugged SATA drives on my desktop machine. We had to |
20 |
reboot the server to get it to see the replacement drive. Perhaps there's |
21 |
some /proc/ or /sys/ setting to trigger a rescan of the SCSI bus, but I |
22 |
couldn't find it. |
23 |
|
24 |
Other than those oddities the drive swap went well. |
25 |
|
26 |
Cheers, |
27 |
Steve. |