"ERROR V-5-1-4703 Problem running vxassist command for volume" reported when using vxresize command for Veritas Volume Manager (VxVM)
Problem
When adding new disk(s) to a Veritas Volume Manager (VxVM) diskgroup with an intent to resize a volume, the "vxresize" command fails.
Error Message
# VxVM vxedit ERROR V-5-1-926 Record xxxx not in disk group configuration
VxVM vxresize ERROR V-5-1-4703 Problem running vxassist command for volume <volume_name>, in diskgroup <diskgroup_name>
Cause
The issues occurs if the volume selected for resizing is a snapshot volume with DRL attached and does not have the "sitetags" attribute specified for it.
Solution
For this example, we plan to expand a volume "testvol" by 40g, that is a part of diskgroup "testDg"
If the volume is a part of Veritas Cluster Server (VCS), freeze the cluster and run below commands to perform a successful resize operation.
1) /usr/sbin/vxconfigd -k -m enable
2) vxsnap -f -g testDg unprepare testvol
(This will unprepare the snapshot and force delete the DRL log from the volume)
3) Now resize the volume
vxresize -b -g testDg testvol +40g