From owner-freebsd-fs@FreeBSD.ORG Sat Mar 26 10:09:44 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AB0C106566B for ; Sat, 26 Mar 2011 10:09:44 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by mx1.freebsd.org (Postfix) with ESMTP id A13928FC12 for ; Sat, 26 Mar 2011 10:09:43 +0000 (UTC) Received: from omta24.westchester.pa.mail.comcast.net ([76.96.62.76]) by qmta07.westchester.pa.mail.comcast.net with comcast id Pm9C1g0031ei1Bg57m9jNJ; Sat, 26 Mar 2011 10:09:43 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta24.westchester.pa.mail.comcast.net with comcast id Pm9i1g0041t3BNj3km9ji1; Sat, 26 Mar 2011 10:09:43 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 604819B429; Sat, 26 Mar 2011 03:09:41 -0700 (PDT) Date: Sat, 26 Mar 2011 03:09:41 -0700 From: Jeremy Chadwick To: Kostik Belousov Message-ID: <20110326100941.GA50429@icarus.home.lan> References: <20110326003818.GT78089@deviant.kiev.zoral.com.ua> <20110326051643.GA43364@icarus.home.lan> <20110326095444.GV78089@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110326095444.GV78089@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@freebsd.org Subject: Re: tying down adaX to physical interfaces X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 10:09:44 -0000 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 |