Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Brian E.W. Wood" <beww@intac.com>
To: axp-list@redhat.com
Subject: Re: Took the plunge and went SCSI the Cabriolet
Date: Wed, 12 Aug 1998 00:15:36 -0400 (EDT)	[thread overview]
Message-ID: <XFMail.980812001536.beww@intac.com> (raw)
In-Reply-To: <3.0.5.32.19980811214526.00861100@ellpspace.math.ualberta.ca>


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


  reply	other threads:[~1998-08-12  4:16 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-11 22:43 Took the plunge and went SCSI the Cabriolet dca2
1998-08-11 23:15 ` Jeff Sturm
1998-08-11 23:38   ` dca2
1998-08-12  0:50     ` dca2
1998-08-12  4:05       ` Maurice Hilarius
1998-08-12  4:03     ` Maurice Hilarius
1998-08-12  4:22       ` dca2
1998-08-12  4:31         ` Maurice Hilarius
1998-08-12  4:41           ` dca2
1998-08-12  8:15   ` Geert Uytterhoeven
1998-08-12  3:45 ` Maurice Hilarius
1998-08-12  4:15   ` Brian E.W. Wood [this message]
1998-08-12  5:12     ` Chris Price
1998-08-12  7:48     ` Randal Carpenter
1998-08-12  7:54     ` Michal Jaegermann
1998-08-12 18:57 ` Quant-X Alpha Linux Support
1998-08-13  3:34   ` Keith Baker
1998-08-13  2:46     ` Brian E.W. Wood
1998-08-16 10:25   ` assigning SCSI IDs (Re: ...and went SCSI the Cabriolet) Christoph Zens
1998-08-17  9:44     ` Quant-X Alpha Linux Support
  -- strict thread matches above, loose matches on Subject: below --
1998-08-11 23:14 Took the plunge and went SCSI the Cabriolet Mark Dohojda
1998-08-12  0:09 Brett Andrews
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox