From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,8d6f8e19731dc58 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,8d6f8e19731dc58 X-Google-Attributes: gid1164f8,public From: Andy Goldstein Subject: Re: Shadowset mount receives "MOUNT-F-WRONGVU" Date: 1998/11/10 Message-ID: <3648A409.114C23D@star.zko.dec.youknowwhere>#1/1 X-Deja-AN: 410532207 Content-Transfer-Encoding: 7bit References: <71prbo$umm$1@nnrp1.dejanews.com> <36436904.3086567@news.merlin.at> <729och$ke8$1@nnrp1.dejanews.com> Content-Type: text/plain; charset=us-ascii Organization: VMS Engineering Mime-Version: 1.0 Newsgroups: comp.os.vms,comp.sys.dec rceci@adams.com wrote: ] ] Interesting, ] ] Through experimentation I have found this behavior exists in the case the ] shadowset has been previously inited, not only with specific /INDEX=, but ] also, /CLUSTER=, and /HEAD= as well. When adding the third member in, if I ] did not init it with the identical /INDEX=end/CLUSTER=20/HEAD=40000 then I ] would receive the message. All three were necessary. ] ] Hm. I will install all the ALPMOUN* patches and see if this disappears. ] ] > I've found another possible reason for this behaviour. ] > ] > If the existing shadow set and the to-be-added disk have their index ] > files (and home blocks) in different positions (e.g. because the ] > /INDEX=xxx qualifier has been used with the INITIALIZE command), and a ] > mount command is executed on another cluster member very shortly after ] > the first mount command (which initiates the shadow copy), MOUNT ] > becomes confused and returns the message mentioned in the base ] > posting. ] > ] > To solve this problem, initialize the new disk with the same attibutes ] > as the existing shadow set. You can check the index file position with ] > $ DUMP /HEADER /BLOCK=COUNT=0 disk:[000000]INDEXF.SYS - just look at ] > the extent allocation information. ] > ] > Another possible way is to mount the original shadowset on only one ] > cluster node, add the new member and let the shadow copy finish (or at ] > least progress far enough) before mounting the shadow set clusterwide. ] > ] > I'm not quite sure but there is a possibility that the latest ] > ALPMOUN0n_nnn and VAXMOUN0n_nnn ECOs fix the problem as well. This is a known problem in MOUNT. Unfortunately, as far as I can make out from the edit history, it has not yet been fixed. The correct solution is pretty complicated. You can work around it as described - init the member to be added to the set with parameters that are consistent with the existing members of the shadow set. The cause of the problem is that the shadowing metadata is in the file structure - specifically the storage control block. All the INIT parameters cited affect where the storage control block is located. MOUNT locates the storage control block by working through the file structure. Once located, however, the shadow driver references it by LBN. Further, it assumes that the storage control block will be on the same LBN on all shadow set members. (Which is indeed true once the set is consistent.) So if you add a new member whose current storage control block is in a location other than that of the existing shadow set, (1) MOUNT identifies the member as a copy target (2) The shadow driver initiates the shadow copy, writing an appropriate storage control block on the new member at the LBN where it belongs in the shadow set. Because the old storage control block of the member was at a different LBN, it is not overwritten. If you now mount this shadow set on another node in the cluster before the shadow copy has started, MOUNT will read the old home block, etc., and locate the old storage control block through the file structure. Because we're mounting a shadow set that's mounted elsewhere in the cluster, MOUNT expects the storage control blocks to be consistent, and they're not.