At Fri, 21 May 2010 15:38:44 +0200 CentOS mailing list centos@centos.org wrote:
Hi all,
I changed a bad disk (automaticly disabled from software raid1 and system for I/O error) in one of our servers and now have problem with adding new one to system without reboot. Does anybody have an experience with this? Or is it possible? :) We're using hotswap AXX6DRV3G for 6 SATA disks from Intel connected directly to MB (S5520HC from Intel too). There is AHCI as driver (enabled in bios), no HW raid. I found, something like that
echo "0 0 0" >/sys/class/scsi_host/host<n>/scan
but it found only sda disk which is already running.. Using CentOS 5.5, x86_64.
Thanks for your ideas and replies ... and excuse my english please :)
I didn't need to do anything special when inserting disks into my (cheap) 4x 2.5" SATA hot swap bay. Just inserted the drive and the HAL/udev deamon pick it up all on its own. My motherboard is a nVidia-based:
00:09.0 SATA controller: nVidia Corporation MCP78S [GeForce 8200] AHCI Controller (rev a2)
And I am using the AHCI driver. CentOS 5.4, x86_64 (xen).
It could be that the SATA controller on your motherboard does not support hotswap detection (not all AHCI controllers support hotswap detection).