Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Mar 2011 03:09:41 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: tying down adaX to physical interfaces
Message-ID:  <20110326100941.GA50429@icarus.home.lan>
In-Reply-To: <20110326095444.GV78089@deviant.kiev.zoral.com.ua>
References:  <AFDA19F9-DC78-463D-862D-6E4F3CB2C2C3@deman.com> <20110326003818.GT78089@deviant.kiev.zoral.com.ua> <D665B3EE-34D6-4125-A9C1-06C71548F7F5@deman.com> <20110326051643.GA43364@icarus.home.lan> <20110326095444.GV78089@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 26, 2011 at 11:54:44AM +0200, Kostik Belousov wrote:
> On Fri, Mar 25, 2011 at 10:16:43PM -0700, Jeremy Chadwick wrote:
> > Why would the disk number change on a drive swap?  This doesn't happen
> > on my Intel ICH9R controller on *any* Supermicro X7xxx or Supermicro
> > PDxxx board I have access to.
> Because the order of enumeration of controllers depends on the
> BIOS, and is not consistent among boots. Also, it changes if you
> swap controllers or insert disks into the free bays in the backplane.

Re: insert disks into free bays: it behaves as I described in my post
(paragraph #7):

http://lists.freebsd.org/pipermail/freebsd-fs/2011-March/011039.html

If someone wants me to prove it, I'll be more than happy to start
removing/inserting disks on my system here at home to show exactly what
happens (using ICH9xx with ahci.ko).  I would prove it as well with our
production machines but I'd have to physically be in the co-lo to swap
the disk.  :-)

The OP only mentioned that he was concerned with device names changing
if he swapped disks.  I have not seen hot-swapping (specifically
removal of old disk, insertion of new disk) result in the device number
increasing -- ever.

The OP didn't any mention of swapping or exchanging of controllers,
adding new ones, removing others, etc..  yeah, these could induce device
number changes, absolutely.

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110326100941.GA50429>