Operating System - OpenVMS
1747985 Members
4922 Online
108756 Solutions
New Discussion юеВ

Re: What command to use for retrieving File System

 
Alok_Kumar
Occasional Advisor

What command to use for retrieving File System

If OpenVMS box is a cluster node and I give command as 'SHOW DEVICE /MOUNTED', it also gives VOLUME LABEL of anouther node with SUFFIX as : .
What does that mean. How can I retrieve information of only Filesystem on Node1.

Thanks for your help
19 REPLIES 19
Willem Grooters
Honored Contributor

Re: What command to use for retrieving File System

A VMS cluster is ONE management unit. So any disk mounted in the cluster will show up on all nodes. Therefore, you'll see these NODE2 disks on NODE1. To show on which node the disk is mounted, you'll have this suffix.

To get JUST THE node1 DISKS, YOU CAN USE:

$ SHOW DEV D /SEARCH=NODE1/PAGE

(/PAGE is required with /SEARCH, at least on VMS 7.2)
Willem Grooters
OpenVMS Developer & System Manager
Steven Schweda
Honored Contributor

Re: What command to use for retrieving File System

> [...] So any disk mounted in the cluster
> will show up on all nodes. [...]

Well, any disk which is served to the cluster
will "show up on all nodes", but it will be
mounted cluster-wide only if the MOUNT
command included /CLUSTER.

If you really want someone to interpret your
SHOW DEVICE report for you, you might
consider exhibiting it. The real thing
almost always beats a description.
Alok_Kumar
Occasional Advisor

Re: What command to use for retrieving File System

This command providedalso gives info along with the Cluster 2 env file system details. Can by anyway we fire DCL command to just see Node 1 File system?

Willem Grooters
Honored Contributor

Re: What command to use for retrieving File System

Sorry - no cluster at hand so it did't come up correctlt to answer your question properly.

If a disk is mounted in the cluster, it will be available on all systems so there is no real distiction between the nodes - a VMS cluster is ONE management unit and (except explicitly specified otherwise) ALL devices are shared between the nodes.

It might be that adding the parentheses
in tyhe search argument may do the trick:

$ PIPE SHO DEV D/SEARCH="(node1)" /PAGE

otherwise, you'll have to process the output and retrieve only those lines that haev the nodename in parentheses directly following the device. But again: no cluster at hand so just an idea.
Willem Grooters
OpenVMS Developer & System Manager
Alok_Kumar
Occasional Advisor

Re: What command to use for retrieving File System

One difference I find to filter my requirement but need some confirmation if I am looking at right direction

When I fire SHOW DEV /FULL, for file systems which are from this node, it shows as "served to cluster via MSCP "

For Filesystem of another node it does not give description as via MSCP Server.

What does this mean. Is it correct way to check which filesystem belongs to current node.
Kumar_Sanjay
Regular Advisor

Re: What command to use for retrieving File System

you can use this also.

PIPE SHOW DEV D |SEAR SYS$INPUT NODE1

Alok_Kumar
Occasional Advisor

Re: What command to use for retrieving File System

Hi Sanjay,

I think we are closing to what I require. Here what command gives output is that it shows Filesystem of . example

$1$DKA0: (MODE2 NAME)

But for FileSystem of Node1 (actual system where I am running command), it does not give any name against FileSystem. So I need something opposite to what this commands does.
Kumar_Sanjay
Regular Advisor

Re: What command to use for retrieving File System

Alok,

I am not able to understand your objective. Could you please explain what you are trying to achieve.

Regards
Sanjay Kumar.
Alok_Kumar
Occasional Advisor

Re: What command to use for retrieving File System

Ok...The command gives output as attached file.

I want to have output with the Device with(AIN) not a part of output. Attaching Expe

I hope it will be much clear now.

Thanks Sanjay