How to predict drive number change for 7.3->8.1 upgrade?

Oliver Fromme olli at
Fri Sep 17 16:45:54 UTC 2010

Freddie Cash <fjwcash at> wrote:
 > On Fri, Sep 17, 2010 at 5:38 AM, Oliver Fromme <olli at> 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 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:

"The last good thing written in C was
Franz Schubert's Symphony number 9."
        -- Erwin Dieterich

More information about the freebsd-stable mailing list