From owner-freebsd-questions Tue Jun 15 4:40: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from titan.metropolitan.at (mail.metropolitan.at [195.212.98.131]) by hub.freebsd.org (Postfix) with ESMTP id CF8B414FCF for ; Tue, 15 Jun 1999 04:39:59 -0700 (PDT) (envelope-from mladavac@metropolitan.at) Received: by TITAN with Internet Mail Service (5.0.1458.49) id ; Tue, 15 Jun 1999 13:42:56 +0200 Message-ID: <55586E7391ACD211B9730000C110027617966D@r-lmh-wi-100.corpnet.at> From: Ladavac Marino To: "'jbarbee@singular.com'" , freebsd-questions@freebsd.org Subject: RE: what determines the drive number of disks? Date: Tue, 15 Jun 1999 13:36:00 +0200 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: jbarbee@singular.com [SMTP:jbarbee@singular.com] > Sent: Tuesday, June 15, 1999 5:50 AM > To: freebsd-questions@freebsd.org > Subject: what determines the drive number of disks? > > Hi, > > I used to have 1 drive, named da0, on adv0 (an advansys controller). > > I added 4 more drives on ncr0 (a symbios controller). > > I recompiled the kernel for ncr0 as well as da1..4. > > When I start up what used to be da0 is now da4. In the boot string > I > must type 0:da(4,a)kernel or the kernel can't mount root (i thought > adding > "root on da4" in the kernel fixes that). Even when I do startup, the > fstab > doesn't match the new hardware setup. > > What determines the disk number upon startup? How can I fix this? > Should I just edit my fstab and set up a new default boot string, even > though that seems silly? [ML] The probe order of the controllers, and then the ID and LUN numbers. You can wire down the devices--take a look at LINT, there is an example. Specifically, root on anything will not help, and is deprecated. /Marino > john. > please cc me. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message