Originally posted by: HajoEhlers
Please read the man pages for mkvg regarding the " - t" option. I think you have a missunderstandung of what the " -t " is for. So for the last time:
A disk no matter how big can hold by default 1016 PPs. Punkt!
Now a PP has a certain size between 2,4,8,16,32,256,512 and 1024 MB
What does that mean:
If your PP size is 8MB, the maximum physical disk which can be used is: 8124MB
If your PP size is 256MB, the ... is: ~250 GB
At this point we never ever talked about the -t option because it was simple not nesseccary.
So what is the use of the -t option:
If you have an old RS/6000 with a 4GB disk the installation normaly set a default PP size of 4MB. This was 5 years ago. Now you would like to add a new disk to your rootvg which has a size of 36GB.
If you followed until here you should be able to realize that this disk can not be added to a vg with a pp size of 4MB. A 36GB disk need a pp size of at least 64 MB. That is a mess. So IBM made a fix where you lower the number of possible disk in a VG but increasing the total amount of PP per disks.
In our above example we need for a 36 GB - which shall be added to a VG - with a pp size of 4MB round about 10000 PP.
This means we need to change the number of possible disk in that VG down to ...
Disks - Total PPs
16 - 2032
8 - 4064
4 - 8128
2 - 16256
... down to 2 Disk.
So after adding this 36GB to an existing VG with an pp size of 4MB it is NOT possible to add further disk to the VG.
Another examaple:
The san people assign a 1200GB disk to you . Even with a pp size of 1024 you can not reach that size ( 1016*1024 < 1200 ). But if you reduce the maximum ammount of disk by 1/2 your MAX PP for PV will increase to 2032 thus that big disk can be used.
So its IMPORTANT in the beginning of a volume group creation to select a proper PP size in case larger disk shall be added to the VG in the future. For this reason all my AIX installation starting with a PP Size of 256 MB. ( The size a JFS logs normaly needs )
The reason why in the older days no larger PP has been used is simply that each LV uses at least ONE PP. So on a 2GB disk with an PP size of 256MB you could have a maximum of 8 LV.
Hajo