Skip to contentSkip to conversation

hot-swap ide disk.

DISCUSSION Andrey Nekrasov 2 participants 2 messages Apr 24, 2003

lore
Share & tools
lore
#0 lore raw

Hello.

There is a way to give command kernel to re-read parameters of the hard disk (mbr/etc)?

Hard drive IDE, kernel 2.4.20, no modules support.

May be in /proc/... ?

bye.

#1 lore raw
Quoted 8 lines · Andrey Nekrasov

Hello.

There is a way to give command kernel to re-read parameters
of the hard disk (mbr/etc)?

Hard drive IDE, kernel 2.4.20, no modules support.

May be in /proc/... ?

hdparm can unregister and re-register an entire IDE channel, at which point the channel gets re-scanned. The hdparm source comes with an "idectl" script that makes this easy.

Don't know about individual IDE devices, though. My understanding is, it's all or nothing--IDE registration applies to an entire channel. Also don't know how well Linux handles serial ATA.

Signature · 3 lines
Kelledin
"If a server crashes in a server farm and no one pings it, does 
it still cost four figures to fix?"