Subject: Re: sharing disks on the same bus with multiple hosts
To: Erik E. Fair <fair@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 04/11/2004 12:32:34
--7AUc2qLy4jB3hD7Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 09, 2004 at 07:16:34PM -0700, Erik E. Fair wrote:
> I think a change of HBA SCSI ID would have to be a compile-time
> constant, to avoid the host coming on the bus at the same ID as
> some other host at HBA initialization time.
>=20
> If we can guarantee that NetBSD's HBA SCSI drivers won't touch
> their attached bus until some part of the system has had the chance
> to change the host ID, then it would be OK to do it later. However,
> we probe the busses at boot time...

No. What is usually done is you leave ID 7 unused. I know of AIX boxes=20
that did this like a decade ago. As long as they don't boot at the same=20
time, you're fine. And since you can control powerup, you're ok.

Note that FC and iSCSI don't need tweaked IDs. SPI (Parallel SCSI) needs=20
them. I'm not sure about Firewire.

Take care,

Bill

--7AUc2qLy4jB3hD7Z
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFAeZ1SWz+3JHUci9cRAgHcAJ9gv4N87+72RPzyuzO0ITCac3bqzwCfYgyA
1PwQMJbjeC7u0OJaDMqznsU=
=GIv1
-----END PGP SIGNATURE-----

--7AUc2qLy4jB3hD7Z--