From owner-freebsd-geom@FreeBSD.ORG Fri Apr 23 16:02:01 2010 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06E56106566B; Fri, 23 Apr 2010 16:02:01 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id C6A708FC22; Fri, 23 Apr 2010 16:02:00 +0000 (UTC) Received: by pwi9 with SMTP id 9so7152077pwi.13 for ; Fri, 23 Apr 2010 09:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=IJgg45wnbomW2d6hGU38L1JrO5gcsFONtYrc1WnP0G8=; b=pVHbUffdi7A/ZFSo68UGfKM6OclM3DKOvV/l0NfEmyudH6imaG1ixeI2LDFvz9XZwl aOtWeZaXRF97KcmxRLLA7PnN5bWc2Knx/NhMILNQvd0ysfTKHMsgu1FmH3quq0H2E87J DkjPvNxkw837wj0TkVzELUR2Xbv4lBZ3Ltxww= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=RU1+AwNsQiTUuSTklRWTb440yDuOnvNpoGO8XAfGoG8sYlcoMtHwHjwUY/KU8hS2qn XcijM0+ZJqsM00EYI9KRLzxd1lDhFP0JIyPpbRZ4t+T/Klx3gXmK9fkm3GEemtpWC6uJ IuHnQhl1tLbgO6L9OYmKObPV9CNPXSmWwAg94= MIME-Version: 1.0 Received: by 10.140.82.9 with SMTP id f9mr306459rvb.130.1272038514761; Fri, 23 Apr 2010 09:01:54 -0700 (PDT) Received: by 10.231.18.74 with HTTP; Fri, 23 Apr 2010 09:01:53 -0700 (PDT) In-Reply-To: <4BD15D23.8090501@fletchermoorland.co.uk> References: <4BD06BD9.6030401@FreeBSD.org> <4BD15D23.8090501@fletchermoorland.co.uk> Date: Fri, 23 Apr 2010 09:01:53 -0700 Message-ID: From: Freddie Cash To: FreeBSD-Current , freebsd-geom@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Switchover to CAM ATA? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2010 16:02:01 -0000 On Fri, Apr 23, 2010 at 1:41 AM, Paul Wootton wrote: > Alexander Motin wrote: > >> >> Can we do switchover now, or some more reasons preventing this? >> >> The only thing I miss about the old ATA layer was that I knew that a drive > on a particular controller would always be assigned the same adX number, > whether is was present at boot time, or added days later. This could get a > little messy having ad2, ad4, ad12, ad20 and ad22, but at least if I added a > new drive, it would always attach to say ad8. > > Can this be done on the new CAM ATA? I have not tried it with ATA_CAM, but in theory, you should be able to wire things down the same as with SCSI devices. Just takes a bit of mucking around with camcontrol output, and sticking the right info into /boot/loader.conf. See the man page for camcontrol for all the details. -- Freddie Cash fjwcash@gmail.com