From owner-freebsd-questions@FreeBSD.ORG Sat Dec 3 09:44:46 2011 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 18C30106566C for ; Sat, 3 Dec 2011 09:44:46 +0000 (UTC) (envelope-from darcsis@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id D59C58FC08 for ; Sat, 3 Dec 2011 09:44:45 +0000 (UTC) Received: by iafi7 with SMTP id i7so28733iaf.13 for ; Sat, 03 Dec 2011 01:44:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:organization:references:user-agent :x-envelope-to:mail-followup-to:date:message-id:mime-version :content-type; bh=gT6oY2ReisnGpnz9gi4coKR4PSTalD33r74W7J/KdEA=; b=Pr9arRUdCeyzGHBLE+g536hilwyOufpmZKIjxDE0GTke9bA9EaST6pp5EPNQhz1Nec eenQj/xq+N0slOL0HhAJxMs8Is/NGmTVTQMyZPfB5k49WLipYXbygY782iYPHp+KDuYi LqvknVlmowuSJfNIMpsndidKGyk5kAxeAslp0= Received: by 10.42.76.66 with SMTP id d2mr1889702ick.7.1322905485389; Sat, 03 Dec 2011 01:44:45 -0800 (PST) Received: from localhost ([123.117.57.20]) by mx.google.com with ESMTPS id l28sm46154488ibc.3.2011.12.03.01.44.38 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Dec 2011 01:44:42 -0800 (PST) From: darcsis@gmail.com (Denise H. G.) To: lists@midsummerdream.org In-Reply-To: <4ED98E9F.9010401@midsummerdream.org> (Rob's message of "Fri, 02 Dec 2011 20:51:11 -0600") Organization: Pluto The Planet References: <4ED98E9F.9010401@midsummerdream.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) X-Envelope-To: lists@midsummerdream.org Mail-Followup-To: lists@midsummerdream.org, freebsd-questions@freebsd.org Date: Sat, 03 Dec 2011 17:44:32 +0800 Message-ID: <87hb1ic7lr.fsf@pluton.xbsd.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: AHCI driver and static device names 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: Sat, 03 Dec 2011 09:44:46 -0000 On 2011/12/03 at 10:51, Rob wrote: > > I was getting ready to install the latest FreeBSD 9-RCs image, and I > found that 9 now defaults to using the ahci driver for sata disks. > This would be great if it weren't for the fact that the ahci driver > seems to do dynamic device name assignment as opposed to the static > ones used with the older drivers. > > I've looked around on google and while this is mentioned (in old > threads), the "solution" is to use labels or elaborate mapping via > hints which really aren't solutions imo. If I have 15 disks in an > array, I want to be able to label them and know which bay is which > device name. If I have to replace a drive, I have no idea what dynamic > device name it will have when it comes time to partition (and label, > if I were using that). I could probably figure it out by looking at > what disks are used on the system, but that's more work that it really > should be. It seems AHCI driver uses static naming policies if you have 'options ATA_STATIC_ID' in your kernel configuration. Anyway, I just have one SATA disk, which the system recognizes as 'ada4'. I don't know whether this will apply in your case. > > Is there a way to use the ahci driver and get static device names? > > Rob > ................ -- The first page the author turns to upon receiving an advance copy will be the page containing the worst error.