B From:	MERC::"uunet!WKUVX1.BITNET!MacroMan" 29-MAR-1993 17:07:32.51 To:	MACRO32@WKUVX1.BITNET  CC:	) Subj:	Re: SHOW DEVICE and mounted status.   P In article <1993Mar28.144910.1367@dmc.com>, munroe@dmc.com (Dick Munroe) writes:A > How does SHOW DEVICE get its information about the device being A > mounted?  I have a cluster, a disk mounted on one node, but not A > cluster wide.  Mount counts are what you would expect, 0 on all A > nodes except the one having the mounted device.  The unexpected B > thing is that the DEVCHAR bit indicating mounted is clear on all> > nodes except the one having the mounted device (according to8 > F$GETDVI).  The reason it's unexpected is because SHOWC > DEVICE/FULL show that the device IS mounted on all other nodes on  > the cluster. > B > So how does SHOW DEVICE get the mounted information?  By looking > at the UCBs directly?  > --@ > Dick Munroe                           Internet: munroe@dmc.comM > Doyle Munroe Consultants, Inc.                UUCP: ...uunet!thehulk!munroe > > 267 Cox St.                           Office: (508) 568-1618; > Hudson, Ma.                           FAX: (508) 562-1133  > L > GET CONNECTED!!! Send mail to info@dmc.com to find out about DMConnection. --  D This information is maintained in locks.  There will be a lock namedL "SYS$_device" for each disk.  For example, "SYS$_$1$DUA11:".  Each node thatN has this disk mounted will have a CR-mode (concurrent read) lock queued to theN lock.  "SHOW DEVICE" queues a null-mode lock request to this lock, then uses a5 $GETLKI to find out what other locks on the resource.   K There is an undocumented logical name that may prove useful to you.  Define L "SHOW$DEBUG" to be some value.  The "SHOW DEVICE" command will then show youK a bunch of useful information which you can either pass along to DEC or use 8 yourself with SDA to try and figure out what went wrong.  
 -Bob LongoN =======================================+======================================K Bob Longo (longo@sfpp.com)             | "I am not gonna raise taxes on the F Santa Fe Pacific Pipelines             | middle class to pay for theseB Los Angeles, CA                        | programs." - Bill Clinton