From: Olaf Hering <olh@suse.de>
To: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Patrick Mansfield <patmans@us.ibm.com>,
James Bottomley <James.Bottomley@SteelEye.com>,
SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] SCSI device/adapter/bus address correlation?
Date: Fri, 3 Sep 2004 23:42:52 +0200 [thread overview]
Message-ID: <20040903214252.GA32452@suse.de> (raw)
In-Reply-To: <200409031413.49104.bjorn.helgaas@hp.com>
On Fri, Sep 03, Bjorn Helgaas wrote:
> On Friday 03 September 2004 12:09 pm, Patrick Mansfield wrote:
> > > Thanks, I knew there must be a cool way. That doesn't help if you're
> > > trying to figure out the correct "root=" to boot your box, of course...
> >
> > What exactly is the "root=" problem? You mean device names changing?
>
> Walk up to a box with a number of data disks already attached. Plug
> in a new disk with a root filesystem on it. Now try to boot the box,
> using the new root filesystem. What do you specify? It's difficult
> in general to figure it out.
In this case the filesystem UUID or a string returned by an external
udev helper like scsi_id will help. udev will create a /dev/foo and your
initrd will mount that. We have predefined names (symlink to the kernel
device node) like /dev/disk/by-id/SIBM_ST336753LC_3HX1AJJX00007407HDF3p1
in initramfs.
You can use them, or specify your own in udev.rules. Since the disk
content will not change and there will (hopefully) not another one with
the same VPD, everything will work as expected.
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" 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:[~2004-09-03 21:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-02 23:19 [PATCH] SCSI device/adapter/bus address correlation? Bjorn Helgaas
2004-09-02 23:36 ` James Bottomley
2004-09-02 23:58 ` Christoph Hellwig
2004-09-03 14:44 ` Bjorn Helgaas
2004-09-03 14:49 ` Olaf Hering
2004-09-03 18:09 ` Patrick Mansfield
2004-09-03 20:13 ` Bjorn Helgaas
2004-09-03 21:42 ` Olaf Hering [this message]
[not found] <20040903204400.26701.76199.Mailman@linux.us.dell.com>
2004-09-03 20:57 ` Matt Domsch
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=20040903214252.GA32452@suse.de \
--to=olh@suse.de \
--cc=James.Bottomley@SteelEye.com \
--cc=bjorn.helgaas@hp.com \
--cc=linux-scsi@vger.kernel.org \
--cc=patmans@us.ibm.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.