This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
aix:pv_missing [2022/11/14 09:44] manu |
aix:pv_missing [2022/11/14 10:06] (current) manu |
||
|---|---|---|---|
| Line 61: | Line 61: | ||
| hdisk0 active 511 95 00..00..00..00..95 | hdisk0 active 511 95 00..00..00..00..95 | ||
| hdisk3 active 542 29 51..18..51..51..51 | hdisk3 active 542 29 51..18..51..51..51 | ||
| + | </cli> | ||
| + | |||
| + | Replace dump devices | ||
| + | <cli prompt='#'> | ||
| + | [root@labotest]/root# sysdumpdev -Pp /dev/lg_dumplv -s /dev/lg_dumplv2 | ||
| </cli> | </cli> | ||
| Line 81: | Line 86: | ||
| </cli> | </cli> | ||
| - | sync rootvg: | + | ===== non rootvg ===== |
| - | cfgmgr | + | |
| - | varyonvg rootvg | + | |
| - | sync datavg: | + | Change disk availability |
| + | <cli prompt='#'> | ||
| + | [root@labotest]/root# lsvg -p vgExport | ||
| + | vgExport: | ||
| + | PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION | ||
| + | hdisk1 active 511 95 00..00..00..00..95 | ||
| + | hdisk2 missing 542 29 51..18..51..51..51 | ||
| - | sync vg RG1: | + | [root@labotest]/root# chpv -v a hdisk1 |
| - | chpv -va | + | [root@labotest]/root# varyonvg vgExport |
| - | varyonvg -c RG1vg | + | |
| + | [root@labotest]/root# lsvg -p vgExport | ||
| + | rootvg: | ||
| + | PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION | ||
| + | hdisk1 active 511 95 00..00..00..00..95 | ||
| + | hdisk2 active 542 29 51..18..51..51..51 | ||
| + | </cli> | ||
| + | Now synchronize rootvg | ||
| + | <cli prompt='#'> | ||
| + | [root@labotest]/root# syncvg -v vgExport | ||
| + | </cli> | ||
| - | try: | + | ===== non rootvg in concurrent mode (PowerHA) ===== |
| - | # varyonvg myvg | + | |
| + | Check disks concurrent mode | ||
| + | [root@cl_abotest1]/root# lspv | ||
| + | ... | ||
| + | hdisk5 00fa343ca582d6cd caavg_private active | ||
| + | hdisk6 00fa343ca582ed54 RG1vg concurrent | ||
| + | hdisk7 00fa343ca582ee4b RG1vg concurrent | ||
| + | </cli> | ||
| + | |||
| + | Change disk availability, varyonvg with option **-c** for concurrent VG | ||
| + | <cli prompt='#'> | ||
| + | [root@cl_abotest1]/root# lsvg -p RG1vg | ||
| + | RG1vg: | ||
| + | PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION | ||
| + | hdisk6 active 511 95 00..00..00..00..95 | ||
| + | hdisk7 missing 542 29 51..18..51..51..51 | ||
| + | |||
| + | [root@cl_abotest1]/root# chpv -v a hdisk7 | ||
| + | [root@cl_abotest1]/root# varyonvg -c RG1vg | ||
| + | |||
| + | [root@cl_abotest1]/root# lsvg -p RG1vg | ||
| + | RG1vg: | ||
| + | PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION | ||
| + | hdisk6 active 511 95 00..00..00..00..95 | ||
| + | hdisk7 active 542 29 51..18..51..51..51 | ||
| + | </cli> | ||
| + | |||
| + | Now synchronize RG1vg | ||
| + | <cli prompt='#'> | ||
| + | [root@labotest]/root# syncvg -v RG1vg | ||
| + | </cli> | ||
| - | If one logical volume is used as dumpdevice in the volume group | + | ===== other procedure ===== |
| - | then | + | |
| - | # sysdumdev -l | + | |
| - | # sysdumpdev -Pp /dev/sysdumpnull -s /dev/sysdumpnull | + | |
| - | + | ||
| - | then retry the varyonvg | + | |
| Before editing ODM, which can be very dangerous, you can use low level command to correct the problem: | Before editing ODM, which can be very dangerous, you can use low level command to correct the problem: | ||