public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: joystick <joystick@shiftmail.org>
To: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: How to reset a single drive?
Date: Tue, 13 Mar 2012 17:44:35 +0100	[thread overview]
Message-ID: <4F5F7973.7000007@shiftmail.org> (raw)

Hello,
it just happened that there was an unresponsive HDD in the system (a WD 
RE3 1TB SATA drive).
Multiple reboots of the machine (not poweroffs) did not revive it, and 
the server did not create a /dev device for it on subsequent reboots. So 
I thought it had failed.
But when I tried removing and inserting it in another hot-swap slot it 
started working again. After reinserting it in the original slot also it 
was working.
Probably a poweroff of the server would also have revived it.
FWIW: smartctl -x tells no error is logged by the drive.
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.

Thanks for suggestions
J.

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

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

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=4F5F7973.7000007@shiftmail.org \
    --to=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