From owner-freebsd-hackers Sun Mar 9 1: 7:53 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 658B837B401 for ; Sun, 9 Mar 2003 01:07:51 -0800 (PST) Received: from spider.deepcore.dk (cpe.atm2-0-56339.0x50c6aa0a.abnxx2.customer.tele.dk [80.198.170.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C3D843FA3 for ; Sun, 9 Mar 2003 01:07:49 -0800 (PST) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.8/8.12.8) id h2997lV8091523; Sun, 9 Mar 2003 10:07:47 +0100 (CET) (envelope-from sos) From: Soeren Schmidt Message-Id: <200303090907.h2997lV8091523@spider.deepcore.dk> Subject: Re: 3 IDE devices on Promise card + FreeBSD == not possible? In-Reply-To: <20030308162453.GB1436@bubba.toscano.org> To: Pete Date: Sun, 9 Mar 2003 10:07:47 +0100 (CET) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL98b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It seems Pete wrote: > Hello, > > I've been posting about this since the beginning on the year. A few > times on freebsd-questions, once on freebsd-hackers, and submitted a PR > (http://www.freebsd.org/cgi/query-pr.cgi?pr=48165). I have never found > a solution beyond replacing FreeBSD with Linux. (Which is not something > I'd like to do, but know I can, if need be. I'm trying to learn about > FreeBSD, not Linux.) To make it short, the disklabel problem is probably due to the disk containing what disklabel see as a bogus label, try to zero out the label by using dd if=/dev/zero of=/dev/adN count=100. Now if you have a promise fasttrak its beyond me why you want to use vinum to make a mirror... In the post you refer to you have: ar0: 29314MB [3737/255/63] status: READY subdisks: 0 READY ad4: 29314MB [59560/16/63] at ata2-master UDMA100 ar1: 29314MB [3737/255/63] status: READY subdisks: 0 READY ad6: 29314MB [59560/16/63] at ata3-master UDMA100 ar2: 29314MB [3737/255/63] status: READY subdisks: 0 READY ad7: 29314MB [59560/16/63] at ata3-slave UDMA100 You use ar0 as a single disk and thats fine. Then you need a mirror of ad6 and ad7 to get that you first need to delete ar1 and ar2 (which you have defined in the Promise BIOS to get it past probing right ?). So doing: atacontrol delete ar1 atacontrol delete ar2 Get you rid of those two 1 disk arrays, then do: atacontrol create mirror ad6 ad7 and you get a new ar1 array thats the mirror of ad6 & ad7.. Disklabel & newfs ar1 and you are done (remember the dd trick above if disklabel thinks the label is bogus).... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message