From owner-freebsd-questions@FreeBSD.ORG Wed Feb 3 18:28:27 2010 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 B84B6106568F for ; Wed, 3 Feb 2010 18:28:27 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 24F498FC14 for ; Wed, 3 Feb 2010 18:28:26 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.3/8.14.3) with ESMTP id o13ISPIm084409; Wed, 3 Feb 2010 18:28:25 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <4B69C049.5080602@qeng-ho.org> Date: Wed, 03 Feb 2010 18:28:25 +0000 From: Arthur Chance User-Agent: Thunderbird 2.0.0.23 (X11/20091224) MIME-Version: 1.0 To: Steve Franks References: <539c60b91002030935m31f66c6ft247f1231ad61656@mail.gmail.com> In-Reply-To: <539c60b91002030935m31f66c6ft247f1231ad61656@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: adding disk moves ad0 to ad4 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: Wed, 03 Feb 2010 18:28:27 -0000 Steve Franks 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... If you think ad4 and ad6 for your disks is odd take a look at this (slightly line wrapped) extract from my file server boot dmesg. arthur@fileserver> grep ata /var/run/dmesg.boot | grep -v ITHREAD atapci0: mem 0xf4100000-0xf4101fff irq 19 at device 0.0 on pci2 atapci0: AHCI Version 01.00 controller with 2 ports detected ata2: on atapci0 ata3: on atapci0 atapci1: port 0xb000-0xb007,0xb100-0xb103,0xb200-0xb207, 0xb300-0xb303,0xb400-0xb40f irq 16 at device 0.1 on pci2 ata4: on atapci1 atapci2: port 0xe700-0xe707,0xe800-0xe803,0xe900-0xe907, 0xea00-0xea03,0xeb00-0xeb1f mem 0xf4286000-0xf42867ff irq 19 at device 31.2 on pci0 atapci2: AHCI Version 01.20 controller with 6 ports detected ata5: on atapci2 ata6: on atapci2 ata7: on atapci2 ata8: on atapci2 ata9: on atapci2 ata10: on atapci2 ad10: 476940MB at ata5-master SATA300 ad12: 953869MB at ata6-master SATA300 ad14: 953869MB at ata7-master SATA300 ad16: 953869MB at ata8-master SATA300 acd0: DVDR at ata9-master SATA150 My SATA disks are ad{10,12,14,16}. This is a 2 year old Gigabyte server mobo, I can't remember the exact model off hand.