Issue about PP size


 
Thread Tools Search this Thread
Operating Systems AIX Issue about PP size
# 1  
Old 01-17-2013
Issue about PP size

Hello everyone,

I have many VGs on my system. I have created them whith the same command. I haven't specified the PP size while creating them. Logically, the PP size should be the same (default value) in all the VGs. However, I have different PP size : 32 MB, 256 MB, 64 MB and 128 MB.

Can anyone explain why I haven't the same PP size ? what's the PP size default value ?

What's the utility of having small PP size rather than big PP size ?

Thank you
# 2  
Old 01-17-2013
The differences in PP - Physical Partition - sizes is caused by a number of defaults or constants re: the meta data for managing the volumes (aka disks) in a volume group.

The default size for a PP is actually 4M - dating back to when disks were smaller than 4G - because the default number of PP per volume has remained the same - 1016.

When disks were 4G and smaller the VGDA (Volume Group Descriptor Area) was 32M Byte large (or 8 x 4M, so a volume was 32M for VGDA (i.e. 8PP) with upto 1016 (1024 - 8) PP for volume group data.

The VGDA is an important structure - there are three kinds or sizes: normal, big and scaled. Normal is the original and it has space for 32 volumes of 1016 PP each, the big for 128 volumes of 1016 PP each, and the scaled originally began as 1024 disks of 1016 PP each, but now it is meant to scale/grow the max number of PP as the volume grows. But still the original factor of PP per disk is 1016.

Early on (with 4.5 and 9.1 G disks) AIX made changes to affect the number of PP per disk, e.g., so the PP size could be held constant even though disk sizes changed - however, the total number of PP per volume group (a VGDA constant) was fixed. The effect is that changing the number of PP per disk (the -t option of mkvg) means fewer disks can be included in a volume group (normal, and big are fixed at 32 and 128 by defaults).

So, basically, to keep a constant PP size over multiple disk sizes you need to divide the disk size by that PP size to see how many PP that will need, divide that number by 1016, round that number up to the next whole number (i.e., 2033 will need a factor of 3, or 3048 PP (-t 2 if I recall correctly) per volume while 2031 or 2032 will work with a factor of -t 1

Code:
-t 0 - default 1016
-t 1 - 2032 
-t 2 - 3048 
-t 3 - 4064
-t 4 - 5080
etc

Note: adding a disk larger than the original will mean it will not be fully utilized, however, you may change the scaling to a higher number dynamically (say you have been using 75G as a default, and want to add 150G disk/LUN. With no change, only 75G of the disk would be used. Change the scaling: the max number of disks declines, but the 150G disk can be fully utilized.

IMPOORTANT: you cannot change the PP size once a volume group is created. To change the PP size you must backup/restore to a new volume group.

Hope this helps!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Filesystem reduction size issue

Hi, Need help with following case. I am trying to shring filesystem size and reduce few luns from volume group. Situation looks like that : # lsvg -l data1vg data1vg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT data1 jfs2 3200 3200 ... (5 Replies)
Discussion started by: borek
5 Replies

2. UNIX for Dummies Questions & Answers

Ls directory size reporting byte size instead of file count

I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms. Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Discussion started by: jmgibby
2 Replies

3. UNIX for Advanced & Expert Users

Physical disk IO size smaller than fragment block filesystem size ?

Hello, in one default UFS filesystem we have 8K block size (bsize) and 1K fragmentsize (fsize). At this scenary I thought all "FileSytem IO" will be 8K (or greater) but never smaller than the fragment size (1K). If a UFS fragment/blocksize is allwasy several ADJACENTS sectors on disk (in a ... (4 Replies)
Discussion started by: rarino2
4 Replies

4. AIX

Issue with increasing size of SAN disks on AIX

HI, I have had an issue last night while trying to extend a filesystsem . chvg -g <vg> command cameback with an error 0516-1790 chvg: Failed bootinfo -s hdisk9. Ensure the physical volume is available and try again. 0516-732 chvg: Unable to change volume group u01vg. the VG has 1... (1 Reply)
Discussion started by: xmen01
1 Replies

5. HP-UX

Performance issue with 'grep' command for huge file size

I have 2 files; one file (say, details.txt) contains the details of employees and another file (say, emp.txt) has some selected employee names. I am extracting employee details from details.txt by using emp.txt and the corresponding code is: while read line do emp_name=`echo $line` grep -e... (7 Replies)
Discussion started by: arb_1984
7 Replies

6. Shell Programming and Scripting

The scripts not able to make the file to size 0, every times it go back to its original size

#!/bin/sh ########################################################################################################## #This script is being used for AOK application for cleaning up the .out files and zip it under logs directory. # IBM # Created #For pdocap201/pdoca202 .out files for AOK #1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies

7. IP Networking

Issue File Extension is file Size

I am currently experiencing the file size being added to the file extension when transfering information from Command Line Client to a UNIX server. Does anyone know why this is happening and how do I stop the file size being added to the file extension. Example: football.pqt.11108... (1 Reply)
Discussion started by: Skeeterrock
1 Replies

8. Solaris

File size issue in Sol 5.9

Hi Gurus, An Application is not able to create files above 2.14gb in size in my Sol5.9 server. I have checked the file limit of the user running the Application and am attaching the same: boiadm: ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) ... (4 Replies)
Discussion started by: Hari_Ganesh
4 Replies

9. Solaris

command to find out total size of a specific file size (spread over the server)

hi all, in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders... please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies

10. Red Hat

Linux / tape Block size issue

Can anyone tell me how to read and change the tape block size attached to a ultrium 2 (Faststor-2 tapedrive). I am using Redhat Linux AS 3.0 Update 7. :cool: I had a problem doing a recover with our backup software which is AS 3.0 Update 7. The message I received was: Failed to read 65536... (1 Reply)
Discussion started by: rcarpent
1 Replies
Login or Register to Ask a Question