AIX - LVM
Commands
Volume Group (VG)
Display VG's PV:
Display VG's LV:
Create VG:
Save VG structure:
Restore VG:
VG resize (After block volume resize):
Import VG from a volume:
Logical Volume (LV)
Display LV map:
Create LV:
mklv -t jfs2 -s y (-c {copy}) -y {lv} {vg} {size} ({hdisk (hdisk)})
# Ex: mklv -t jfs2 -s y -y lv_oracle vg_softwares 50G
Switch LV to spread mode (Write to all disks):
Changing LV's MAX LPs:
Display LV attribute:
Filesystem (FS)
Display Filesystems in order of filling:
Create FS:
crfs -v jfs2 -d {lv} -m {fs} (-a logname=INLINE) -A yes
# Ex: crfs -v jfs2 -d lv_oracle -a logname=INLINE -m /softwares/oracle -A yes
Increase FS size:
Delete FS:
Change FS Options:
Scripts
List distribution of map volumes by LV: