From owner-freebsd-performance@FreeBSD.ORG Fri Jun 1 19:53:20 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F368316A488 for ; Fri, 1 Jun 2007 19:53:19 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id C5FB513C4C4 for ; Fri, 1 Jun 2007 19:53:19 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 3F2A81A3C1A; Fri, 1 Jun 2007 12:54:32 -0700 (PDT) Received: from rot13.obsecurity.org (rot13.obsecurity.org [192.168.1.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 10264511A7; Fri, 1 Jun 2007 15:53:19 -0400 (EDT) Received: by rot13.obsecurity.org (Postfix, from userid 1001) id F2247C1D6; Fri, 1 Jun 2007 15:53:18 -0400 (EDT) Date: Fri, 1 Jun 2007 15:53:18 -0400 From: Kris Kennaway To: NOC Meganet Message-ID: <20070601195318.GA57337@rot13.obsecurity.org> References: <506722.42229.qm@web30307.mail.mud.yahoo.com> <200706011645.48111.tec@mega.net.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200706011645.48111.tec@mega.net.br> User-Agent: Mutt/1.4.2.2i Cc: freebsd-performance@freebsd.org, Arne W?rner Subject: Re: hd device names X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 19:53:20 -0000 On Fri, Jun 01, 2007 at 04:45:47PM -0300, NOC Meganet wrote: > On Friday 01 June 2007 11:30:24 Arne W?rner wrote: > > --- NOC Prowip wrote: > > > > Why d?nt u use glabel? > > > > > > hmm, I never considered it > > > but I guess it does not solve my problem because let's say da0 is the > > > provider and da0 might have still the label I gave it but the OS can not > > > see it since it is then aacd0 after changing the controller or am I > > > wrong? > > > > Hmm... > > > > Advisory: :-)) > > 1. > > Just try it. Dont believe me without thorough testing... :-) > > E. g. with (a) mdconfig -a -u 0 -f testdevfile ; glabel label -v fook md0 ; > > mdconfig -d -u 0 ; mdconfig -a -u 69 -f testdevfile ; ls /dev/label > > > > 2. > > I think that is one advantage of glabel: It does not care for the device > > name, but it just tastes the last sector of each device, as soon as it > > shows up (e. g. after the reboot). > > > > > thank's Arne, I will give it a try on a test machine and give you a feedback > on it Also this has nothing to do with FreeBSD performance so followups should be elsewhere. Kris