linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Kristleifur Daðason" <kristleifur@gmail.com>
To: Rick Bragg <lists@gmnet.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: How can I tell what drive is sdb?
Date: Wed, 27 Jan 2010 14:30:34 +0000	[thread overview]
Message-ID: <73e903671001270630j4d0f6d12tf78ee870622bb8c3@mail.gmail.com> (raw)
In-Reply-To: <1264601024.29409.19.camel@thor>

On Wed, Jan 27, 2010 at 2:03 PM, Rick Bragg <lists@gmnet.net> wrote:
> Hi,
>
> I have a system with raid10 running Ubuntu 8.10.  It uses a
> "promise"card
>
> # lsusb
> ..
> 01:02.0 Mass storage controller: Promise Technology, Inc. PDC40718 (SATA
> 300 TX4) (rev 02)
> ..
>
> I have 4 identical disks on it and they show up as /dev/sda, b, c, and
> d.
>
> However, sdb needs to be replaced.  How can I tell which drive is sdb?
> Is there a way to identify what drive is what?
>
> Thanks
> Rick
>

I think you can use the wonderful 'lshw' utility for this. It tells
you what serial numbers the disks have, and then you can look at the
labels on the drives to see which one has what serial number.

If this doesn't work out, you can PROBABLY stop the array and PROBABLY
hotswap the disks in and out, running 'watch -n0 -d "dmesg | tail"' to
see what the kernel says. It will tell you what drive you have just
unplugged. But if you do this - BE CAREFUL - and I can't vouch that
this is OK as I've never done this. I'm only guessing at theory.

Good luck!

-- Kristleifur
--
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

  parent reply	other threads:[~2010-01-27 14:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-27 14:03 How can I tell what drive is sdb? Rick Bragg
2010-01-27 14:09 ` Matt Garman
2010-01-27 14:18   ` Jan Ceuleers
2010-01-27 14:21     ` Steven Haigh
2010-01-27 14:29       ` Matt Garman
2010-01-27 15:12         ` Goswin von Brederlow
2010-01-27 18:10         ` Nagilum
2010-01-27 14:30 ` Kristleifur Daðason [this message]
2010-01-27 16:57 ` Zdenek Kaspar
2010-01-28  9:00 ` Jon Hardcastle

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=73e903671001270630j4d0f6d12tf78ee870622bb8c3@mail.gmail.com \
    --to=kristleifur@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=lists@gmnet.net \
    /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;
as well as URLs for NNTP newsgroup(s).