Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!mit-eddie!genrad!decvax!ucbvax!SLACTWGM.BITNET!ESMP09 From: ESMP09@SLACTWGM.BITNET.UUCP Newsgroups: mod.computers.vax Subject: Dual-ported disk behavior Message-ID: <8704061700.AA16604@jade.berkeley.edu> Date: Sun, 5-Apr-87 12:27:00 EST Article-I.D.: jade.8704061700.AA16604 Posted: Sun Apr 5 12:27:00 1987 Date-Received: Wed, 8-Apr-87 06:22:08 EST Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 91 Approved: info-vax@sri-kl.arpa We have been using dual-ported (actually, multi-ported) disks with VMS with reasonable success, but not without a few problems. These are disks on an SI9900 controller. Each disk is mounted read/write from a single CPU, and read-only from the rest. This is NOT part of a VAX cluster, nor are we using any special software such as SILINK. My friend has a dual-ported DEC RP07, and is interested in using it in a similar mode. I mentioned some of the problems we have observed (described below), and suggested to him that the RP07 dual-port arrangement would probably behave similarly. My friend called the DEC software support center, described how he intended to use the disk, and asked if there were any special problems to be expected with this mode of operation. The answer was that this was a supported mode of operation, that there should be no problems-- simply mount the disk /WRITE from one CPU, /NOWRITE from the other; no need to even turn off cacheing. (DEC may also have stated that SET DEVICE/DUAL_PORT should be used; presumably this is necessary.) I would be interested in hearing of the experience of others who have tried using disks in this manner, especially DEC RP07's and disks on an SI9900 controller. (Sites running a VAXcluster or SILINK are, I think, irrelevant to this question.) The problems which we have seen with disks on the multi-ported SI controller when mounted in this manner are described below. We are currently running VMS 4.5. Problem 1: Expansion of INDEXF.SYS makes some files inaccessible --------- If the number of files stored on the disk increases beyond the number which can be accommodated by INDEXF.SYS, that file will be extended. However those files which are created with headers which are located in this expansion area will be inaccessible ('file not found') from a read-only CPU until the disk is dismounted and remounted by that CPU. Problem 2: Mount verification failures --------- If a disk goes into 'mount verification' for some reason, a CPU will often fail to remount the disk, the reason reported for the failure being 'wrong volume'. I believe I understand why this is so, although I have not verified all of these details. Apparently when a disk is mounted read/write, the date/time of mounting is recorded both on the disk itself and in memory. Should the disk go into the mount- verification state and a remount be attempted, it is required that not only the disk label but also this date/time match between what is on the disk and what is in memory--if both do not match, the disk is deemed to be the 'wrong volume'. If a disk is mounted read-only, the date/time which is currently on the disk is recorded in memory for later comparison should a mount verification be necessary. With this background, it can be seen that there is a potential for a CPU with read-only access to fail mount verification. Consider two scenarios: Scenario 1 (successful): At T0: CPU A mounts DISKX read/write, marking it with time T0 At T1: CPU B mounts DISKX read-only, noting its mount time of T0 At T2: DISKX goes into mount verification -- both CPUs successfully recover the disk, as they both agree with its recorded mount time of T0. Scenario 2 (unsuccessful): At T0: CPU B mounts DISKX read-only, noting its mount time (a time