AIX LVM Practice: PP Size, chvg -t Factor and VG Limits
Free AIX LVM math practice. Each invented disk or volume group asks one number: the PPs a disk needs, the smallest chvg -t factor, MAX PPs per PV and MAX PVs after it, free space in MB or GB, the PPs of a mirrored LV, or a VG type limit. Check my answer names the slip, such as using 1,024 instead of 1,016 or leaving out the mirror copies.
Every disk and volume group is invented. Disk sizes are whole GB at 1 GB = 1,024 MB, so each divides into whole PPs.
The factor is set on a small (original) volume group here, as in IBM’s examples. Big and scalable volume groups are practised through their limits.
Practise the exam
Start with the free real exam questions, then get the full pack.
AIX LVM math FAQ
The AIX LVM math in short
- PPs a disk needs: disk size in MB ÷ PP size (1 GB = 1,024 MB).
- MAX PPs per PV: 1,016 × the factor set with
chvg -t. - Smallest factor: PPs needed ÷ 1,016, rounded up.
- MAX PVs of a small volume group: 32,512 ÷ MAX PPs per PV, rounded down.
- Free space: FREE PPs × PP size in MB, then ÷ 1,024 for GB.
- Mirrored logical volume: PPs for one copy, rounded up, × the copies.
How many physical partitions does a disk need?
Turn the disk size into MB and divide by the PP size. Every disk in a volume group uses the volume group’s PP size, and a physical partition is the smallest unit of space the LVM allocates. A 1,024 GB disk at a 128 MB PP size needs 1,048,576 ÷ 128 = 8,192 PPs.
What is the 1016 PP limit?
By default the LVM tracks up to 1,016 PPs per physical volume. IBM’s lsvg of a small volume group shows MAX PPs per PV: 1016 and MAX PVs: 32.
How does chvg -t change the limits?
chvg -t n allows n × 1,016 PPs per PV, and it cuts the PVs the volume group can hold, because a small volume group is limited to 32,512 PPs (32 PVs × 1,016). In IBM’s support example, chvg -t 16 vg00 leaves a volume group that can include up to 2 physical volumes with 16,256 PPs each. In the Redbook, factor 4 gives 4,064 PPs per PV and 8 PVs.
How do I find the smallest chvg -t factor?
Divide the PPs the disk needs by 1,016 and round up. A disk that needs 8,192 PPs needs factor 9, because 8 × 1,016 is only 8,128.
What does each factor allow?
The Redbook’s Table 3 for a small volume group, as printed for the factors this drill uses:
- Factor 1: 1,016 per PV, 32 PVs
- Factor 2: 2,032 per PV, 16 PVs
- Factor 3: 3,048 per PV, 10 PVs
- Factor 4: 4,064 per PV, 8 PVs
- Factor 5: 5,080 per PV, 6 PVs
- Factor 6: 6,096 per PV, 5 PVs
- Factor 7: 7,112 per PV, 4 PVs
- Factor 8: 8,128 per PV, 4 PVs
- Factor 9: 9,144 per PV, 3 PVs
- Factor 16: 16,256 per PV, 2 PVs
Why does the drill skip factor 10?
The Redbook’s Table 3 lists factor 10 with 2 PVs, but its own 32,512 PP limit gives 3 (32,512 ÷ 10,160 = 3.2). The two do not agree, so the drill leaves factor 10 out. Factors 11 to 15 are not in the table, so they are left out too.
How do I turn FREE PPs into MB or GB?
Multiply the PPs by the PP size for MB, as lsvg does: IBM’s example shows TOTAL PPs: 639 (40896 megabytes) at a 64 MB PP size. Divide the MB by 1,024 for GB. IBM counts in binary units: in the Redbook, 2 GB is 2,147,483,648 bytes.
How many PPs does a mirrored logical volume use?
Each logical partition maps to one physical partition per copy, and a logical volume can have up to three copies: the original and two more. Work out the PPs for one copy, rounding a part PP up, then multiply by the copies. A 3,000 MB logical volume at a 128 MB PP size with 2 copies uses 24 × 2 = 48 PPs.
What are the limits of small, big and scalable volume groups?
From IBM’s limits table (small and big give one value; scalable gives a default and a max). IBM’s lsvg of a small volume group shows MAX PPs per VG: 32512 (32 × 1,016), the figure the factor math uses, so the drill never asks the small row’s PPs.
- Small: 32 PVs, 256 LVs, 32,768 PPs
- Big: 128 PVs, 512 LVs, 130,048 PPs
- Scalable: 1,024 PVs, 256 LVs (max 4,096), 32,768 PPs (max 2,097,152)
Does the factor work on big and scalable volume groups?
IBM’s pages saved for this tool show the factor only on a small volume group: chvg -t 16 vg00 on the support page and the Redbook’s 32 disk table. So the drill sets the factor on small volume groups only, and asks big and scalable volume groups about the limits in IBM’s table.
How do I tell which volume group type I have?
Compare the MAX values lsvg shows with IBM’s table. A factor change lowers MAX PVs, but only a small volume group has the default MAX LVs of 256 and MAX PPs of 32512, so the type still shows.
Sources
- IBM Support: AIX LVM: Determining VG Type (SVG/Small/Big) (modified 4 February 2020, all AIX versions): the limits table for small, big and scalable volume groups, lsvg of a small volume group (MAX PPs per PV 1016, MAX PVs 32, MAX PPs per VG 32512, 639 PPs = 40896 MB at 64 MB), and chvg -t 16 vg00 giving 2 PVs with 16,256 PPs each.
- IBM Redbook SG24-5432-00: AIX Logical Volume Manager, from A to Z: Introduction and Concepts (First Edition, December 1999, written for AIX 4.3): the 1,016 PP default, chvg -t and the 32,512 PP limit with Table 3, the PP as the smallest unit allocated, mirror copies, lsvg and lspv MB figures, and 2 GB = 2,147,483,648 bytes. It is used only for rules the support page bears out (1,016 PPs per PV, the factor cutting MAX PVs, 32,512 PPs per small volume group) and for units, PPs and copies.
- Checked 20 November 2026. The tool's own approach: every disk and volume group is invented; disk sizes are whole GB so they divide into whole PPs; the factor is set on small volume groups only and never to 10 or 11 to 15; anything the pages do not state is left out. The drill reproduces IBM’s worked examples, and an independent re-solver agreed with it on 33,000 generated problems.
Checked 20 November 2026 against IBM Support’s AIX LVM volume group type page and the IBM Redbook AIX Logical Volume Manager, from A to Z.
- DrillvSphere shares and reservations practiceWork out what each VM gets from shares, reservations, limits and resource pools on new hosts.
- DrillServiceNow ACL practiceDecide if a read or write is granted and tap the ACL that decides it.
- DrillSalesforce record access practiceTap the access a user gets from OWD, roles, sharing rules, teams and View All.