Previous Topic: Duplicating a Minidisk

Next Topic: Moving Minidisks or Changing Minidisk Information

Analyzing Minidisks

Analyze your system’s minidisks on a regular basis to determine which minidisks to enlarge so that users do not run out of space and which to reduce so that you do not waste DASD. Your system can often use DASD more effectively if you reblock the minidisk to accommodate the size of the files on the minidisk.

The MDSKSCAN command provides the following information about minidisks in your system:

The MDSKSCAN command calls the VMXAQD MODULE to access and query each minidisk in a read‑only mode. If your site does not use the Servant Facility, make the VMXAQD MODULE accessible on a public minidisk.

If you want to enter the MDSKSCAN command from an EXEC, give the user ID that issues the command NOPASS authorization in the AUTHORIZ CONFIG file. For example:

GRANT NOPASS MDSKSCAN TO userid

Example:1

To get information about the minidisks for all user IDs that you, WOODYB, manage, enter the following:

vmsecure mdskscan *

CA VM:Secure produces a report similar to the one below:

USERID  VADR TYPE BLKSZ FILES  SIZE   % DATE     TIME     MANAGER
------- ---- ---- ----- ------ -------- -------- -------- -------
SALE01  191  CMS  4096      1  300K   2 yy/mm/dd 13:07:22 WOODYB
SALE02  191  CMS  4096     25  300K  80 yy/mm/dd 13:07:26 WOODYB
SALESP  191  CMS  4096     15  300K  52 yy/mm/dd 13:07:33 WOODYB
TEST_1  191  CMS  4096      1  300K   2 yy/mm/dd 13:07:22 WOODYB
TEST_2  192  OS
TEST_4  191  CMS  4096     15  300K  52 yy/mm/dd 13:07:33 WOODYB

Example:2

To get information about the minidisks for all user IDs that begin with SALE, enter the following:

vmsecure mdskscan sale*

CA VM:Secure produces a report similar to the following:

USERID  VADR TYPE BLKSZ FILES  SIZE   % DATE     TIME     MANAGER
------- ---- ---- ----- ------ ------ --- ------ -------- -------
SALES01 191  CMS  4096      1  300K   2 yy/mm/dd 13:07:22 WOODYB
SALES02 191  CMS  4096     25  300K  80 yy/mm/dd 09:25:11 WOODYB
SALESSP 191  CMS  4096     15  300K  52 yy/mm/dd 23:59:59 WOODYB

Example:3

To get a report on the minidisks of all user IDs that begin with TEST_ for all directory managers, enter the following:

vmsecure mdskscan test_* (manager *

The manager * option includes all user IDs for all managers, not only those that you manage.

CA VM:Secure produces a report like the following. In this example, TEST_2 has a non‑CMS 192 minidisk. It is in OS or DOS format.

USERID  VADR TYPE BLKSZ FILES  SIZE   % DATE     TIME     MANAGER
------- ---- ---- ----- ------ -------- -------- -------- -------
TEST_1  191  CMS  4096      1  300K   2 yy/mm/dd 13:07:22 WOODYB
TEST_2  191  CMS  4096     25  300K  80 yy/mm/dd 13:07:26 CARLAT
TEST_2  192  OS
TEST_3  191  CMS  4096      8  768K   4 yy/mm/dd 13:07:30 CARLAT
TEST_4  191  CMS  4096     15  300K  52 yy/mm/dd 13:07:33 WOODYB