What is the -m option on mkvg?


Env:  4.1.4
Problem:  What is the function of the -m flag on mkvg?

Action taken:  When a volume group is created, the total number of
physical partitions supported in a volume group is equal to the maximum
number of disks times the maximum number of PPs per disk.

The maximum number of disks in the volume group is specified by the -d 
flag; the default is 32.  The maximum number of PPs per disk is specified
by the -m flag divided by the -s flag (units are in MB); the default is

For instance, if I run "mkvg -y newvg hdisk1" the system will allow up to 
32 disks in this volume group, each with a maximum of 1016 partitions.
These are the default values.

If I run "mkvg -d 1 -y newvg hdisk1" the system will allow up to 1016 PPs 
(1 * 1016) in this volume group.  Note, I can put more than 1 disk in
this volume group, just as long as I don't have more than a total of 1016
PPs in the entire volume group.

If I run "mkvg -m 636 -y newvg hdisk1", where hdisk1 does not have more
than 636MB of usable space, then the volume group will able to support
up to 5088 physical partitions (32 disks * [636MB/4MB] PPs/disk).  The 
-m flag in this case lowers the number of PPs/PV used from 1016 to 159;
other disks may contain more than 159 PPs, but the total amount of VGDA
space is calculated based on 159 PPs/PV, not 1016 PPs/PV.

Action plan:  Close.

Support Line: What is the -m option on mkvg? ITEM: DB5701L
Dated: June 1997 Category: N/A
This HTML file was generated 99/06/24~13:30:16
Comments or suggestions? Contact us