Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2010 11:39:38 -0600
From:      Adam Vande More <amvandemore@gmail.com>
To:        Steve Franks <bahamasfranks@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: adding disk moves ad0 to ad4
Message-ID:  <6201873e1002030939x590b5decs58f1b64cf03fa7e8@mail.gmail.com>
In-Reply-To: <539c60b91002030935m31f66c6ft247f1231ad61656@mail.gmail.com>
References:  <539c60b91002030935m31f66c6ft247f1231ad61656@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 3, 2010 at 11:35 AM, Steve Franks <bahamasfranks@gmail.com>wrote:

> Just curious, having read the handbook section talking about freebsd
> going straight to the hardware and skipping the bios for disk
> numbering, why then, if I stick a sata disk in 'sata0' on the
> motherboard, does it come up as ad0, but if I add a second disk in
> 'sata1' or 'pata0', on the next boot, I have no ad0, but ad4 and ad6?
> This seems to be the case with every mobo I've owned in the last 2
> years from a variety of mfr's.  Is there a way around this?  I don't
> care what it comes out as, as long as it stays put...  Since I have
> the only fbsd system at work, I tend to format alot of funky drives
> for people, and it gets anoying having to swap fstab's every time...
>
> Steve
>

Use glabel, then you can used the same fstab across disk swaps/machinces

-- 
Adam Vande More



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