Monday, July 18, 2016

Vxresize fails with error message "Subdisk data_emcd1-02 would overlap subdisk data_emcd1-01"


bash-2.05# /etc/vx/bin/vxresize -g datadg health +49g
VxVM vxassist ERROR V-5-1-10127 creating subdisk data_emcd1-02:
        Subdisk data_emcd1-02 would overlap subdisk data_emcd1-01
VxVM vxresize ERROR V-5-1-4703 Problem running vxassist command for volume health, in diskgroup datadg
bash-2.05#

"vxprint -thrg datadg" would not show the new disk "c2t2d1" that was added to that disk group.

# vxprint -thrg datadg | grep health-01
sd data_emcd1-01 health-01  data_emcd1 0      209704704 0        c2t0d0   ENA


Solution:

Cleared issue with vxconfigd daemon by issuing command "vxconfigd –k –x cleartempdir" and extended volume.

Removed and recreated this directory online without affecting normal operation of server using command "vxconfigd –k –x cleartempdir"
# vxconfigd –k –x cleartempdir
# vxprint -thrg datadg | grep health-01
sd data_emcd1-01 health-01  data_emcd1 0      209704704 0        c2t0d0   ENA
sd data_emcd2-02 health-01  data_emcd2 0      102760448 209704704 c2t2d1  ENA

# /etc/vx/bin/vxresize -g datadg ehealth +49g
# df -h /opt/health
Filesystem             size   used  avail capacity  Mounted on
/dev/vx/dsk/datadg/health
                       149G    62G    86G    42%    /opt/health

1 comment: