From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Took the plunge and went SCSI the Cabriolet
Date: Wed, 12 Aug 1998 01:54:04 -0600 (MDT) [thread overview]
Message-ID: <199808120754.BAA15514@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <XFMail.980812001536.beww@intac.com> from "Brian E.W. Wood" at Aug 12, 98 00:15:36 am
Brian E.W. Wood wrote:
>
>
> 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.
.....
>
> 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.
For all of you to whom this way of assignment of scsi "tags" can be a
problem - for a very long time on tsx-11.mit.edu there is available
'scsidev' utility which solves this in a user space. Yes, it does
compile on Alpha and it works too. There are also some enhancements
avaiable - although I cannot now to tell where.
The whole underlying infrastructure required for mounting file systems
by their unique id's is also present in Linux. So far nobody bothered
to provide user tools to make that useful.
For the current developmnent kernels there is a proposed 'devfs' patch
which provides "Solaris like" scheme. Frankly, the more I look
at it the less I like it. It has at least three very serious problems:
- it is relatively "heavy weight", i.e. it intervenes quite
substantially into existing kernel structures
- it puts way too much policy decisions into kernel (which implies,
among other things, that if something will go wrong you will have a
tough time untangling resulting mess as witnessed by all those who
had a displeasure of having an "accident" on Solaris after which
you may spent long hours trying to figure out which device happens
to be your keyboard)
- it lacks an information persistence (so what were ownership and
permissions on this device?) and proposed workarounds are
hair-raising hacks; hypothetical better solutions make 90% of
devfs superflous.
Problems of device identification will hit with force when USB will
start to show up in reality. We will see solutions as well ('scsidev'
is limited only to SCSI) but I hope for something better than devfs
although devfs experience surely will not be wasted.
Michal
next prev parent reply other threads:[~1998-08-12 7:54 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
1998-08-12 5:12 ` Chris Price
1998-08-12 7:48 ` Randal Carpenter
1998-08-12 7:54 ` Michal Jaegermann [this message]
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