ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

VMSECURE MAP and volume utilization

book

Article ID: 226735

calendar_today

Updated On:

Products

VM:Secure for z/VM

Issue/Introduction

I received a request to add 50GB dasd storage to each zLinux machine totaling approx 100+ servers. 

I executed the MAP command and the results include all Utilizations 100%, 94%, 8% etc.  Ideally, I'm looking for a report with only Utilization 0% per volume.

 

Environment

Release : 3.2

Component : VM:Secure for z/VM

Resolution

VMSECURE MAP output will only show you totally free volumes vs. free space on all volumes.

 

Additional Information

MAP doesn't support that.
 
However, looking at a MAP output file, you can easily carve out the *VOLUME lines that say UTILIZATION: 0%
--------------------  1  line(s) not displayed --------------------
*VOLUME: LALALA  TYPE: 3390     UTILIZATION: 0%
--------------------  4  line(s) not displayed --------------------
*VOLUME: YYYDDD  TYPE: 3390     UTILIZATION: 0%
--------------------  4  line(s) not displayed --------------------
*VOLUME: KOVTST  TYPE: 9336     UTILIZATION: 0%
--------------------  19  line(s) not displayed --------------------
*VOLUME: M01P01  TYPE: 3390     UTILIZATION: 0%
--------------------  3  line(s) not displayed --------------------
*VOLUME: M01S01  TYPE: 3390     UTILIZATION: 0%
--------------------  44  line(s) not displayed -------
 
The above is a display from the MAP output using the ALL /UTILIZATION: 0% / command in XEDIT.  
You could parse out the *VOLUME lines looking for that utilization and put them in another output file.  

Or, … just ALL /: 0%/ 

Then if you really want just those lines in another file … TOP … PUT * EMPTY VOLUMES A

 

 
So, though VM:Secure won't give you exactly what you'd like, the output will let you select what you want and could be fairly easily accomplished in a PIPE.