[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

533.0. "F$GETDVI("disk","MOUNTCNT") question" by KAOFS::R_VIERICH () Wed Aug 19 1987 15:01

    I have a question regarding the use of the F$GETDVI("disk","MOUNTCNT")
    lexical in a cluster environment.

    If you do a SHOW DEV DUA? in a cluster where that device is mounted
    cluster wide, lets say four nodes, then MOUNTCNT=4.

    If however you use the lexical F$GETDVI the MOUNTCNT value returned
    is MOUNTCNT=1

    As I understand it the lexical returns the node specific information
    while the SHOW DEV does something "fancy" to get the cluster wide 
    information. (if I'm wrong just tell me so, I'm use to it ;-)  )

	What I would like to know is; 

	1/ Is there a way to get the "true" MOUNTCNT, something
	   I could use in a command file.

	2/ Is the F$GETDVI lexical not working right, or will it 
	   be improved.

				Thanks in advance
					Ralf 

    By the way... I've also put this in the cluster conf.
T.RTitleUserPersonal
Name
DateLines
533.1VIDEO::LEICHTERJJerry LeichterSat Aug 22 1987 14:438
SHOW DEVICE is full of magic code to figure out what is going on cluster-wide.
F$GETDVI is simply an interface to $GETDVI, and doesn't contain all the magic;
it is more or less restricted to information "about" the local node.  I don't
know if any changes are planned...I wouldn't hold my breath, though.

From a command file, you've always go the old stand-by of doing a SHOW DEVICE
into a file, then reading the file....
							-- Jerry