[CentOS] SATA hotswap

Fri May 21 13:44:35 UTC 2010
m.roth at 5-cent.us <m.roth at 5-cent.us>

Jakub wrote:
>
> 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..

Not sure what you're supposed to echo, there. I learned, where I'm working
now, to use scsi-rescan-bus, which seems to work.

> Using CentOS 5.5, x86_64.
>
> Thanks for your ideas and replies ... and excuse my english please :)

There's nothing to excuse - it's better than some folks who allegedly
speak it as a native language (we'll leave out a former US president,
here....)

        mark