Subject: Multi-path SCSI
To: None <tech-kern@NetBSD.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 09/20/2004 17:20:41
--0ntfKIWw70PvrIHh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

With the advent of SANs (Storage Area Networks), a SCSI disk can be
discovered via more than one path. For instance, it's quite reasonable to
have an FC SCSI disk with two connections hooked to two different storage
networks. If a NetBSD box has a FC HBA hooked to each net, it will find
the drive on each net as an independent drive. So for instance sd3 and sd7=
=20
really are the same disk.

SCSI has a way to notice this. The INQUIRY command has a facility called=20
VPD ("Vital Product Details"), which includes a world-unique serial=20
number. So if we find a SCSI disk, we can ask for this VPD page, and see=20
if it matches the serial number of a matching drive.

The question is what do we do if we find a match?

Take care,

Bill


--0ntfKIWw70PvrIHh
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFBT3PZWz+3JHUci9cRAu3JAJ4tf2tPvLsURHZwhns77Py0r3zU/ACdHz1l
+2bWu/Veg1zuLkDWiWgRwpc=
=zeBq
-----END PGP SIGNATURE-----

--0ntfKIWw70PvrIHh--