Skip to contentSkip to conversation

IDE Hotswap Disks

DISCUSSION Flameeyes 3 participants 3 messages Aug 11, 2003 – Aug 12, 2003

lore
Share & tools
lore

Flameeyes

author
#0 lore raw

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.

Signature · 1 line
Flameeyes <[email protected]>
#1 lore raw
Quoted 9 lines · Flameeyes

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

#2 lore raw
Quoted 2 lines · Johannes Stezenbach

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