Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2013 13:57:28 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Outback Dingo <outbackdingo@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: How to blink a sas drive light?
Message-ID:  <CAOtMX2ivY5zEWVvhSvw9To4081Q%2BSSLiyhxru1zQfMNtEn9Shw@mail.gmail.com>
In-Reply-To: <CAKYr3zxV%2BSN6u9T3G4pDHDAa0yeKciDRMDjJ7N6kor-Rbg=CUw@mail.gmail.com>
References:  <CAKYr3zxV%2BSN6u9T3G4pDHDAa0yeKciDRMDjJ7N6kor-Rbg=CUw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2ivY5zEWVvhSvw9To4081Q%2BSSLiyhxru1zQfMNtEn9Shw>