Este procedimiento se puede usar para reemplazar o migrar por un disco igual, o mayor para ampliar el VG.
Recargar confirg manager para detectar disco.
#cfgmgr
Validar hdisk esté listado
#lspv
Extender vgroot
#extendvg rootvg hdisk4
Si en el anterior paso hay error:
Warning, The Physical Partition Size of 32 requires the
creation of 1600 partitions for hdisk2
Se debe ampliar los PPs del PV: a 2000 con:
#chvg -t 2 rootvg
Iniciar el mirroring
#mirrorvg -S rootvg hdisk4
La opción -S regresa el prompt y se encarga de sincronizar el mirror en background.
Recrear l particion de arranque hd5 en ambos discos.
#bosboot -ad hdisk0
#bosboot -ad hdisk4
Valide cuando la sincronizacion haya terminado el parametro STALE PPs esté en 0 con
#lsvg vgroot
Desvincule o rompa el espejo
#unmirrorvg rootvg hdisk0
Recrear boot
#bosboot -ad hdisk4
Modificar el orden del disco al boot
#bootlist -m normal hdisk4
Validar no haya Lv aun en el disco viejo
#lspv -l hdisk0
hdisk0:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lg_dumplv 16 16 00..16..00..00..00 N/A
Si es así migrarlas
#migratepv hdisk0 hdisk4
Reducir vg
#reducevg rootvg hdisk0
Remover disco de la configuración del sistema.
#rmdev -dl hdisk0