LVM

AIX LVM

Parameters for creating and modifying logical volumes

Work in progress...

Differences in LVM parameters between current AIX versions

Only VG/LV commands are covered here.

mkvg

7.1

[-O {y/n}]

6.1/7.1

[-M {y/s}] [-X {none/SSD}]

5.3

[-B] [-G] [-f] [-C | -c] [-i] [-s PPsize]
[-n] [-t factor] [-V MajorNumber] [-L LTGsize] [-I]
[-S [-v LogicalVolumes] [-P Partitions]] [-y VGname] PVname...

chvg

7.1

[-O {y/n}]

6.1/7.1

[-M {y/s}] [-X {none/SSD}]

5.3

[-a Auto on] [-Q quorum] [-u] [-C | -c | -l] [-x] [-t [factor]]
[ -B | -G ] [-S | -R] [-L LTGsize] [-P maxpps per vg ] [-v maxlvs]
[-h hotspare] [-s sync] [-g] [-b BadBlocks] [-I] VGname...

mklv

7.1

[-O InfiniteRetry]

6.1/7.1

[-f] [-w MWC] [-G groupid] [-P modes] [-U userid] [-p copyN=MirrorPool]

5.3

[-a IntraPolicy] [-b BadBlocks] [-c Copies]
[-d Schedule] [-e InterPolicy] [-i] [-L Label] [-m MapFile]
[-r Relocate] [-s Strict][-t Type] [-u UpperBound]
[-v Verify] [-x MaxLPs] [-y LVname] [-S StripeSize] [-Y Prefix]
[-o Overlapping IO] [-C StripeWidth] [-T IOoption] VGname NumberOfLPs [PVname...]

chlv

7.1

[-O InfiniteRetry]

6.1/7.1

[-m copyN=MirrorPool] [-M] 

5.3

-n NewLVname LVname
[-a IntraPolicy] [-e InterPolicy] [-L Label] [-u UpperBound]
[-s Strict] [-b BadBlocks] [-d Schedule] [-p Permission]
[-r Relocate] [-t Type] [-v Verify] [-x MaxLPs] [-T { O | F }]
[-o Overlapping IO] [-U Userid] [-G Groupid] [-P Modes]
[-w MirrorWriteConsistency] LVname...

AIX and LVM2 cross-reference

Parentheses mean there is no dedicated command for the given operation in the respective LVM implementation.

LVM2 specific commands

pvck

vgck

pvcreate, pvremove - AIX determines VG membership/PV status based on metadata areas on the disks and/or in ODM

vgmerge, vgsplit - there is no equivalent of these operations under AIX, you just do reducevg/mkvg -f

vgconvert

vgcfgbackup, vgcfgrestore - AIX LVM doesn't contain metadata backup tools, but you can dump the VGDA with readvgda or dd

vgmknodes

AIX LVM specific commands

cfgmgr, rmdev - AIX uses static device nodes and runs hardware detection either during boot or via cfgmgr

mkps, chps, lsps, rmps - paging space LV management special commands

low-level commands (readvgda, lquery*, getlvcb...).