Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 1997 11:28:09 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        rhwang@bigpanda.com
Cc:        hackers@freebsd.org
Subject:   Re: [Q]: multiple lun probe not working on aic7880
Message-ID:  <199702271828.LAA00400@phaeton.artisoft.com>
In-Reply-To: <199702271634.LAA08156@lonewolf.hostworld.com> from "Richard Hwang" at Feb 27, 97 11:34:35 am

next in thread | previous in thread | raw e-mail | index | archive | help
> I am trying to get FreeBSD to probe for multiple luns on a aic7880
> controller on a Dell PowerEdge 4100 server connected to a CMD Daytona
> RAIDarray (SCSI ID 0), but it only ever finds the 2G partition on lun 0,
> and can't find the 10G partition on lun1.  FreeBSD seems to ignore
> the fact that lun 1 exists.

Look at /sys/i386/conf/LINT:

# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
# that a given bus, target, and LUN always come on line as the same
# device unit.  In earlier versions the unit numbers were assigned
# in the order that the devices were probed on the SCSI bus.  This
# means that if you removed a disk drive, you may have had to rewrite
# your /etc/fstab file, and also that you had to be careful when adding
# a new disk as it may have been probed earlier and moved your device
# configuration around.

Which suggests something like:

disk		sd0 at scbus0 target 0 unit 0
disk		sd1 at scbus0 target 0 unit 1

Should work (and it's what you have).

HOWEVER, you don't wire down the cdrom -- I think you have to:

device	cd0 at scbus?

Also, you should look at the exception list in the SCSI driver for the
LUN's: by default, multiple luns are not probed for most devices that may
have CDROM's on them.  It could be that the array is not identifying
itself as a fixed disk?

					Regards,
					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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