Subject: Re: sharing disks on the same bus with multiple hosts
To: Erik E. Fair <fair@NetBSD.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 04/09/2004 13:56:41
--Apple-Mail-19-157786453
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Apr 9, 2004, at 2:01 PM, Erik E. Fair wrote:
> NetBSD supports at least three busses that can have multiple hosts on
> them: SCSI, FireWire, and USB.
USB does not support multiple hosts. However, we also can talk to
Fibre Channel.
> Has anyone we know actually tried to share, say, a disk between
> multiple hosts on the same SCSI bus? Obviously for that case, some of
> the host SCSI IDs would have to be pre-set to something other than 7,
> and after that, there is a question of access arbitration and cache
> coherency...
This requires some complex coordination. For starters, we would need
to support the SCSI RESERVE/RELEASE (older) and newer persistent
reservation commands. Then other software (like the file system) has
to be taught how to use them. That can be Very Hard for fairly simple,
depending on the sharing model you want to employ.
-- Jason R. Thorpe <thorpej@wasabisystems.com>
--Apple-Mail-19-157786453
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQFAdw4JOpVKkaBm8XkRAtfFAKC6+5jMQZYB2d9Os421PDYOgTgtkwCbBKyp
L265po6ec2zUdgGE/ppiV0g=
=xMRT
-----END PGP SIGNATURE-----
--Apple-Mail-19-157786453--