public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Emmanuel Florac <eflorac@intellique.com>
To: joystick <joystick@shiftmail.org>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: How to reset a single drive?
Date: Tue, 13 Mar 2012 19:33:07 +0100	[thread overview]
Message-ID: <20120313193307.5da0895d@harpe.intellique.com> (raw)
In-Reply-To: <4F5F7973.7000007@shiftmail.org>

Le Tue, 13 Mar 2012 17:44:35 +0100
joystick <joystick@shiftmail.org> écrivait:

> It could also have been a controller glitch maybe?
> 
> For a future time, I know there are SCSI reset messages which can be 
> sent to various things in the path to the drive. Could someone teach
> me how to send a reset message to the controller card, to a slot
> and/or to a drive, from bash?
> Or any other suggestion for reviving a slot / drive which do not
> imply powering off the machine?
> 
> Our controller is LSI 6201-16i. No SAS expanders. I am able to
> determine the phy port number of the unresponsive drive.

You're out of luck here. Usually removing the driver (rmmod mpt_sas) is
the best you can do, it almost always force a complete scsi bus reset
and rescan, but that obviously won't do anything more than a reboot. Of
course you could try to force the drive offline, then online with
MegaCli:

MegaCli -PDOffline -PhysDrv [E:S] -aN
MegaCli -PDOnline -PhysDrv [E:S] -aN

Or you could try a controller scan:

MegaCli -CfgForeign -Scan -aALL 

You're obviously either got an LSI firmware bug or a drive
firmware bug. The fact that several reboots and therefore controller
firmware restarts occured makes me thing that's the drive.  WD SATA
drives are notoriously complete sh*te in professional environment and
love living their life by themselves, out of RAID arrays.

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------
--
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

      reply	other threads:[~2012-03-13 18:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-13 16:44 How to reset a single drive? joystick
2012-03-13 18:33 ` Emmanuel Florac [this message]

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=20120313193307.5da0895d@harpe.intellique.com \
    --to=eflorac@intellique.com \
    --cc=joystick@shiftmail.org \
    --cc=linux-scsi@vger.kernel.org \
    /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