From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: "Lars Täuber" <taeuber@bbaw.de>
Cc: linux-scsi@vger.kernel.org
Subject: Re: MPTSAS: ("activate status led" | "find disc") in external enclosure
Date: Fri, 18 Apr 2008 09:29:05 -0500 [thread overview]
Message-ID: <1208528945.3063.7.camel@localhost.localdomain> (raw)
In-Reply-To: <20080418124104.9ca87130.taeuber@bbaw.de>
On Fri, 2008-04-18 at 12:41 +0200, Lars Täuber wrote:
> As some of you might already now I have to set up a (for us) bigger SAN with Linux.
> I'm simulating disc failure right now. To find a defective disc in the enclosure is unresolved yet.
> I already had a look at several web pages and searched for it but without luck.
>
> The manual of the enclosure says (PROMISE VTRAK J610S):
> -----------------------------------------------------------------------
> LEDs State
> | Dark | Steady Green | Flashing Green
> Power/Activity* | No Drive | Drive Present | Activity
> Status** | HBA/RAID controller determines the LED behavior
> [...]
> ** Refer to the user documentation for your HBA or RAID controller for this
> information.
> -----------------------------------------------------------------------
>
> Is there a standard way to lit the led in the enclosure with linux means or anything alike?
> The enclosure does not tell the serial numbers of the included disc.
> The HBA is an LSI SAS 3801X.
It depends on whether you have the HBA configured in RAID mode or not.
If you have, then it takes absolute control of the enclosure management
at the moment and I don't think you can get to it.
If you run the HBA as a pure SAS one, then the promise website says this
enclosure is ses2 compliant, so you should just be able to insert the
ses module and have enclosure management (2.6.24+ kernels). This relies
on the HBA exposing the enclosure device, but I think mptsas only eats
it for RAID configurations.
to see what's in the enclosure, just do
ls /sys/class/enclosure/*/
each of the subdirectories has a slot label (name taken from SES) to
locate the enclosure, just echo 1 to the locate file and it will flash
the lights. If it has a disk, there should be a device link in the slot
directory (might not be, this depends on ses working correctly and VPD
inquiries identifying the right disk).
James
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-04-18 14:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-18 10:41 MPTSAS: ("activate status led" | "find disc") in external enclosure Lars Täuber
2008-04-18 14:29 ` James Bottomley [this message]
2008-04-21 9:01 ` Lars Täuber
2008-04-21 15:16 ` James Bottomley
2008-04-22 7:18 ` Lars Täuber
2008-04-22 15:44 ` Moore, Eric
2008-04-23 8:11 ` Lars Täuber
2008-04-23 15:39 ` Moore, Eric
2008-04-22 16:12 ` James Bottomley
2008-04-23 7:55 ` Lars Täuber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1208528945.3063.7.camel@localhost.localdomain \
--to=james.bottomley@hansenpartnership.com \
--cc=linux-scsi@vger.kernel.org \
--cc=taeuber@bbaw.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox