All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Small <tim@buttersideup.com>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: Daniel Pittman <daniel@rimspace.net>,
	linux-raid@vger.kernel.org,
	"linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: Re: mapping ataXX.YY to a /dev/sdX
Date: Thu, 08 Jul 2010 11:05:48 +0100	[thread overview]
Message-ID: <4C35A2FC.5080402@buttersideup.com> (raw)
In-Reply-To: <alpine.DEB.1.10.1007071749320.23489@uplift.swm.pp.se>

Mikael Abrahamsson wrote:
> On Wed, 7 Jul 2010, Daniel Pittman wrote:
>
>> No.  OTOH, the poor sysadmins version of the "disk identification
>> light" is:
>>
>>    sudo dd if=/dev/sdFAIL of=/dev/null
>>
>> ...plus a pair of eyes.  FWIW.
>
> Yeah, if the drive is failed or if I know what drive to access I have
> no problem identifying it (I can access the working array and see what
> drive slots blink and which don't, or try to access the failed drive).
> But I have right now no way to identify the drive on "ata14.00". I can
> from dmesg deduce that it's most likely /dev/sdj (by observing the
> order of things being identified), but I don't know for sure it seems.
>

Whilst SCSI drives have the ability to blink the activity light, I don't
think SATA drives have this (BICBW).  Are these links any use to you:

root@ermintrude:~# ls
'/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block'
sda

?

Could you access all the other drives, and thus eliminate them from your
enquiries?  Bit naff, but better than nothing...

Tim.

  reply	other threads:[~2010-07-08 10:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-07  6:14 mapping ataXX.YY to a /dev/sdX Mikael Abrahamsson
2010-07-07 12:02 ` Daniel Pittman
2010-07-07 15:51   ` Mikael Abrahamsson
2010-07-08 10:05     ` Tim Small [this message]
2010-07-08 10:26       ` Mikael Abrahamsson
2010-07-08 10:26         ` Mikael Abrahamsson
2010-07-08 10:44         ` Robin Hill
2010-07-08 11:05           ` Mikael Abrahamsson
2010-07-08 21:26             ` Janek Kozicki
2010-07-08 21:53               ` Mikael Abrahamsson
2010-07-10  4:42                 ` Brad Campbell
2010-07-10  7:05                   ` Rudy Zijlstra
2010-07-10 11:45                     ` Anssi Hannula
2010-07-10 19:23                     ` Jeff Garzik
2010-07-10 23:49                       ` Rudy Zijlstra
2010-07-11 19:01                         ` Jérôme Poulin
2010-07-11 19:01                         ` Jérôme Poulin
2010-07-14 19:05                           ` Jim Paris

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=4C35A2FC.5080402@buttersideup.com \
    --to=tim@buttersideup.com \
    --cc=daniel@rimspace.net \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=swmike@swm.pp.se \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.