Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2009 20:39:09 -0600
From:      Tim Judd <tajudd@gmail.com>
To:        =?ISO-8859-1?Q?Leon_Me=DFner?= <l.messner@physik.tu-berlin.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Hardwire drive0 to ad0 on hw raid.
Message-ID:  <ade45ae90904251939g4e1003fkb05b3c8dc9504f7f@mail.gmail.com>
In-Reply-To: <20090426020821.GA75923@emmi.physik-pool.tu-berlin.de>
References:  <20090426020821.GA75923@emmi.physik-pool.tu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 25, 2009 at 8:08 PM, Leon Me=DFner
<l.messner@physik.tu-berlin.de>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



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