public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Simen Thoresen <simentt@dolphinics.no>
To: linux-scsi@vger.kernel.org
Subject: Multiple device (in raid) persistant naming - best practices?
Date: Thu, 19 Oct 2006 17:07:39 +0200	[thread overview]
Message-ID: <453794BB.9080406@dolphinics.no> (raw)

Hi all,

I'm trying to wrap my mind around how to figure out which of several (in a 
raid set) disks is which physical disk.

How is this done these days?

My constraints;
-My filesystem is on /dev/mdX, so I cannot easily assign a label to a single 
disk without playing with micro-partitions on the disks
-My BIOS/kernel/controllers play reordering games on me. I'm pretty sure the 
disks have moved around, and my boot-disks that started out as /dev/sda and 
/dev/sdb (ports 0 and 1 on my NForce4 SATA-controller) are now sdc and sdd. 
I think both kernel-updates and BIOS-updates may have changed the order, but 
I'm not sure about either.
-My disks do not display activity thru leds, nor are they noisy enough that 
a dd from any one of them will be discernible over the rest of them.
-I did not note down which serial-numbers are attached to which disk, altho 
I know hdparm -I reports them. I was not able to coax serial-numbers from 
udevinfo.

I'm running an RHEL4-based system (2.6.9 with a truckload of vendor 
patches), but I'm wondering if there are any neat udev-hacks or similar that 
make matching /dev/sdX -devics with the drives possible.

Thank you for all replies.

Yours,
-S
-- 
Simen Thoresen, Dolphin ICS

                 reply	other threads:[~2006-10-19 15:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=453794BB.9080406@dolphinics.no \
    --to=simentt@dolphinics.no \
    --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