How to create a filesystem with the correct computation of PP

Hi everyone, im having a problem with the computation of the PP size for creating a filesystem.

for example my requirement is to create a new filesystem with 10gig of system on aix 5.1 and aix 5.3 system.

here's the result when i run lsvg vgSAN-sparkle

could any provide me an exact computation of PP size for the creation of 10gig filesystem based on the result below.

maybe a working complete example is also appreciated thank you.

VOLUME GROUP:   vgSAN-sparkle           VG IDENTIFIER:  0024566a00004c0000000110319d5a7a
VG STATE:       active                   PP SIZE:        128 megabyte(s)
VG PERMISSION:  read/write               TOTAL PPs:      268 (34304 megabytes)
MAX LVs:        512                      FREE PPs:       159 (20352 megabytes)
LVs:            4                        USED PPs:       109 (13952 megabytes)
OPEN LVs:       4                        QUORUM:         3
TOTAL PVs:      4                        VG DESCRIPTORS: 4
STALE PVs:      0                        STALE PPs:      0
ACTIVE PVs:     4                        AUTO ON:        yes
MAX PPs per PV: 1016                     MAX PVs:        128
LTG size:       128 kilobyte(s)          AUTO SYNC:      no

I do not really understand your question but as your pp size is 128 MB you will need 80 pps for a 10 gb filesystem - but why do you worry in first instance - create it with 1 pp size and than do a simple chfs -a size=10G ?

Regards
zxmaus

hi zxmaus can you give me an example please. thanks

zxmaus is saying to create your filesystem, like /mount, with just 1 PP. Then run this command to change the size to 10G. Then you don't have to worry about counting PPs and figuring out how many PPs you need to get 10G of space:

chfs -a size=10G /mount