AIX LUN increase in 7 easy steps :)
1. Check rootvg disks:
# lsvg -p rootvg2. Check bootlist:
# bootlist -m normal -o3. For each disk do the following steps:
X and Y has to be replaced by correct numbers (for hdisk and dumplv)
a. Check LVs from one of the disks:
# lspv -l hdiskXb. Unmirror the disk:
# unmirrorvg -c 1 rootvg hdiskXc. Check remaining LVs on the disk:
# lspv -l hdiskX - only dump LV should remain on the PV
- if there are onther LV's move them to the other disk:
# migratepv -l LVNAME hdiskX hdiskYd. Deactivate the dumplv from this disk:
- view the current configuarion:
# sysdumpdev -l- in case of primary dumplv is on this disk:
# sysdumpdev -P -p /dev/sysdumpnull- in case of secondary dumplv is on this disk:
# sysdumpdev -P -s /dev/sysdumpnulle. Remove the dumplv:
# rmlv lvdumpXf. Remove hdisk from rootvg:
# reducevg rootvg hdiskXg. Check disk size:
# bootinfo -s hdiskXh. Integrate the disk back rootvg:
# extendvg rootvg hdiskXi. Mirror rootvg (the syncking will be done in the background):
# mirrorvg -S -c 2 -m rootvg hdiskXj. Verify that all LV's are synked:
# lsvg -l rootvg - this operation could take a long time
- repeat this checking untill all LV's are open/syncd
- to force the sync of an LV you can use:
# syncvg -l lvnamek. Recreate the dump LV:
# mklv -t sysdump -u 1 -y lvdumpX rootvg 12 hdiskX- size can be different depending on the estiomation:
# sysdumpdev -el. Enable dumplv:
# sysdumpdev -l- in case of primary dumplv is on this disk:
# sysdumpdev -P -p /dev/dumplvX- in case of secondary dumplv is on this disk:
# sysdumpdev -P -s /dev/dumplvXm. Check that rootvg is fully mirrored ansd syncked:
# lsvg -l rootvg4. Repeat steps 3 for the other disk
5. Correct bootlist like it was before:
# bootlist -m normal hdiskX hdiskY6. Verify bootlist:
# bootlist -m normal -o7. Rebuild bosboot to be sure:
# bosboot -a- Log in to post comments
- 21581 views