Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2003 10:07:47 +0100 (CET)
From:      Soeren Schmidt <sos@spider.deepcore.dk>
To:        Pete <pete-freebsd-hackers@toscano.org>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: 3 IDE devices on Promise card + FreeBSD == not possible?
Message-ID:  <200303090907.h2997lV8091523@spider.deepcore.dk>
In-Reply-To: <20030308162453.GB1436@bubba.toscano.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ATA RAID0 array> [3737/255/63] status: READY subdisks:
 0 READY ad4: 29314MB <IBM-DTLA-307030> [59560/16/63] at ata2-master UDMA100
ar1: 29314MB <ATA RAID0 array> [3737/255/63] status: READY subdisks:
 0 READY ad6: 29314MB <IBM-DTLA-307030> [59560/16/63] at ata3-master UDMA100
ar2: 29314MB <ATA RAID0 array> [3737/255/63] status: READY subdisks:
 0 READY ad7: 29314MB <IBM-DTLA-307030> [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




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