From: Andy Goldstein <Goldstein@star.zko.dec.youknowwhere>
Subject: Re: Shadowset mount receives "MOUNT-F-WRONGVU"
Date: 1998/11/10 [thread overview]
Message-ID: <3648A409.114C23D@star.zko.dec.youknowwhere> (raw)
In-Reply-To: 729och$ke8$1@nnrp1.dejanews.com
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.
prev parent reply other threads:[~1998-11-10 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-04 5:00 Shadowset mount receives "MOUNT-F-WRONGVU" rceci
1998-11-04 5:00 ` Hans Bachner
1998-11-06 5:00 ` rceci
1998-11-07 5:00 ` Hans Bachner
1998-11-10 5:00 ` rceci
1998-11-10 5:00 ` Andy Goldstein [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox