Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

Subject: f$getdvi - Lexical function query.

Original Message
Name: Rodney Bewes
Date: October 21, 2001 at 20:30:57 Pacific
Subject: f$getdvi - Lexical function query.
Comment:
hi,
running the command: sh dev 'disk id'
shows a mount count (mnt cnt) of 2
but when running:
write sys$output f$getdvi("disk id","mountcnt") only displays 1
any ideas why this is?
r

Report Offensive Message For Removal

Response Number 1
Name: klaus
Date: October 23, 2001 at 23:24:04 Pacific
Subject: f$getdvi - Lexical function query.
Reply: (edit)
Hi Rodney,

I think this effect appears if you are in a cluster and the device is mounted more than once from different machines.

Klaus


Report Offensive Follow Up For Removal

Response Number 2
Name: Rodney Bewes
Date: October 27, 2001 at 03:54:47 Pacific
Subject: f$getdvi - Lexical function query.
Reply: (edit)
apologies as i do not appear to have explained this very clearly. yes, these are clustered mounted disks which is highlighted by the 'mnt cnt' status of the 'sh dev' command. my query is although a disk is displaying a 'mnt cnt' of 2 running the 'sh dev' command this same disk only show a 'mount count' of 1 running 'write sys$output f$getdvi("disk id","mountcnt"). why is this?
r

Report Offensive Follow Up For Removal

Response Number 3
Name: Phil Piotrowski
Date: November 15, 2001 at 08:11:23 Pacific
Subject: f$getdvi - Lexical function query.
Reply: (edit)
MGMT52. Why do $GETDEV MOUNTCNT and SHOW DEVICE mount counts differ?

MOUNTCNT returns the local mount count, while SHOW DEVICE returns
the cluster-wide mount count.


Per www.Openvms.compaq.com OpenVMS Wizard
(not me)


Report Offensive Follow Up For Removal

Response Number 4
Name: rodney
Date: November 17, 2001 at 17:00:11 Pacific
Subject: f$getdvi - Lexical function query.
Reply: (edit)
phil,

thanks. so how can i check if a disk is mounted on more than one system within a command procedure?

r


Report Offensive Follow Up For Removal

Response Number 5
Name: tez
Date: December 4, 2001 at 03:10:03 Pacific
Subject: f$getdvi - Lexical function query.
Reply: (edit)
r
noticed this myself a while ago. reading the system service manual it seems intended behaviour (does it make sense? can you mount a disk more than once locally?)
The only way I know to obtain the info is to grep/parse it from the show device output. More info can be obtained from the "also mounted on" part of show device/full

regards, tez


Report Offensive Follow Up For Removal

Response Number 6
Name: rodney bewes
Date: February 26, 2002 at 18:06:03 Pacific
Subject: f$getdvi - Lexical function query.
Reply: (edit)
using dcl not unix unfortunately. any ideas how to extract specific data from a commands output? i would need to extract the last character from the sh device disk_name command. is this possible using dcl?
r

Report Offensive Follow Up For Removal



Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: f$getdvi - Lexical function query.

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software



Version Tracker Pro
Keep your software current and secure, effortlessly

Click Here for a Free Scan

Driver Agent
Automatically find the latest drivers for your computer.
Click Here for a Free Scan



The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC