kei...@strucktower.com wrote:
> keith@t520:~/evesdb4/mp3/misc$cp -vr /media/cdrom0/*.mp3 ./
> `/media/cdrom0/01 Zephyr & I.mp3' -> `./01 Zephyr & I.mp3'
> cp: reading `/media/cdrom0/01 Zephyr & I.mp3': Input/output error
> cp: failed to extend `./01 Zephyr & I.mp3': Input/output error
> `/media/cdrom0/01 All I Want To Do.mp3' -> `./01 All I Want To Do.mp3'
> cp: reading `/media/cdrom0/01 All I Want To Do.mp3': Input/output error
> cp: failed to extend `./01 All I Want To Do.mp3': Input/output error

Anytime I see "Input/Output error" my eyes go white and I look for a
hardware failure.

Are you sure your disk is operating okay?  It could very well be that
your disk is throwing I/O errors indicating a hardware fault.

Look in /var/log/syslog and see if the kernel is also logging errors.
If it is then the problem is likely not software but a failing disk
drive.

One of the problems with usb enclosures are that they tend to be
inexpensive (read as cheap), tend to get hot, tend to not report
errors correctly, tend to take a lot of abuse, and tend to die early.
More than once I have had the usb controller die with an okay disk.  I
have pulled the drive out and placed the drive into a different
enclosure or just install it inside a deskside case and it will be
fine.  And of course the other way around with the disk dying also
often happens.

Typically cheap usb enclosures do now allow SMART data to be read from
the drive.  But some of the more recent models do allow SMART data to
be read.  If yours is one of the nicer ones then you will be able to
read the SMART data and get more information about your disk.

  # smartctl -i /dev/sdg  # <-- use whatever is the right disk device

If SMART is available to you then:

  # smartctl -l error /dev/sdg
  # smartctl -a /dev/sdg
  # smartctl -t short /dev/sdg
  # sleep 60
  # smartctl -l selftest /dev/sdg

Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to