Subject: Re: sharing disks on the same bus with multiple hosts
To: None <tech-kern@netbsd.org>
From: Christoph Badura <bad@bsd.de>
List: tech-kern
Date: 04/14/2004 01:00:12
Jason Thorpe writes:
>On Apr 9, 2004, at 2:01 PM, Erik E. Fair wrote:
>>  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.

You'd also have to teach our HBA drivers to not rudely abort other HBA's
queued requests on the whole bus with a SCSI bus reset.

--chris