Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2001 20:39:03 -0800
From:      richard childers <fscked@pacbell.net>
To:        questions@freebsd.org
Subject:   [Fwd: SCSI disks / disklabel / vinum]
Message-ID:  <3AB43BE7.C85B3373@pacbell.net>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------B9BD372FE24089109F1BA18A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Is there an upper limit on the number of SCSI disks that can be
addressed, by default, in the kernel?

I recall encountering a boundary of 4 drives, back a release or three
ago. How has this changed? According to the attached output, 4 is no
longer the limit. Is it now 8? 16? 32?

Much obliged,


-- richard

--
Richard A. Childers
Senor UNIX Administrator
fscked@pacbell.net (email)
415.664.6291 (voice/msgs)

# Providing administrative expertise (not 'damage control') since 1986.
# PGP fingerprint: 7EFF 164A E878 7B04 8E9F  32B6 72C2 D8A2 582C 4AFA


--------------B9BD372FE24089109F1BA18A
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Return-path: <dpoland@execpc.com>
Received: from mta4.snfc21.pbi.net (mta4-pr)
 by sims1.snfc21.pbi.net (Sun Internet Mail Server
 sims.3.5.2000.01.05.12.18.p9) with ESMTP id
 <0GAC0065ARR1UZ@sims1.snfc21.pbi.net> for fscked@sims-ms-daemon; Sat,
 17 Mar 2001 09:40:24 -0800 (PST)
Received: from out4.mx.nwbl.wi.voyager.net ([169.207.1.77])
 by mta4.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9)
 with ESMTP id <0GAC00AIGRQQUL@mta4.snfc21.pbi.net> for
 fscked@sims1.snfc21.pbi.net; Sat, 17 Mar 2001 09:40:03 -0800 (PST)
Received: from earth.execpc.com (dpoland@earth.execpc.com [169.207.16.1])
 by out4.mx.nwbl.wi.voyager.net (8.11.1/8.11.1) with ESMTP id f2HHe2N72504 for
 <fscked@pacbell.net>; Sat, 17 Mar 2001 11:40:02 -0600 (CST)
Received: (from dpoland@localhost) by earth.execpc.com (8.9.0)
 id LAA12294 for fscked@pacbell.net; Sat, 17 Mar 2001 11:40:02 -0600 (CST)
Date: Sat, 17 Mar 2001 11:40:02 -0600
From: Doug Poland <doug@polands.org>
Subject: Re: SCSI disks / disklabel / vinum
In-reply-to: <3AB384B0.4A8F482F@pacbell.net>
To: richard childers <fscked@pacbell.net>
Message-id: <20010317114001.A11021@polands.org>
MIME-version: 1.0
X-Mailer: Mutt 1.0pre3us
Content-type: text/plain; charset=us-ascii
References: <20010303150356.B29412@polands.org>
 <20010304091830.B12820@wantadilla.lemis.com>
 <20010305173531.A13041@polands.org> <3AB0C90C.7B665588@pacbell.net>
 <20010315122839.A15751@polands.org> <3AB384B0.4A8F482F@pacbell.net>
X-Mozilla-Status2: 00000000

On Sat, Mar 17, 2001 at 07:37:20AM -0800, richard childers wrote:
> Well, start at the beginning. Are you able to install FreeBSD on a stripped-down
> system with the basic elements?
> 
Yes
judeah# uname -a
FreeBSD judeah.polands.org 4.3-BETA FreeBSD 4.3-BETA #0: Wed Mar  7 14:55:56 CST 2001
root@judeah.polands.org:/usr/obj/usr /src/sys/GENERIC  i386

> Once this is confirmed, are you able to install FreeBSD, using each of the drives,
> attached directly? This should be done to eliminate any questions about drive
> functionality.
> 
Yes
judeah# cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/ad0s1b             none            swap    sw              0       0
/dev/ad0s1a             /               ufs     rw              1       1
/dev/da0s1e             /data/0         ufs     rw              2       2
/dev/da1s1e             /data/1         ufs     rw              2       2
/dev/da2s1e             /data/2         ufs     rw              2       2
/dev/da3s1e             /data/3         ufs     rw              2       2
/dev/da4s1e             /data/4         ufs     rw              2       2
/dev/da5s1e             /data/5         ufs     rw              2       2
/dev/ad0s1f             /usr            ufs     rw              2       2
/dev/ad0s1e             /var            ufs     rw              2       2
proc                    /proc           procfs  rw              0       0
/dev/da5s1e on /data/5 (ufs, local)

> Once the drives have been confirmed, are you able to attach them and access them, in
> a conventional way?
> 
Yes
judeah# mount
/dev/ad0s1a on / (ufs, NFS exported, local)
/dev/ad0s1f on /usr (ufs, NFS exported, local, soft-updates)
/dev/ad0s1e on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)
/dev/da1s1e on /data/1 (ufs, local)
/dev/da2s1e on /data/2 (ufs, local)
/dev/da4s1e on /data/4 (ufs, local)
/dev/da0s1e on /data/0 (ufs, local)
/dev/da3s1e on /data/3 (ufs, local)

> I seem to recall running into a 4-maximum-SCSI-drive limit in the kernel, a year or
> so ago, when I tried to attach all of my SCSI disks to one server and ran into the
> limit of 4 SCSI hard drives. I'm dusting off my memory and wondering if this is the
> problem; I recall you mentioning more than 4 hard drives.
> 
Yes, I'm attempting to use 6 drives now and will ultimately have 7 SCSI drives
in the system.

> On the other hand, that limitation was in FreeBSD 4.0; no guarantee it's still in
> 4.2.
> 
I'll start looking at LINT


> Let's start by answering these questions ... ?
> 
Thanks for you help so far Richard, I really appreciate it

> 
> Doug Poland wrote:
> 
> > On Thu, Mar 15, 2001 at 05:52:12AM -0800, richard childers wrote:
> > > I'm not sure what you're missing; been away from email for a few days, just
> > > catching up.
> > >
> > > I'm learning from what you are doing, though ...
> > >
> > Well, thanks for helping so far.  I've not got past
> > this problem.  My would-be 7 SCSI disk server is
> > still sitting torn apart on my bench.  Greg Lehey
> > hasn't been able to help.  I've even posted to
> > freebsd-scsi but to no avail :(
> >
> > I'm not sure where to go from here...
> >
> > Doug
> >
> > >
> > > -- richard
> > >
> > >
> > > Doug Poland wrote:
> > >
> > > > On Sun, Mar 04, 2001 at 09:18:30AM +1030, Greg Lehey wrote:
> > > > >
> > > > > It tells you: No such file or directory.  You apparently don't have
> > > > > the device nodes in place.
> > > > >
> > > > But I have the disks mounted!  Right now I have 6 SCSI
> > > > disks mounted and accessable on 6 different mount points.
> > > >
> > > > >
> > > > > You'll almost certainly need to create the device nodes.
> > > > >
> > > > I took Richard Childers advice and did...
> > > >         # cd /dev
> > > >         # .MAKEDEV pass4
> > > >         # .MAKEDEV pass5
> > > >
> > > > Now I have the pass devices 0-5.  When I run disklabel -e
> > > > on da4 or da5, I still don't see 4.2BSD.  The truely weird
> > > > thing is I can see the 4.2BSD partition with a disklabel -r
> > > > but not in disklabel -e.  See following...
> > > >
> > > > judeah# disklabel -r da4
> > > > # /dev/da4:
> > > > type: SCSI
> > > > disk: da4s1
> > > > label:
> > > > flags:
> > > > bytes/sector: 512
> > > > sectors/track: 63
> > > > tracks/cylinder: 255
> > > > sectors/cylinder: 16065
> > > > cylinders: 244
> > > > sectors/unit: 3933040
> > > > rpm: 3600
> > > > interleave: 1
> > > > trackskew: 0
> > > > cylinderskew: 0
> > > > headswitch: 0           # milliseconds
> > > > track-to-track seek: 0  # milliseconds
> > > > drivedata: 0
> > > >
> > > > 8 partitions:
> > > > #        size   offset    fstype   [fsize bsize bps/cpg]
> > > >   c:  3933040        0    unused        0     0         # (Cyl.    0 - 244*)
> > > >   e:  3933040        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 244*)
> > > >
> > > > judeah# disklabel -e da4
> > > > # /dev/da4:
> > > > type: SCSI
> > > > disk: IBMRAID
> > > > label: 0664M1H9337
> > > > flags:
> > > > bytes/sector: 512
> > > > sectors/track: 13
> > > > tracks/cylinder: 210
> > > > sectors/cylinder: 2730
> > > > cylinders: 1440
> > > > sectors/unit: 3933040
> > > > rpm: 3600
> > > > interleave: 1
> > > > trackskew: 0
> > > > cylinderskew: 0
> > > > headswitch: 0           # milliseconds
> > > > track-to-track seek: 0  # milliseconds
> > > > drivedata: 0
> > > >
> > > > 8 partitions:
> > > > #        size   offset    fstype   [fsize bsize bps/cpg]
> > > >   c:  3933040        0    unused        0     0         # (Cyl.    0 - 1440*)
> > > > ~
> > > > The same thing shows for da5.
> > > >
> > > > What am I missing?
> > > >
> > > > --
> > > > Regards,
> > > > Doug
> > >
> > > --
> > > Richard A. Childers
> > > Senor UNIX Administrator
> > > fscked@pacbell.net (email)
> > > 415.664.6291 (voice/msgs)
> > >
> > > # Providing administrative expertise (not 'damage control') since 1986.
> > > # PGP fingerprint: 7EFF 164A E878 7B04 8E9F  32B6 72C2 D8A2 582C 4AFA
> > >
> >
> > --
> >
> > Regards,
> > Doug
> 
> --
> Richard A. Childers
> Senor UNIX Administrator
> fscked@pacbell.net (email)
> 415.664.6291 (voice/msgs)
> 
> # Providing administrative expertise (not 'damage control') since 1986.
> # PGP fingerprint: 7EFF 164A E878 7B04 8E9F  32B6 72C2 D8A2 582C 4AFA
> 

-- 

Regards,
Doug

--------------B9BD372FE24089109F1BA18A--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AB43BE7.C85B3373>