Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2010 18:45:36 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG, fjwcash@gmail.com
Subject:   Re: How to predict drive number change for 7.3->8.1 upgrade?
Message-ID:  <201009171645.o8HGjaYj015873@lurza.secnetix.de>
In-Reply-To: <AANLkTinCiDX2zfeM74BonLe3Ndq44jOz1Tj4mPJScUfm@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Freddie Cash <fjwcash@gmail.com> wrote:
 > On Fri, Sep 17, 2010 at 5:38 AM, Oliver Fromme <olli@lurza.secnetix.de> 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



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