Sponsored Content
Full Discussion: Issue about PP size
Operating Systems AIX Issue about PP size Post 302757065 by MichaelFelt on Thursday 17th of January 2013 04:21:04 AM
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!
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
extendfs_hfs(1M)														  extendfs_hfs(1M)

NAME
extendfs_hfs: extendfs - extend HFS file system size SYNOPSIS
size] special DESCRIPTION
If the original HFS file system image created on special does not make use of all of the available space, the command can be used to increase the capacity of an HFS file system by updating the file system structure to include the extra space. The command-line parameter special specifies the character device special file of either a logical volume or a disk partition. The special must be unmounted before the command can be run (see mount(1M)). Options recognizes the following options: Specify the HFS file system type. Query the size of special. No file system extension will be done. Verbose flag. Specifies the number of blocks to be added to the file system. If the number of blocks is not specified, the maximum possible size is used. EXAMPLES
To increase the capacity of a file system created on a logical volume, enter: WARNINGS
The root file system cannot be extended using the command because the root file system is always mounted, and the command only works on unmounted file systems. will fail if used on a file system, on a logical volume, where the logical block size of the logical volume is greater than the file sys- tem's fragment size. The logical block size, of a logical volume changes, when additional disks with larger sector size are added. RETURN VALUE
returns the following values: 0 No errors were detected and file system was successfully extended. 1 Command aborted. SEE ALSO
extendfs(1M), lvextend(1M), mkfs(1M), mount(1M), umount(1M). extendfs_hfs(1M)
All times are GMT -4. The time now is 01:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy