Re: More than 8 SCSI disks?

From: Brian Geisel (briang@microlite.com)
Date: Fri Feb 18 2000 - 16:22:08 EST


Yeah, major 8 should actually allow 16 devices (256 minor numbers, each disk uses
16 [1st for the whole
disk and the rest for the partitions] which allows 16 devices).
Documentation/devices.txt should show the
major numbers that are now used for the rest of the SCSI disks (devices.tex was
removed a couple
version ago, IIRC). Really you should be fine once you add the device nodes
(whole disk minors being:
0,16,32,48,64,80, 96, etc.) and it should be good. The other major numbers
start at 65.

You can always cat /proc/scsi/scsi to make sure that linux did, in fact, find all
the disks which are there.

HTH
Brian

Jakub Jelinek wrote:

> On Thu, Feb 17, 2000 at 02:16:19PM -0500, Brian Ristuccia wrote:
> > How do I go about having more than 8 SCSI disks? I made the /dev/sdhX,
> > /dev/sdiX, etc. files, but I'm not sure what else needs to be changed.
> >
> > In particular, I'm tempted to change N_SD_MAJORS in sd.h, but I have a
> > feeling that's for the major number (which also happens to be 8) rather than
> > the maximum number of disks allowed.
>
> Up to 128 SCSI disks you don't have to change anything, just make the
> devices according to Documentation/devices.tex, unless you want to have the
> SCSI driver in module, in which case you should check drivers/scsi/hosts.h
> and edit SD_EXTRA_DEVS define if needed.
>
> Cheers,
> Jakub
> ___________________________________________________________________
> Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
> Linux version 2.3.46 on a sparc64 machine (1343.49 BogoMips)
> ___________________________________________________________________
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:22 EST