Messages in this thread | | | Date | Fri, 28 Mar 2003 13:21:44 +1000 | From | Ron House <> | Subject | Re: hdparm and removable IDE? |
| |
Bill Davidsen wrote: > On 26 Mar 2003, Alan Cox wrote: > > >>IDE hotswap at drive level is not supported by Linux. It might work ok. >>Providing you shut the drive down fully and flush the cache before you >>unregister/unplug and replug before registering the new interface > > > There was a bunch of discussion of this, possibly on this list, and I > believe that the whole cable has to be unregistered or some such. I've > done it with only one drive on a cable, and it seemed to work. On the > other hand I was only playing.
Thanks Bill, I have read everything I can find in the archives, but am still confused as to what exactly is going on. My current understanding is:
On boot, Linux examines the ide drive for physical parameters. Then, mounting causes filesystem details to be loaded.
Now clearly, unmounting should undo mounting (or does the kernel keep something even here in memory for 'efficiency?). So is hdparm -U enough to undo the loading of physical parameters, and will hdparm -R reload them?
> I've seen some note regarding using ide-floppy for the whole drive instead > of the media, but I have never had the urge to try that. > > WARNING: removable and hot swapable bays are not the same, had a client > prove that to herself the hard way.
This device is claimed to be 'hot-swappable'. It has circuitry on board, which I presume does the necessary isolation and power down as claimed in the blurb.
As an aside, I am puzzled by statements that Linux `doesn't support' this. As far as I can see (and I acknowledge my relative ignorance, which is why I have appealed for help here), whatever is done at boot time can be done again later if conditions change, and it should be just a matter of my ascertaining exactly what must be done to achieve this. Or have I missed something very important (highly possible!)?
-- Ron House house@usq.edu.au http://www.sci.usq.edu.au/staff/house
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |