From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 15599 invoked from network); 12 Aug 1998 04:16:30 -0000 Received: from unknown (HELO axe.intercall.com) (root@208.5.199.1) by mail2.redhat.com with SMTP; 12 Aug 1998 04:16:30 -0000 Received: from sherlock.intercall.com (ts7-43.intercall.com [207.77.26.43]) by axe.intercall.com (8.8.7/8.6.9) with ESMTP id AAA17196 for ; Wed, 12 Aug 1998 00:16:24 -0400 (EDT) Message-ID: X-Mailer: XFMail 1.3-alpha-031298 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: <3.0.5.32.19980811214526.00861100@ellpspace.math.ualberta.ca> Date: Wed, 12 Aug 1998 00:15:36 -0400 (EDT) Reply-To: beww@intac.com Organization: Unix Dilletante Sender: beww@sherlock.intercall.com From: "Brian E.W. Wood" To: axp-list@redhat.com Subject: Re: Took the plunge and went SCSI the Cabriolet On 12-Aug-98 Maurice Hilarius wrote: > > The guy at the store is "full of it". > In a DOS/Windows setup you probably want to make the "C" drive on 0, or at > least the lowest ID. In Linux it doesn't matter. YOU are telling the system > where to boot from with something like boot "sda1:vmlinux.gz". > Some conventions apply here: > On most UNIX families the first 4 IDs (0 to 3) are reserved for hard disks, > while the CDROM is most often at 4, and tape and otherdevices occupy from 5 > up. > With wide SCSI you have 15 devices available, but remember, only wide > devices can have IDs over #6. > The controller is usually ( by default) #7. > The lowest ID hard drive found become sda, the nesxt sdb, and so on. The > lowest ID CDROM found is scd0, the next one scd1, etc. > Personally I like to make the first drive #1 ( not 0) so that if I want to > plug in another hard drive and boot from it, or to try an experimental > install, I can make this "temporary" drive ID 0, and it becomes sda. I agree with what you say, but therein lies potential trouble for the unwary. Because of the "dynamic" way in which Linux assigns drive IDs. The lowest ID numbered drive on the first SCSI controller will be assigned as sda, the next sdb etc. Let's assume that you have two drives and are set up to boot from and run off sdb. If for some reason sda (the lowest numbered drive) is not present any automatic boot will fail to find sdb. No problem you say, I can just tell MILO to boot sda - WRONG, because your /etc/fstab file will point to sdb. If the missing drive is missing because it has failed you are now in trouble because you can't boot up in order to change the fstab file (unless you have an alternative boot method like a rescue floppy). You might find yourself in the position of having to find a drive to install on a lower ID # than your boot drive as a "placeholder". Always having your boot drive as ID0 on controller 0 avoids these problems, although I do like the flexibility you mention by making the boot drive ID 1. You can get in trouble by not booting off the lowest ID drive in the system. In this respect I have to say that one of the few things I prefer about Solaris over Linux is the way in which it avoids these problems entirely by pegging the drive name to its ID number. --- Brian E.W. Wood beww@intac.com