List Info

Thread: USB drive input / output error




USB drive input / output error
user name
2007-07-16 07:13:32
Hi,

I'm running NetBSD-current on an ARM based system.

I have a problem after disconnecting a USB drive while a
write operation is
active.

I do the following:
- mount the USB drive. (mount /dev/sd0c /mnt/disk")
- run dd to write some file to the disk. (dd if=/dev/zero
of=/mnt/disk/test_file")
- disconnect the disk while the write operation is in
progress.

>From that point, I cannot unmount the drive, or remount
it.
I get the following error: "umount: /mnt/disk:
Input/output error".

The USB drive is formatted with FFS.

The only way by which I can resolve this problem is by
restarting the
system.

How can I recover from this error without restarting the
system.

Thanks.

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )