> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of Evaldas Auryla > > Is there an easy way to map these sas-addresses to the physical disks in > enclosure ?
Of course in the ideal world, when a disk needs to be pulled, hardware would know about it, and hardware would blink the light red. But that doesn't always happen (that's half the point of ZFS. Detecting problems that hardware didn't detect.) Whenever I've had to do this, I would do something like this: First, offline the failed disk. So its lights will stay off. Then, if you'd really like to be sure, do something like this: while true ; do dd if=/dev/rdsk/c0t0d0 of=/dev/null bs=1024k count=8192 ; sleep 1 ; done I chose count=8192, because I figure that will put the light on for about a second. And then sleep for a second. So you get a nice steady 1-second blink happening, and that should help identify the right drive. If you have drives that don't have individual lights on them ... Well, you're basically boned. You would want to export, disconnect one at random, try to import, and see which disk is missing. Etc. _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss