From owner-freebsd-stable@FreeBSD.ORG Fri Sep 17 16:45:54 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64260106564A for ; Fri, 17 Sep 2010 16:45:54 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id D31208FC15 for ; Fri, 17 Sep 2010 16:45:53 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o8HGjaIq015874; Fri, 17 Sep 2010 18:45:51 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o8HGjaYj015873; Fri, 17 Sep 2010 18:45:36 +0200 (CEST) (envelope-from olli) Date: Fri, 17 Sep 2010 18:45:36 +0200 (CEST) Message-Id: <201009171645.o8HGjaYj015873@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, fjwcash@gmail.com In-Reply-To: X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.5 (lurza.secnetix.de [127.0.0.1]); Fri, 17 Sep 2010 18:45:51 +0200 (CEST) Cc: Subject: Re: How to predict drive number change for 7.3->8.1 upgrade? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, fjwcash@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2010 16:45:54 -0000 Freddie Cash wrote: > On Fri, Sep 17, 2010 at 5:38 AM, Oliver Fromme wrote: > > Remove "options ATA_STATIC_ID" from your kernel config > > before building the new kernel and rebooting.  Then your > > first disk will be ad0, no matter what controller and > > channel it is connected to.  Be sure to update your > > /etc/fstab file. > > Problem with doing that (no ATA_STATIC_ID) is that if you change the > order that your PCI devices are enumerated, you will change the order > in which your disks are probed, and all your numbers change again. :) > And there's an option for this in every BIOS I've worked with. Plus, > moving addon controllers from one slot to another will also re-number > your devices. He wrote that it is a rented server with just one drive. I don't see how the drive number could ever change under these circustances. So removing ATA_STATIC_ID is really the easiest solution. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "The last good thing written in C was Franz Schubert's Symphony number 9." -- Erwin Dieterich