|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
External HDD error messages - drive failing?
Recently whenever I use my external USB hard drive on OpenBSD, I've been getting messages like "Input/Output error" whenever I copy files from it to my laptop. Also when I tried to mount it I get the error "No medium found" and "Device busy" or something like that. The drive is formatted in OpenBSD partition. Does this mean the drive is failing and I should back it up ASAP?
|
|
|||
Also when I try to newfs:
# newfs sd1a Device busy When I unplug it and re-plug it back into the USB port, it no longer sees the drive. In dmesg it doesn't show sd1 as being plugged in when usually it shows as being unplugged then plugged back in. I have to reboot to plug it in again. |
|
|||
Is the drive still mounted? If sd1a is still in the output of df(1) before issuing the newfs(8) command, this would explain the "device busy" message. newfs(8) will neither work, nor should it, on drives which are already mounted.
Quote:
Although USB devices can be attached & reattached at will, storage devices still have to be manually mounted/unmounted unless you have set up amd(8). Given the direction of discussion, I tend to doubt you have this in place. |
|
|||
No the drive is not mounted, because I cannot mount it. Like I said, when I reboot, plug in my drive, and try to "sudo mount /dev/sd1a /mnt/ext1/" I get a device busy error. df does not show the drive.
|
|
|||
The firmware won't attach as a USB device if the internal ATA device is experiencing errors, usually.
However it is possible that the enclosure is having it's own problems, you might want to open it up and look for possible loose cables, maybe installing it locally in a machine and checking if any errors show up. You might also want to attempt using it on another OS, if you happen to have any, as it could be a problem with OpenBSD's USB stack.. check out a snapshot as well. Also, had newfs of succeeded.. your partition would have been wiped it out, you realize this, right? |
|
|||
Quote:
when I plug in a USB printer or storage device, I can see what the /dev/ entry is and if the connection is reliable (I had a dodgy/damaged USB port which kept disconnecting/connecting). |
|
|||
Quote:
|
|
||||
From your description, and only your description, you do not have an electronic connection to your USB device.
Confirm this by watching the console, using tail(1) with /var/log/messages, or xconsole(8). Did you forget a power cord? Some external USB drives need external power, or 2 USB connections to draw sufficient power. If it isn't power, then you may have a failiure of USB in the external drive, cabling, port, or internal to your workstation. |
|
|||
It's been working fine until yesterday for some unknown reason. I use it to listen to music mostly and it started going haywire even though I (don't think I did) made any changes to it.
|
|
||||
Lots of possibilities:
Unplugged power cord Unplugged 2nd USB connector External device power switched off Missed message in /var/log/messages USB disabled in BIOS Failed electronics in external device Failed electronics in workstation Bad connector either end Bad cable Choose one or more. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
errors re-mounting external drive | amorphousone | OpenBSD General | 3 | 12th March 2010 05:34 PM |
looking for external drive buy suggestions | gosha | General Hardware | 20 | 5th September 2009 05:32 AM |
Problem Installing From External DVD Drive | jimnms | OpenBSD Installation and Upgrading | 8 | 16th July 2009 07:12 PM |
WD Passport Portable external drive | Beastie | General Hardware | 7 | 25th April 2009 12:50 PM |
error messages | delboy | FreeBSD Ports and Packages | 16 | 6th June 2008 01:31 PM |