From owner-freebsd-questions@FreeBSD.ORG Sun Feb 3 13:03:38 2008 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 000FD16A420 for ; Sun, 3 Feb 2008 13:03:37 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 87C4D13C455 for ; Sun, 3 Feb 2008 13:03:37 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:52555 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JLeVU-0005oq-7U for freebsd-questions@freebsd.org; Sun, 03 Feb 2008 14:03:36 +0100 Received: (qmail 72117 invoked from network); 3 Feb 2008 14:03:33 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 3 Feb 2008 14:03:33 +0100 Received: (qmail 66304 invoked by uid 1001); 3 Feb 2008 14:03:33 +0100 Date: Sun, 3 Feb 2008 14:03:33 +0100 From: Erik Trulsson To: Christian Baer Message-ID: <20080203130333.GA66223@owl.midgard.homeip.net> Mail-Followup-To: Christian Baer , freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1JLeVU-0005oq-7U. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1JLeVU-0005oq-7U f0aa21d1297cbb91ab80e4a4b4d5c030 Cc: freebsd-questions@freebsd.org Subject: Re: Strange HDD order 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, 03 Feb 2008 13:03:38 -0000 On Sun, Feb 03, 2008 at 01:13:34PM +0100, Christian Baer wrote: > Greetings programs! > > I have a computer here with 10 HDDs. Four of them are connected to the > southbridge of the mainboard. The other 6 are connected to two Promise > SATAII 300 TX4. Four of the drives are connected to the first controller > (making it 'full') the other two connected to the second. > > To make the device names predictable I was very careful how I connected > them. The four drives connected to the southbridge are in the right order > (this also means they have the device names ad0 to ad3). The drives > connected to the other controllers are a different story. > > The two controllers cooperate well and identify themselves as one > controller only. So I get only one message showing all the drives. The > drives are in this order in the BIOS message: > > D 0 WDC WD3200SD-01KNB0 08.05J08 (ad4) > D 1 WDC WD3200SD-01KNB0 08.05J08 (ad6) > D 2 SAMSUNG HD501LJ CR100-11 (ad8) > D 3 SAMSUNG HD501LJ CR100-11 (ad10) > D 4 Seagate ST3500320AS SD04 (ad12) > D 5 Seagate ST3500320AS SD04 (ad14) > > The device in brackets is the one I'd expect to get. Instead, I get this: > > ad4: 476940MB at ata2-master SATA300 > ad6: 305245MB at ata3-master SATA150 > ad8: 476940MB at ata4-master SATA300 > ad10: 305245MB at ata5-master SATA150 > ad14: 476940MB at ata7-master SATA150 > ad18: 476940MB at ata9-master SATA150 > > Where did I go wrong? How disks ars numbered do depend on which ports on which controller they are attached to. You want to use the lowest-numbered ports on the Promise controllers. Which ports that is when both controllers identify as a single controller is another question. From what you show it looks like all the odd-numbered ports are on one controller and all the even-numbered ports are on the other. Try experimenting by changing which disk is connected to which port and see if you can get the behaviour you want. -- Erik Trulsson ertr1013@student.uu.se