I'm having a few problems with external USB-2 hard drives on 6.0. I think these are essentially kernel issues, but I'd like to know if there are any work-rounds - any kernel experts out there?
The core of the problem seems to be that when a USB drive is unplugged, although the device is detached at the USB level, the SCSI device is not detached. So if, for example, you then plug in another drive of different size, the kernel thinks the drive geometry is still that of the original drive. You can see this by trying fdisk.
So although hot-swapping a drive basically works - i.e. you can access the data on the new drive - once the drive has been swapped things get a bit unstable, and eventually access to the drive is lost. The logs show that the USB driver has given up and in fact detached. The drive won't then reconnect without re-booting - total PITA

I suspect the issues are connected, and Ithink that both could be worked round if there was a way to force a SCSI device detach after unplugging the USB. I don't care if it's a manual operation (I have to unmount the drive manually anyway), but I don't know if this can be done from application level. Any suggestions?
It seems that later Linux kernels have cleaned up quite a few USB bugs, a lot are supposedly fixed in 2.4-22, just a pity SME is only 2.4-18.

Although I started using these drives on 5.6, and I'm sure that version was more reliable than 6.0 with USB.
Any thoughts and ideas welcome.
TIA