From owner-freebsd-questions@FreeBSD.ORG Sun Apr 26 02:39:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23849106564A for ; Sun, 26 Apr 2009 02:39:25 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-qy0-f105.google.com (mail-qy0-f105.google.com [209.85.221.105]) by mx1.freebsd.org (Postfix) with ESMTP id D12568FC15 for ; Sun, 26 Apr 2009 02:39:24 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qyk3 with SMTP id 3so3669295qyk.3 for ; Sat, 25 Apr 2009 19:39:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=Jlt4L2LGCB+nuOEZkGj17hYA+j+2Z8JRGuaN5yhc5Go=; b=wVGFLs/GbJQCdnPcJzx2+wCZCntfjW9B3nc/iEfwWcY8JBuNe5FMjA3bBBHB4q2xkd EDPTKzya04VuktFUIEzI1h3nZFFlpCzl6eZjxAKbd7emzgRGIvOxgh/oN4t0aGSwqjjW b1PxfWiDQRzjWsa13VGW9LKyr4s8feg1JP3xQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=TeRezH2L/4rgXaJJWB8OnDDG5o5U6f4MiALJgteaVJiO05weYECcVFUuIl7p9t+CYV lpPQ1x+I1mujHwnUXZcPuddKpLSz1N50D8y6l6zp38X+iVLniz6t8NTMc+RiFOsTLG2d dVZTMgHkSCoI9g5fHtTaBfN+T846RVs+YGNVk= MIME-Version: 1.0 Received: by 10.220.92.80 with SMTP id q16mr7673160vcm.58.1240713564079; Sat, 25 Apr 2009 19:39:24 -0700 (PDT) In-Reply-To: <20090426020821.GA75923@emmi.physik-pool.tu-berlin.de> References: <20090426020821.GA75923@emmi.physik-pool.tu-berlin.de> From: Tim Judd Date: Sat, 25 Apr 2009 20:39:09 -0600 Message-ID: To: =?ISO-8859-1?Q?Leon_Me=DFner?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Hardwire drive0 to ad0 on hw raid. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Apr 2009 02:39:25 -0000 On Sat, Apr 25, 2009 at 8:08 PM, Leon Me=DFner wrote: > Hi, > > i'm having a problem with the disk numbering of RAID arrays (3ware > 9650SE). When i boot, the array with my system is always the last > numbered drive (ATM its ad16). This array is on its own controller. > lsdev in the loader shows the array as drive0 (first BIOS drive i > assume). > Is there a way to hardwire this to ad0 as i dont want my system > array to have different numbers when booting with different amounts > of drives attached to the system. > I couldn't find any hints on this in the 3ware manuals or > controller-setup. > > Thanks in Advance, > Leon > > FWIW: This is on FreeBSD-7.1-p5 (latest binary update). > That's one of the advantages of putting labels on a filesystem. You then specify in fstab that you mount by it's label versus the device name directly. And just so you don't go around and around in circles -- tunefs will create /dev/ufs and geom_label/glabel will create /dev/label There is a bug report to clarify the docs I submitted about this. To clear /dev/label, you use glabel, to clear /dev/ufs, you use tunefs