From owner-freebsd-current@FreeBSD.ORG Tue Apr 27 11:41:07 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5D2E106566C; Tue, 27 Apr 2010 11:41:07 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 02ABD8FC13; Tue, 27 Apr 2010 11:41:06 +0000 (UTC) Received: by bwz8 with SMTP id 8so12168224bwz.3 for ; Tue, 27 Apr 2010 04:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=dkqWsNhpdJCmDkefQbf3oauoTh+cHZaW9DiJb0M1dPc=; b=I1V60HnlFQoO+iY0phCCDA/q4h3Qu098PE/Ye3mAKk1Yf925airStM0KUzgLv7l1Cl GMqZfZZ8bjkPEgrsytDq92uqzVZ/VsFaBKofNspFIqY7u43XbCF2cE8pwGTs996DU3ET vymkavFhJPHafCaYKW/wWsg/FhzvHJCP6NYe4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=qjuDS19tvdLdmNsy5Cop3euT0TvwDjais9FZP9b9zEAny/ZfnTTgiPRLdbx01+KOrY aMih/iwU0wJeOuaPrCxH+Y1i/CFmHRox2MO+Uj5bn76kBfv53uG8M5l/i5clXzXAnnZ1 mfSy4QP5d8rFaE6b/n9fc9nTekYPqI9TSLpgU= Received: by 10.102.254.26 with SMTP id b26mr3140413mui.118.1272368462295; Tue, 27 Apr 2010 04:41:02 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 14sm21567922muo.16.2010.04.27.04.41.01 (version=SSLv3 cipher=RC4-MD5); Tue, 27 Apr 2010 04:41:01 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BD6CD3F.5080903@FreeBSD.org> Date: Tue, 27 Apr 2010 14:40:47 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Gavin Atkinson References: <4BD06BD9.6030401@FreeBSD.org> <20100426.103327.319083499807534535.imp@bsdimp.com> <1272367989.97887.47.camel@buffy.york.ac.uk> In-Reply-To: <1272367989.97887.47.camel@buffy.york.ac.uk> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org, freebsd-geom@FreeBSD.org Subject: Re: Switchover to CAM ATA? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 11:41:07 -0000 Gavin Atkinson wrote: > Losing ataraid would be bad. I suspect there are a lot of installs > using it - especially as there is no way to create any other mirror from > sysinstall. However, I'm not actually sure that the functionality it > provides is easy to push down into GEOM. > > ataraid depends on knowing a lot about the underlying hardware, in order > to know which format of metadata to use. i.e. it needs to know that the > disks are attached to (say) a Highpoint controller. This is especially > important when creating new ATA RAID devices, although there is so > little identifying metadata on the disks themselves that in some cases > it doesn't look like it is possible to identify or even confirm the > existence of metadata without knowing the PCI ID of the controller to > which the disks are attached. > > I'm not sure I can see a way to do this from within GEOM. CAM allows every SIM driver to report several arbitrary string values, describing driver and hardware. They are almost unused now. I don't see much problems in exporting them to GEOM and making tasting method to analyze them. -- Alexander Motin