public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Richard Scobie <richard@sauce.co.nz>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Reallocating sd device
Date: Mon, 09 Jun 2008 22:56:12 -0500	[thread overview]
Message-ID: <1213070172.3508.102.camel@localhost.localdomain> (raw)
In-Reply-To: <484D8FD1.60000@sauce.co.nz>

On Tue, 2008-06-10 at 08:17 +1200, Richard Scobie wrote:
> James Bottomley wrote:
> 
> > Not really ... relying on a specific sdX name has been deprecated for a
> > while.  To ensure absolute ordering, you should be using the device by
> > id or by label.
> > 
> > James
> 
> Thanks. I was trying to avoid the extra work of modifying smartd.conf 
> files after drives are replaced, which seem to only be able to use 
> /dev/sdX, or am I missing something?

Depends how you're doing it.  I'm pretty sure smartmon is perfectly
capable of using /dev/disk/by-id/X; some of the maintainers are on this
list, so they can comment further.  However, the auto generator for it
(if that's what you're using) always emits /dev/sdX, so I agree you have
a problem with autogenerated files.

James



  reply	other threads:[~2008-06-10  3:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-09 19:49 Reallocating sd device Richard Scobie
2008-06-09 19:54 ` James Bottomley
2008-06-09 20:17   ` Richard Scobie
2008-06-10  3:56     ` James Bottomley [this message]
2008-06-10  4:21       ` Richard Scobie

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=1213070172.3508.102.camel@localhost.localdomain \
    --to=james.bottomley@hansenpartnership.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=richard@sauce.co.nz \
    /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