Diagnostic tools for external hard drives?

[ Available lists | Index of freebsd-stable | Month of Mar 2005 | Week of 12 Mar 2005 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Date
12 Mar 2005 20:54:10
Subject
Diagnostic tools for external hard drives?
Message-ID
20050312215400.08a664a7.torfinn.ingolfsen@broadpark.no


[ Hide this part ]
Hello,

Does FreeBSD (stable) have any tools that I can use to run diagnostics
on an external hard drive?

I have a Maxtor One Touch 250GB external hard drive (the one with both
USB and Firewire connectors). This is connected to my FreeBSD 5-stable
machine with firewire.

>From /var/log/messages:
Mar 12 21:29:38 kg-work kernel: da1 at sbp0 bus 0 target 1 lun 0
Mar 12 21:29:38 kg-work kernel: da1: <Maxtor OneTouch 0000> Fixed Direct
Access SCSI-4 device
Mar 12 21:29:38 kg-work kernel: da1: 50.000MB/s transfers
Mar 12 21:29:38 kg-work kernel: da1: 239371MB (490232832 512
byte sectors: 255H 63S/T 30515C)

Today the drive suddenly stopped working, and when I try to mount it now
it says:
root@kg-work# mount /dev/da1s1e /mnt
mount: /dev/da1s1e: Input/output error

In /var/log/messages I see lots of error messages
(see attached file).

Maxtor have a (Windows-only) tool that will do diagnostics, but only on
"One Touch II" drives, not on those who are only "One Touch".
So any tool I can use under FreeBSD will help. The drive is still under
warranty, so I will not open it (yet).

Any hints appreciated.
--
Regards,
Torfinn Ingolfsen,
Norway




[ Hide this part ]
Mar 12 21:48:26 kg-work kernel: (da1:sbp0:0:1:0): SCSI Status: Check Condition
Mar 12 21:48:26 kg-work kernel: (da1:sbp0:0:1:0): MEDIUM ERROR asc:4b,0
Mar 12 21:48:26 kg-work kernel: (da1:sbp0:0:1:0): Data phase error
Mar 12 21:48:26 kg-work kernel: (da1:sbp0:0:1:0): Retrying Command (per Sense Data)
Mar 12 21:48:27 kg-work kernel: (da1:sbp0:0:1:0): READ(10). CDB: 28 0 0 0 0 4f 0 0 10 0
Mar 12 21:48:27 kg-work kernel: (da1:sbp0:0:1:0): CAM Status: SCSI Status Error
Mar 12 21:48:27 kg-work kernel: (da1:sbp0:0:1:0): SCSI Status: Check Condition
Mar 12 21:48:27 kg-work kernel: (da1:sbp0:0:1:0): MEDIUM ERROR asc:4b,0
Mar 12 21:48:27 kg-work kernel: (da1:sbp0:0:1:0): Data phase error
Mar 12 21:48:27 kg-work kernel: (da1:sbp0:0:1:0): Retries Exhausted



Elapsed time: 0.112 seconds