Recovering from USB mass storage corruption without rebooting



I've got an Archos GMini MP3 player (USB mass storage) and it seems to
be virtually impossible to copy more than a couple of albums' worth of
music on to it in one go without getting "I/O errors" and its FS getting
corrupted.

Often after this, Linux refuses to recreate /dev/sd* devices for it even
if I unplug it, wait for it to update its file list and power cycle it
before plugging it back in. I have to reboot the PC to get the player's
sd devices back again to fsck it and have another attempt at copying
files. I presume udev, HAL or whatever have temporarily blacklisted it
because of the errors, but ISTR having tried restarting them once in the
past, to no avail. Is there any way to clear whatever is stopping Linux
from recognising it properly without rebooting?

--
TH * http://www.realh.co.uk

.



Relevant Pages