[comp.sys.sun] More than one Sun on a SCSI bus

bownesrm@crdgw1.ge.com (11/09/89)

Has anyone out there tried to get more than one Sun to share a SCSI disk
for data only? I realize it won't boot this way, but it would be usefull
to me to be able to share a disk between one or two machines for data.
Certainly better than pumping the bits out over an ethernet where they
have to contend with 100 other machines...

mjacob@sun.com (Matt Jacob) (11/17/89)

Yeah, I actually tried this with a SS-1 && a 4/110.  If you have an SS-1,
here is what I did.

Patch the kernel to run no disconnect/reconnect (a lot of SCSI disks I've
run into get confused about accepting multiple commands from different
inititators). Procedure: as root,

	adb -w /vmunix
	scsi_options?W 0x10
	$q

Set the scsi initiator id for the SS-1 to something other than it's
default (7), e.g., as root,

	eeprom scsi-initiator-id=6

(halt, power on-off, or get into the forth monitor (n to the > prompt) and
enter reset).

You should be able to hook up another SS-1, or a 4/110 and run with both
of them seeing each other's disks, tapes, etc. Try to not have each system
boot or swap off the same partitions- madness results.  Ditto for mounting
partitions writable by each other- instant destruction.  It's a good way
for sharing read-only data though, and in the future with, say, a large
juke-box changer, a way for a couple of stations to access terabyte image
files, etc...