[Info-vax] Finding out how many nodes have a disk mounted?
Robert A. Brooks
FIRST.LAST at vmssoftware.com
Tue Oct 22 21:03:59 EDT 2019
On 10/22/2019 8:42 PM, Michael Moroney wrote:
> In addition to the DVI item Steve mentioned, this is also available from
> DCL's F$GETDVI(disk,"MOUNTCNT_CLUSTER")
>
> $ write sys$output f$getdvi("DSA1","MOUNTCNT_CLUSTER")
> 2
> $
>
> Not in the documentation, I am not sure why.
Trolling the net, I found this from the V8.3-1H1 New Features manual, so I'll
ensure that it gets into the VSI documentation.
2.2 New Item Code DVI$_ADAPTER_IDENT
On Alpha and I64 systems, this returns (as a string) the description of
an adapter as defined in either SYS$SYSTEM:SYS$CONFIG.DAT or
SYS$SYSTEM:SYS$USER_CONFIG.DAT. Note that this service does not
read either of those files; those files are read into memory in response to the
SYSMAN IO REBUILD command, which typically happens while a system is
booting.
HP recommends a buffer size of 255 bytes to hold the identification string.
2.3 New item code DVI$_MOUNTCNT_CLUSTER
On Alpha and I64 systems, this item code returns (as a longword) the number of
systems in a cluster that have a device mounted. Note that this new item code
is not a direct replacement for the existing item code DVI$_MOUNTCNT. That
item code returns the number of mounters for any device on the local system.
The /SHARE qualifier to the MOUNT command can allow for more than one
mounter.
--
-- Rob
More information about the Info-vax
mailing list