> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
> boun...@opensolaris.org] On Behalf Of Anonymous Remailer (austria)
> I have a desktop system with 2 ZFS mirrors. One drive in one mirror is
> starting to produce read errors and slowing things down dramatically. I
> detached it and the system is running fine. I can't tell which drive it is
> though! The error message and format command let me know which pair the
> bad
> drive is in, but I don't know how to get any more info than that like the
> serial number etc. to know which disk it is. Is there a command to do
> All it shows is a 500G WD drive producing read errors and format shows
> identical info for both of the 500G WD drives.

A few things you could do...

This will read for 1 second, then pause for one second.  Hopefully making a
nice consistent blinking light for you to find in your server.
export baddisk=/dev/rdsk/cXtYdZ
while true ; do dd if=$baddisk of=/dev/null bs=1024k count=128 ; sleep 1 ;

But if you don't have lights or something...
The safest thing for you to do is to zpool export, then shutdown, remove one
disk.  Power on, devfsadm -Cv, and try to zpool import -a
When the bad disk is gone, you'll be able to import no problem.
If you accidentally pull the wrong disk, it will not cause any harm.  Pool
will refuse to import.

zfs-discuss mailing list

Reply via email to