Re: IDE Hotswap Disks

From: Johannes Stezenbach
Date: Mon Aug 11 2003 - 12:17:25 EST


On Mon, Aug 11, 2003 at 05:20:13PM +0200, Flameeyes wrote:
> I've a rack for ide HDDs that claims to be hotswappable, in fact, I'm
> able to remove the disk without problems after unmount it.
> The problem is when I try to connect it after booting without it. The
> only way I have is rebooting (also with warm reboot) the machine, and
> then the kernel rescan the bus and see the new drive.
> I tried hdparm -R /dev/hdb (i'm using devfs, but also create the block
> device 0 64 do nothing), but it gave me "expected hwif_ctrl".
> There's a way to rescan the bus without reboot? I need to try with
> ide-scsi support?

The hdparm package includes a script which does that (idectl).
I used it sporadically with a Thinpad Ultrabay IDE disk and cdrom.


Johannes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/