How to blink a sas drive light?

Alan Somers asomers at freebsd.org
Thu Oct 24 19:57:30 UTC 2013


You can either use sysutils/sg3_utils or ses(4).  Using ses(4), take a look at
l/usr/share/examples/ses/setencstat .  If you set the status for a
DEVICE or ARRAY_DEVICE element to something bad, then the SES
processor may decide to blink the error light.  It's up to the
firmware, though.

Using sg_ses from sg3_utils, you can set the FAULT REQSTD or IDENT bit
for a particular DEVICE or ARRAY DEVICE.  That is more likely to cause
it to blink, but again, it's up to the expander vendor.  Read the man
page for details.

To identify the slot where da19, resides, you can look at SES page 10.
 Using sg3_utils, do "sg_vpd -i da019" and find the SAS Address of the
offending drive.  Then do "sg_ses -p 10 /dev/ses0" and find the index
of the Element whose SAS address matches.

It will help to read the SES spec to understand all of the SES
configuration pages.
http://www.t10.org/members/w_ses3.htm

-Alan

On Thu, Oct 24, 2013 at 1:22 PM, Outback Dingo <outbackdingo at gmail.com> wrote:
> I need to replace a disk connected to a SAS expander also now, there are 44
> drives.
> How do i use this ses to determine the drive, can i make its light blink ??
>
> im getting
>
> da19:mps0:0:35:0 SCSI sense ABORTED COMMAND asc:44,0 (Internal target
> failure)
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"


More information about the freebsd-hackers mailing list