From: John Robinson <john.robinson@anonymous.org.uk>
To: Phil Turmel <philip@turmel.org>
Cc: "Mathias Burén" <mathias.buren@gmail.com>,
Linux-RAID <linux-raid@vger.kernel.org>,
"Simon Mcnair" <simonmcnair@gmail.com>
Subject: Re: Possible HDD error, how do I find which HDD it is?
Date: Sun, 20 Feb 2011 03:11:48 +0000 [thread overview]
Message-ID: <4D608674.6090506@anonymous.org.uk> (raw)
In-Reply-To: <4D6046D5.4020005@turmel.org>
On 19/02/2011 22:40, Phil Turmel wrote:
> On 02/19/2011 05:30 PM, Mathias Burén wrote:
[...]
>> This is the output of your latest script on my machine. The "0:0:0"
>> is supposed to be the LUN, which would be ata[1, 2, 3..], no?
>
> No. You have to look in your dmesg to match the 'ata' initialization
> reports with the corresponding 'scsi' initialization reports.
>
> dmesg |grep 'ata[0-9]\|scsi[0-9]'
>
> Unless I missed something in sysfs that would make it easy to report
> it in the script?
I don't know about easy, but there is a suggestion in the page Simon
McNair linked to earlier in this thread:
http://www.linux-archive.org/centos/316405-how-map-ata-numbers-dev-sd-numbers.html#post428370
I suspect that at the very least you'd have to check the proc_name to
see if it matched a driver which used libata before you could say the
unique_id matched the kernel's ata:N though, which is why I say it might
not be easy (well beyond me at any rate)...
Cheers,
John.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" 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:[~2011-02-20 3:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-19 11:52 Possible HDD error, how do I find which HDD it is? Mathias Burén
2011-02-19 14:09 ` Simon McNair
2011-02-19 15:37 ` John Robinson
2011-02-19 16:44 ` Phil Turmel
2011-02-19 17:25 ` John Robinson
[not found] ` <4D5FFCEC.9040207@anonymous.org.uk>
2011-02-19 18:02 ` Phil Turmel
2011-02-19 18:18 ` John Robinson
2011-02-19 20:09 ` Mathias Burén
2011-02-19 22:22 ` Phil Turmel
2011-02-19 22:30 ` Mathias Burén
2011-02-19 22:40 ` Phil Turmel
2011-02-19 23:26 ` Mathias Burén
2011-02-20 3:11 ` John Robinson [this message]
2011-02-20 3:44 ` Mathias Burén
2011-02-20 9:52 ` Simon Mcnair
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=4D608674.6090506@anonymous.org.uk \
--to=john.robinson@anonymous.org.uk \
--cc=linux-raid@vger.kernel.org \
--cc=mathias.buren@gmail.com \
--cc=philip@turmel.org \
--cc=simonmcnair@gmail.com \
/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.