2003-08-11 15:19:32

by Flameeyes

[permalink] [raw]
Subject: IDE Hotswap Disks

Hi,
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?

TIA.
--
Flameeyes <[email protected]>


2003-08-11 17:10:55

by Johannes Stezenbach

[permalink] [raw]
Subject: Re: IDE Hotswap Disks

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

2003-08-12 14:35:10

by Alan

[permalink] [raw]
Subject: Re: IDE Hotswap Disks

On Llu, 2003-08-11 at 18:04, Johannes Stezenbach wrote:
> The hdparm package includes a script which does that (idectl).
> I used it sporadically with a Thinpad Ultrabay IDE disk and cdrom.

I'm working on adding proper support for this in the 2.4-ac tree at the
moment