AIX:/ > lsvg -p rootvg
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 383 88 11..00..00..00..77
hdisk1 missing 383 88 00..00..00..27..77
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 383 88 11..00..00..00..77
hdisk1 missing 383 88 00..00..00..27..77
AIX:/ > lsdev|grep hdisk1
hdisk1 Available Virtual SCSI Disk Drive
hdisk1 Available Virtual SCSI Disk Drive
AIX:/ >
El mirror quedó desincronizado, y si se intenta sincronizar sale error:
AIX:/ >varyonvg rootvg
0516-1747 varyonvg: Cannot varyon volume group with an active dump device on
a missing physical volume. Use sysdumpdev to temporarily replace the
dump device with /dev/sysdumpnull and try again.
a missing physical volume. Use sysdumpdev to temporarily replace the
dump device with /dev/sysdumpnull and try again.
AIX:/ >
El procedimiento que hay que hacer es modificar temporalmente el sysdump para que deje sincronizar:
AIX:/ > sysdumpdev -l
primary /dev/lg_dumplv
secondary /dev/sysdumpnull
copy directory /dump
forced copy flag FALSE
always allow dump FALSE
dump compression ON
AIX:/ > sysdumpdev -p /dev/sysdumpnull
primary /dev/sysdumpnull
secondary /dev/sysdumpnull
copy directory /dump
forced copy flag FALSE
always allow dump FALSE
dump compression ON
primary /dev/lg_dumplv
secondary /dev/sysdumpnull
copy directory /dump
forced copy flag FALSE
always allow dump FALSE
dump compression ON
AIX:/ > sysdumpdev -p /dev/sysdumpnull
primary /dev/sysdumpnull
secondary /dev/sysdumpnull
copy directory /dump
forced copy flag FALSE
always allow dump FALSE
dump compression ON
AIX:/ >
Ahora sincroniza sin problemas:
AIX:/ > varyonvg rootvg
AIX:/ >
Por último se vuelve a habilitar el sysdump y se verifica que el mirror esté ok:
AIX:/ > sysdumpdev -p /dev/lg_dumplv
primary /dev/lg_dumplv
secondary /dev/sysdumpnull
copy directory /dump
forced copy flag FALSE
always allow dump FALSE
dump compression ON
AIX:/ > lsvg -p rootvg
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 383 88 11..00..00..00..77
hdisk1 active 383 88 00..00..00..27..77
AIX:/ >