DU (Disk Utilization)

You can use the DU (Disk Utilization) command to display the amount of disk space being used by a disk family or the amount of space being used in the SYSTEMDIRECTORY of a disk family. The usage displays include the total capacity, the total number of available sectors, and the size, in sectors, of the largest available area on the family or in the SYSTEMDIRECTORY for the family.

Syntax

Explanation

DU ON <family name>

Displays the capacity of the family, the total number of available sectors on the family, the total number of sectors in use on the family, the largest available area, the number of available sectors in areas of fewer than 504 sectors, the number of sectors in areas of 504 or more sectors, and the number of disk areas 504 sectors long that can be allocated.

By default, DU ON <family name> displays byte counts using decimal (base-10) values and International System of Units (SI) unit prefixes, for example, kilobyte (kB) and megabyte (MB). If the BINARYPREFIXES CONTROLLER option is set (CO + BINARYPREFIXES), DU ON family name displays byte counts using binary (base-2) values and unit prefixes, for example, kibibyte (KiB) and mebibyte (MiB). See the System Administration Guide for more information on binary and decimal byte values and their relationship to MCP disk capacity.

Note: DU SYSTEMDIRECTORY ON <family name> and DU ON <CD-ROM name> (CD) are not affected by the BINARYPREFIXES CONTROLLER Option.

If the disk family capacity exceeds 2**39 - 1 bytes (just under 550GB), byte and possibly sector counts will be displayed in units of 1,000 (or 1,024 if BINARYPREFIXES is enabled). A warning displays with the DU output to explain the units used.

For example, if the total family capacity exceeds 2**39 - 1 bytes (just under 550GB), or if the total family capacity does not fit in the DU display, one of the following messages displays:

  • If BINARYPREFIXES is disabled(-):

    WARNING -- Sector Counts in K (1,000) and Byte Counts in MB (1,000,000)
  • If BINARYPREFIXES is enabled(+):

    WARNING -- Sector Counts in K (1,000) and Byte Counts in MiB (1,048,576)

See CO (CONTROLLER Options) for more information on the BINARYPREFIXES option.

DU ON <family name> (<family index>)

Displays information only for that unit specified by the family index.

DU ON <family name> <size>

Displays the capacity of the family, the total number of available sectors on the family, the total number of sectors in use on the family, the largest available area, the number of available sectors in areas less than the specified size, the number of available sectors in areas at least as large as the specified size, and the number of disk areas in the specified size that can be allocated. The size is specified in sectors.

DU SYSTEMDIRECTORY ON <family name>

Displays the current capacity of the SYSTEMDIRECTORY for the family, the total number of available sectors in the SYSTEMDIRECTORY for the family, the total number of sectors in use in the SYSTEMDIRECTORY for the family, the largest available area, the number of available sectors in areas of fewer than 3 sectors, the number of available sectors in areas of 3 or more sectors, and the number of disk file headers of 3 sectors long that can be allocated.

DU SYSTEMDIRECTORY ON <family name> <size>

Displays the current capacity of the SYSTEMDIRECTORY for the family, the total number of available sectors in the SYSTEMDIRECTORY for the family, the total number of sectors in use in the SYSTEMDIRECTORY for the family, the largest available area, the number of available sectors in areas less than the specified size, the number of available sectors in areas at least as large as the specified number, and the number of disk file headers of the specified size that can be allocated. The size is specified in sectors.

Examples

Example 1

The following examples illustrate the output of a DU ON DISK command. When the BINARYPREFIXES Controller Option is disabled (-) the report displays as follows:

 DU ON DISK

 Disk Utilization Report for DISK (Entire Family)
 
            -- Sectors --   ----------- Bytes ---------  Percent
 Available:       293,088          52,755,840     (52MB)  19  %
 In Use   :     1,262,412         227,234,160    (227MB)  81  %
 Capacity :     1,555,500         279,990,000    (279MB) 100  %
  
 Available Space Analysis
  
 Areasize   -- Sectors --   ----------- Bytes ---------  Percent 
 Largest  :        28,536           5,136,480      (5MB)   2  %
 <     504:        41,274           7,429,320      (7MB)   3  % (120 Areas) 
 >     503:       251,814          45,326,520     (45MB)  16  % (29 Areas) 
 
 490 areas of 504 sectors could be allocated.

When the BINARYPREFIXES Controller Option is enabled (+) the report displays as follows:

DU ON DISK
Disk Utilization Report for DISK (Entire Family)
 
            -- Sectors -- ----------- Bytes --------- Percent
Available:       293,088           52,755,840 (50MiB)  19  %
In Use :       1,262,412         227,234,160 (216MiB)  81  %
Capacity :     1,555,500         279,990,000 (267MiB) 100  %
 
Available Space Analysis
 
Areasize   -- Sectors -- ----------- Bytes --------- Percent
Largest :         28,536             5,136,480 (4MiB)  2  %
< 504:            41,274             7,429,320 (7MiB)  3  % (120 Areas)
> 503:           251,814            45,326,520 (45MiB) 16  % (29 Areas)
 
490 areas of 504 sectors could be allocated.

Example 2

DU ON MCPMAST 1046

Disk Utilization Report for MCPMAST (Entire Family)
  
             -- Sectors --   ----------- Bytes ---------  Percent
Available:         121,746          21,914,280     (21MB)   4  %
In Use   :       2,891,054         520,398,720    (520MB)  96  %
Capacity :       3,012,800         542,304,000    (542MB) 100  %
 
Available Space Analysis
  
Areasize   -- Sectors --   ----------- Bytes ---------  Percent 
Largest  :        51,100           9,199,000      (9MB)   2  %
<   1,046:        52,962           9,533,160      (9MB)   2  % (3,203 Areas)
>   1,045:        68,784          12,381,120     (12MB)   2  % (5 Areas) 

63 areas of 1046 sectors could be allocated.

Example 3

DU ON TEST_MEDIA_A (CD)

Disk Utilization Report for TEST_MEDIA_A (CD)

           -- Sectors -- ----------- Bytes --------- Percent
In Use   :       798,554               1,635,438,592 100  %
Notes:
  • Sectors are 2048 bytes each for CD/DVD media.

  • MCP-generated CD/DVD media can not be appended and is always 100% In Use. Available and Capacity Information is not displayed.

Example 4

The following is an example of the output for a large family:

When the BINARYPREFIXES Controller Option is disabled (-) the report displays as follows:

DU ON DISK
Disk Usage Report for DISK (Entire Family)
 
WARNING -- Sector Counts in K (1,000) and Byte Counts in kB (1,000)
 
           -K Sectors --  --------- k Bytes ---------  Percent
Available:    39,704,586      7,146,825,580     (7TB)   65  %
In Use   :    21,379,392      3,848,290,697     (3TB)   35  %
Capacity :    61,083,979     10,995,116,277    (10TB)  100  %
 
Available Space Analysis
 
Areasize   -K Sectors --  --------- k Bytes ---------  Percent
Largest  :    21,314,203      3,836,556,540     (3TB)    34 %
<     504:       511,180         92,012,400    (92GB)     0 % (127 Areas)
>     503:    39,193,406      7,054,813,080     (7TB)    65 % (9,798 Areas)
 
77,764,694 areas of 504 sectors could be allocated

The following is an example of the output for a large family:

When the BINARYPREFIXES Controller Option is enabled (+) the report displays as follows:

DU ON DISK
Disk Usage Report for DISK (Entire Family)
 
WARNING -- Sector Counts in K (1,000) and Byte Counts in KiB (1,024)
 
           -K Sectors --  --------- KiBytes ---------  Percent
Available:    39,704,586      6,979,321,855    (6TiB)    65 %
In Use   :    21,379,392      3,758,096,383    (3TiB)    35 %
Capacity :    61,083,979     10,737,418,239    (9TiB)   100 %
 
Available Space Analysis
 
Areasize   -K Sectors --  --------- KiBytes ---------  Percent
Largest  :    21,314,203      3,746,637,246    (3TiB)    34 %
<     504:       511,180         89,855,859   (85GiB)     0 % (127 Areas)
>     503:    39,193,406      6,889,465,898    (6TiB)    65 % (9,798 Areas)
 
77,764,694 areas of 504 sectors could be allocated

Example 5

 DU SYSTEMDIRECTORY ON MCPMAST  

 SYSTEMDIRECTORY Usage Report for MCPMAST
  
            -- Sectors --  Percent
 Available:         3,170    32 % 
 In Use   :         6,830    68 % 
 Capacity :        10,000   100 % 
 
 Available SYSTEMDIRECTORY Space Analysis
  
 Headersize -- Sectors --  Percent 
 Largest :          1,426    14 % 
 <      3:            122     1 % 
 >      2:          3,048    30 % 
 
 1004 headers of 3 sectors could be allocated
  
 Maximum capacity 2,000,000 sectors