From owner-freebsd-current@FreeBSD.ORG Thu Apr 21 22:24:01 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 672D5106564A; Thu, 21 Apr 2011 22:24:01 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-px0-f172.google.com (mail-px0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 325638FC15; Thu, 21 Apr 2011 22:24:01 +0000 (UTC) Received: by pxi6 with SMTP id 6so341897pxi.17 for ; Thu, 21 Apr 2011 15:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:references:in-reply-to:mime-version :content-transfer-encoding:content-type:message-id:cc:x-mailer:from :subject:date:to; bh=0TO8A9QAOoxLBT7MsGL4K64X83hZZ09JKnHnTacXZ0g=; b=mDvoVn7knQR3ha8CS30yMeK2z2eWy+a0SjpH2fWnxZF/e4Qlb/1bvSFU1gRjLDNo8G PLh/KsCl56LpWEp0JKh9zNF2lOvkI3tFvEwIadksI/0NTp8tBCZnTu/oAsXYPOitIWzf VuUOPuk3lwzWnUsU4IkaxOvonb/dhm1AZvAdo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; b=wFWMk1RmIXxxZ2hR8coYieZNDYLuKcXcW5GEbM4kjrn0SrZRWXrS5Fw0vjdMOLBml+ evnwK+1PLVFauLJjbf/5OA3q/pja0UKrmtSL9jXS6Fe4etbkFkAWzn2Sl9vu7VQ+RPDA q2j6xxbGRiaMORVXsS/G+9pgVSGXvHT/2eX4c= Received: by 10.68.20.131 with SMTP id n3mr603438pbe.445.1303424640801; Thu, 21 Apr 2011 15:24:00 -0700 (PDT) Received: from [10.93.242.157] ([166.205.139.66]) by mx.google.com with ESMTPS id f2sm1108547pbq.35.2011.04.21.15.23.56 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Apr 2011 15:23:58 -0700 (PDT) References: In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8C148) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <46AD49C8-FC7E-45FA-927D-5F1D912AB0BA@gmail.com> X-Mailer: iPhone Mail (8C148) From: Garrett Cooper Date: Thu, 21 Apr 2011 15:23:46 -0700 To: Arnaud Lacombe Cc: Alexander Motin , FreeBSD-Current Subject: Re: Devices numbering [Was Re: Switch from legacy ata(4) to CAM-based ATA] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2011 22:24:01 -0000 On Apr 21, 2011, at 10:48 AM, Arnaud Lacombe wrote: > Hi, >=20 > On Thu, Apr 21, 2011 at 1:31 PM, Garrett Cooper wrote= : >> Although this may not be a list of fixable issues, here are some observat= ions (in part with the new geom raid infrastructure): >> 1. Channels are no longer fixed of course because ata uses cam now, and I= believe that device numbering is done based on probe ordering. This is fun t= o work with when dealing with appliances or configurations that require dete= rministic probe and mount, especially when drives fail, go missing, etc, but= can be hacked around in device.hints. This is why it would be nice for geom= labels to work in a sane manner. > Out of context, but the same issue appear with network interfaces. If > you're got 6 networks interface and the 3rd chip die, the 3 last get a > bad numbering. I am not sure it is fixable by any device.hints. >=20 > The Linux' world has the same issue (well, worse actually, as all > interfaces uses the same 'eth' name). RedHat has been/will be > introducing "Consistent Network Device Naming"[0,1] in Fedora 15, > which may be an interesting move. I'll have to look at this more in-depth, but this could be promising -- depe= nding on how portable the biosdevhelper tool is. Thanks, -Garrett PS while we may have a similar problem, at least the BSD interface names are= more sane than the Linux ones. Overall it would be nice to alias multiple l= ogical names like "management", "data", etc, like we may present to customer= s, but I don't know if someone has come up with an intelligent way to map ou= t system topologies yet. It would be nice if serial numbers were exposed usi= ng a vendor independent mechanism.=20=